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 » CExtControlBar question Collapse All
Subject Author Date
tera tera Nov 24, 2010 - 9:15 PM

Hello.





I want to increase size of caption of all CExtControlBar.

Please teach a command.

Technical Support Nov 26, 2010 - 7:06 AM

You can override the CExtControlBar::_GripperHeightAtTopGet() virtual method or simply assign the CExtControlBar::m_nGripHeightAtTop property.

tera tera Dec 24, 2010 - 9:31 PM

Hello.


I want to increase size of caption of all CDocBar.

Please teach a command.


Technical Support Jan 3, 2011 - 11:56 AM

There are two ways to change the caption height of a floating mini frame window.

1) Override the CExtPaintManager::Bar_MiniDockFrameGetNcMetrics() virtual method in your paint manager class. This solution is good only if your app uses one UI theme.

2) Override the CExtMiniDockFrameWnd::OnQueryNcMetrics() virtual method in your CExtMiniDockFrameWnd-derived class. To make Prof-UIS and MFC using your CExtMiniDockFrameWnd-derived class for floating windows, you should change the CFrameWnd::m_pFloatingFrameClass before creating any control bars.