PaulBarter
MIS
I've developed a program that uses the mouse wheel by utilising calls to SetPropa etc. to hook messages in VB6 (there may be a better way, but it works).
Unfortunately this makes debugging impossible a lot of the time, so I use conditional compile statements to turn this off while developing, and then turn it back on when I make the exe. (I can manage without the scrolling while developing).
I was just wondering if there was any way using #If ... #EndIF to tell the difference between whether I'm using the Run option or the Make option? It would save me having to remember to change my #Const
Unfortunately this makes debugging impossible a lot of the time, so I use conditional compile statements to turn this off while developing, and then turn it back on when I make the exe. (I can manage without the scrolling while developing).
I was just wondering if there was any way using #If ... #EndIF to tell the difference between whether I'm using the Run option or the Make option? It would save me having to remember to change my #Const