Hello,

I have a Win32-GUI app with a scrollable window area, and it uses the
"-onScroll => \&scrollfn" model to handle manipulation of the scrollbar
(and other normal messages).  It's working well, such as it is.

Now I'd like to add handling for the WM_MOUSEWHEEL message so I can scroll
on mouse wheel events.  However, I don't see any "-onMouseWheel" or
similar event parameter in the supported events.

So it occurs to me, then, that I'd like to specify a handler specifically
for that message ID.  Not just for this message, but also in case I'd like
to handle WM_USER1 or something random in the future.

But it's not clear to me how to specify what given function should be
called when receiving an arbitrary specific windows message ID, nor what
the formal parameters of that function should be when it is called.

Does anyone know how to process arbitrary window messages?  Any help
appreciated.

Thanks,
E. Westbrook

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to