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 Tech Support » how to know when a tabbed control bar is selected? Collapse All
Subject Author Date
Chun Pong Lau Oct 1, 2008 - 11:50 PM

Dear sirs,


How do I know when a tabbed control bar (CExtDynTabControlBar) is pressed and selected?


Which event should I override to get this?


Thanks a lot.


Regards,


Chun Pong

Technical Support Oct 3, 2008 - 9:13 AM

You should handle the WM_WINDOWPOSCHANGED message in your CExtControlBar-derived class to catch any position change of the control bar. Here is how to determine whether the bar is selected in a tabbed bar group:

http://www.prof-uis.com/prof-uis/tech-support/general-forum/cextcontrolbar-focus-1295.aspx#61785

Chun Pong Lau Oct 4, 2008 - 11:47 AM

Thanks a lot. It works