#PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PHP
User
User
Posts: 65
Joined: Sat Sep 10, 2005 5:38 pm

#PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL

Post by PHP »

Hi,

what about #PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL?

Thanks,
PHP
User avatar
Arctic Fox
Enthusiast
Enthusiast
Posts: 609
Joined: Sun Dec 21, 2008 5:02 pm
Location: Aarhus, Denmark

Re: #PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL

Post by Arctic Fox »

See #PB_EventType_MouseWheel for the CanvasGadget :wink:
(besides, #WM_MOUSEWHEEL is a Windows API constant - I don't think it should be removed or replaced)
PHP
User
User
Posts: 65
Joined: Sat Sep 10, 2005 5:38 pm

Re: #PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL

Post by PHP »

Yes but it doesn't work with ScrollAreaGadget() for example...
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: #PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL

Post by MachineCode »

PHP wrote:what about #PB_Mouse_MouseWheel instead of #WM_MOUSEWHEEL?
What's so hard about:

Code: Select all

#PB_Mouse_MouseWheel = #WM_MOUSEWHEEL
at the start of your code :?:
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Post Reply