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 » Close event in CExtDvnTabControlBar or CExtControlBar Collapse All
Subject Author Date
Michael chang Mar 4, 2009 - 7:16 PM

Hi.


CExtDvnTabControlBar or CExtControlBar have two buttons. one is auto hide button and another is a close button("x")


Can i get(catch) the event when i click the close button("x") in the CExtDvnTabControlBar or CExtControlBar.


thanks.


 


 

Technical Support Mar 5, 2009 - 8:01 AM

The CExtControlBar::NcButtons_HandleClick virtual method allows you to catch this event. In case of "X" button, the pNcAreaButton parameter is the instance of the CExtBarNcAreaButtonClose class. Please note, the CExtControlBar::NcButtons_HandleClick virtual method is invoked both for standalone docked/floating bars and for each bar in the tabbed group whose "X" button is clicked.