Professional UI Solutions
Site Map   /  Register


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 » Is there an event sent to a control-bar when it shown/hidden? Collapse All
Subject Author Date
Offer Har Jan 3, 2009 - 4:26 PM

Dear Support,

We have a plug-in merchanism when the Main-Frame of appliction decides which control-bar to use, and show/hide via its menus, using this funcrion:

BOOL CMainFrame::OnBarCheck(UINT nID)
    return CExtControlBar::DoFrameBarCheckCmd(this, GetSmallID(nID), true);

We would like to know if there is any event sent to the control-bar when it shown/hidden, as we would like to do some code to be done when the control is shown, and another when it is hidden in the control-bar itself, which have no knowledge of the Main-Frame class.