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 change the height of CExtStatusControlBar? Collapse All
Subject Author Date
delu qiu Sep 19, 2006 - 1:08 PM

Hi,

How can I change the height of CExtStatusControlBar, and how can I add an icon with two statuses into the CExtStatusControlBar?

Thanks a lot.

Technical Support Sep 20, 2006 - 7:23 AM

You can change the height of the status bar using the CStatusBarCtrl::SetMinHeight() method:

CStatusBar & wndStatusBar = . . .
    wndStatusBar.GetStatusBarCtrl.SetMinHeight( 50 ); // sets the height of 50 pixels
The CStatusBarCtrl::SetIcon() method allows you to assign an icon handle to the specified status pane.