Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Subject:
Message icon:

shortcuts: hit alt+s to submit/post or alt+p to preview

Please read the rules before you post!


Topic Summary

Posted by: Steve Walmsley
« on: January 08, 2010, 04:19:49 PM »

Quote from: "Erik Luken"
It's been a while since I used VB6, but the code on this link seems to accomplish using the mousewheel.
http://www.adit.co.uk/html/mousewheelsupport.html
I tried that exact page before I went for the double-click option. I assume I was doing something wrong but it kept crashing the program and I couldn't figure out why.

Steve
Posted by: Erik L
« on: January 07, 2010, 02:30:16 PM »

It's been a while since I used VB6, but the code on this link seems to accomplish using the mousewheel.
http://www.adit.co.uk/html/mousewheelsupport.html
Posted by: waresky
« on: January 07, 2010, 08:51:31 AM »

Welcome!
Nice shorteasylife way:)
Posted by: Steve Walmsley
« on: January 07, 2010, 04:59:23 AM »

Someone mentioned somewhere about using the mouse wheel to zoom the system map. Unfortunately VB6 doesn't support the mouse wheel event. Problems of an archaic language :). I have looked at sub-classing and intercepting the windows message queue but haven't got it work so far. Instead, I have added some code to v4.8 so that double left click will zoom in and double right-click will zoom out. You can already centre the map by clicking on a system body or fleet in v4.77. In v4.8 you will be able to centre on empty space using shift-double-click (this won't zoom).

Steve