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 » Drawitem( ) is not getting called for any change in the status bar Collapse All
Subject Author Date
howard liu Aug 23, 2008 - 1:13 AM


I have colored an user interface in my application. The Drawitem( ) is not getting called in a status bar whenever there are any changes. How to overcome this situation





Technical Support Aug 25, 2008 - 6:55 AM

The CExtStatusControlBar window in Prof-UIS is based on the standard status bar common control. But our status bar is completely re-painted from scratch. Please override the virtual methods of the CExtStatusControlBar class if you want to re-paint its parts:

- CExtStatusControlBar::OnPaintEntireBackground() - paints the entire background of the status bar
- CExtStatusControlBar::OnErasePaneBackground()- paints the background of a status pane
- CExtStatusControlBar::OnPaintPane()- paint the foreground of a status pane
- CExtStatusControlBar::OnPaintSeparator()- paint a separator between panes