Bay Six Software Forum Index Bay Six Software
Beyond the Basics
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mouse Wheel

 
Post new topic   Reply to topic    Bay Six Software Forum Index -> WMLiberty DLL
View previous topic :: View next topic  
Author Message
JosephE
Junior Member


Joined: 01 Nov 2007
Posts: 21

PostPosted: Feb 22nd, 2011, 12:48am    Post subject: Mouse Wheel Reply with quote

I love making graphics applications in LB.

However, LB doesn't trap the average modern mouse's WM_MOUSEWHEEL message when I have a graphicbox with scrollbars, so it's inconvenient for the user to scroll like they would typically expect. So I'm wondering if this is something I could do with wmliberty? I don't really have much experience with it. I'm not exactly sure how I could trap the WM_MOUSEWHEEL message, and what exactly does the WM_MOUSEWHEEL message return to me?

Any tips in the right direction would be great. Also, is there a limit to how many messages I can trap with wmliberty? Can I have a different callback function for each message I trap?

I've been looking at these pages [if it's of any help]:

http://msdn.microsoft.com/en-us/library/ms645601
http://msdn.microsoft.com/en-us/library/ms645617

Thanks!

Joseph
Back to top
View user's profile Send private message
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Feb 23rd, 2011, 1:16am    Post subject: Re: Mouse Wheel Reply with quote

Hi Joseph,

Sorry for the slow response. Did you already check out the demo at Responding to the mouse scroll wheel?

As for multiple messages, you can do that about any way you want. However, it has been the experience of many that the more you add the less stable LB gets.

_________________
Brent
Back to top
View user's profile Send private message Send e-mail
JosephE
Junior Member


Joined: 01 Nov 2007
Posts: 21

PostPosted: Feb 23rd, 2011, 4:07am    Post subject: Re: Mouse Wheel Reply with quote

Wow. Awesome. Didn't see that.

All my questions are answered. =D I can't believe you have all this just lying around lol.

I will certainly take advantage of that. After looking through those demos, I'm particularly impressed with the multi colored listbox as well.

Thanks,

Joseph
Back to top
View user's profile Send private message
STPendl
Full Member


Joined: 20 Aug 2007
Posts: 161
Location: Austria

PostPosted: Feb 23rd, 2011, 9:33am    Post subject: Re: Mouse Wheel Reply with quote

There seems to be a problem with the search feature of this forum, since searching for wm_mousewheel returns no hits, only searching for mouse wheel returns the demo.
_________________
Stefan

Any code I post can be freely used, just give credit.
Back to top
View user's profile Send private message
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Feb 24th, 2011, 2:33am    Post subject: Re: Mouse Wheel Reply with quote

I also found this problem with the search. I tested this on other sites that use the same software. Apparently it is a bug I introduced when tweaking the code many years ago. I'll investigate and try to fix it soon.
_________________
Brent
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Bay Six Software Forum Index -> WMLiberty DLL All times are GMT
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Lo-Fi Version
Powered by phpBB © 2001, 2005 phpBB Group