المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Mouse rotating knob message



C++ Programming
06-17-2009, 03:00 PM
I am using Microsoft Visual Studio 6.00.

I derive a class from CScrollView. I have a scrollbar at view. After moving scrollbar I am take care of SB_LINEDOWN, SB_LINEUP, SB_PAGEDOWN, SB_PAGEUP messages. But when I rotate my mouse knob then scrollbar also gets moved.

My problem is I don't want to move scrollbar though I am rotating mouse knob.

Which message is passed when we rotate mouse knob?





Thanks in advance
Nikesh