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 General Discussion » Icon in statusbar. How? Collapse All
Subject Author Date
Kjetil Salomonsen Oct 31, 2006 - 3:09 AM

Before I installed Prof-UIS I used this: http://www.codeguru.com/cpp/controls/statusbar/article.php/c2985/

But this will not paint the background corresponding to paintmanager.

What is the easiest way to implement icon in the statusbar with Prof-UIS ?

Technical Support Oct 31, 2006 - 11:11 AM

To assign an icon to the status bar pane, you can use the following code:

CStatusBar::GetStatusBarCtrl().SetIcon(
    the_index_of_the_pane,
    the_HICON_handle_or_NULL_to_remove
);
This code works with the latest version available on our site.