Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtBarSliderButton Collapse All
Subject Author Date
liu shu Sep 14, 2005 - 9:14 AM

Hello!



In your samples there is the class CExtBarSliderButton which can be INSERTED into/WRAPPED by CExtToolControlBar.Unlike the CSliderCtrl in traditional MFC which sends notification MESSAGE such as WM_HSCROLL,WS_VSCROLL, I cannot receive any MESSAGE by CExtBarSliderButton. I wander which MESSAGE it sends if there is any? Thank you!!!

Technical Support Sep 14, 2005 - 10:37 AM

You need to use a CExtBarSliderButton-derived class and override the ScrollPosSet virtual method which is called when the scroll position is changed. Please take a look at the AviFrames sample in which you can find two classes CSeekBarSliderButton and CZoomBarSliderButton, which represent scroll and slider buttons.