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 » CExtDynControlBar question Collapse All
Subject Author Date
tera tera Apr 28, 2010 - 4:59 AM


I want to make original MyDynControlBar.

Does not the virtual function for generation exist?


Technical Support May 12, 2010 - 9:59 AM

We are sorry for the delay with this reply. The requested notification is already implemented in Prof-UIS. Please override the following virtual method to catch it:

bool CExtControlBar::NcButtons_HandleClick(
            CExtBarNcAreaButton * pNcAreaButton,
            CPoint point,
            CExtControlBar * pBarEventSource,
            CExtControlBar * pBarActiveInContainer

The pNcAreaButton parameter is the object of the CExtBarNcAreaButtonClose type when the floating mini frame’s X button is clicked. The CExtControlBar::NcButtons_HandleClick() virtual method is invoked for all the control bars in the floating palette. If your method returns true, then the rest of bars will not be notified with this method invocation.

Technical Support Apr 28, 2010 - 10:01 AM

The resizable control bar consist of the caption and borders. The rest client area of the bar is always completely covered by its single child window. Please take a look at the TabbedBars sample application. It demonstrates bars with custom captions and borders provided by the CMainFrame::OnMsgUseCustomNcArea() handler method for the CExtControlBar::g_nMsgCustomNcAreaQuery registered message. This message allows you to recompute and/or repaint the bar borders and/or caption.

tera tera May 6, 2010 - 1:23 AM


I want to perform control when a closing button of DynBar was pushed.

Please build a virtual message making original CMyDynControlBar.

tera tera May 6, 2010 - 6:11 PM

Please answer it

I am troubled.

Technical Support May 11, 2010 - 12:51 PM

We just want to notify you that:

1) Your message is a feature request.

2) We are working on it.