Skip to main content
Email Password   helpLost your password?

Sample Image - statuspanes.gif

Introduction

The article introduces an enhanced version of the standard MFC status bar control. The new class should enable you to easily add/remove panes to/from the application's status bar, on-the-fly. The status bar's panes may contain almost any control you need: buttons, edits, animations, progress bars, and etc.

The class is partially based on the status bar presented in the freeware version of the Prof-UIS library available here.

How to use it

The CExtStatusControlBar class is simple to use. To add it to your project, please follow the steps below:

  1. Put its source files (CExtStatusControlBar.cpp and CExtStatusControlBar.h) into the proper folder and add their file names to your Visual Studio project.
  2. Include its header to the appropriate header file. If you plan to use CExtStatusControlBar in several places of your application, it's reasonable to add it to your stdafx.h file.
    #include "CExtStatusControlBar.h"
  3. If you used CStatusBar, you should replace it with CExtStatusControlBar everywhere in the project.
    CExtStatusControlBar  m_wndStatusBar;

Sample

The StatusPanes sample project shows how to use the class in practice (including how to place controls into the control bar's panes).

List of methods

Copyright

You can use these sources for absolutely free.

Reporting bugs

Your questions, suggestions and bug reports may be posted either to the forum below or to the forum at the Prof-UIS website.

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
Generaltank you Pin
mrshcom
9:29 17 Sep '09  
GeneralStatus bar with custom controls, how does it work Pin
Moak
5:01 21 Jul '09  
QuestionHow to display color( type COLORREF ) on Status bar ? Pin
huutho411
23:10 16 Jun '08  
AnswerRe: How to display color( type COLORREF ) on Status bar ? Pin
Dmitriy Yakovlev
4:22 17 Jun '08  
GeneralQuestion Pin
ugly beast
16:35 12 Jun '08  
GeneralRe: Question Pin
Dmitriy Yakovlev
1:51 13 Jun '08  
GeneralProblem with status bar Pin
mnupadhya
21:51 7 Aug '07  
GeneralRe: Problem with status bar Pin
Dmitriy Yakovlev
5:42 30 Aug '07  
GeneralHow to hide a control? Pin
John Tan Jin Kiat
2:33 9 Jul '07  
GeneralRe: How to hide a control? Pin
Dmitriy Yakovlev
2:58 9 Jul '07  
GeneralRe: How to hide a control? Pin
John Tan Jin Kiat
18:48 12 Jul '07  
GeneralRe: How to hide a control? Pin
Dmitriy Yakovlev
23:38 16 Jul '07  
GeneralSetting Background Image for Status Bar Pin
mnupadhya
2:39 22 Jun '07  
GeneralRe: Setting Background Image for Status Bar Pin
Dmitriy Yakovlev
3:46 22 Jun '07  
GeneralRe: Setting Background Image for Status Bar Pin
mnupadhya
23:57 22 Jun '07  
GeneralRe: Setting Background Image for Status Bar Pin
Dmitriy Yakovlev
2:25 26 Jun '07  
GeneralRe: Setting Background Image for Status Bar Pin
mnupadhya
4:08 26 Jun '07  
GeneralCan I use this class also for DialogBox? Pin
Ingenious001
3:45 9 Jan '07  
GeneralRe: Can I use this class also for DialogBox? Pin
Dmitriy Yakovlev
4:03 9 Jan '07  
GeneralRe: Can I use this class also for DialogBox? Pin
Ingenious001
5:31 9 Jan '07  
GeneralI want to pop a dialog, when click on progress bar.... Pin
liuty2006
8:48 7 Sep '06  
GeneralRe: I want to pop a dialog, when click on progress bar.... Pin
Dmitriy Yakovlev
0:53 2 Oct '06  
Generalyou are unbelievebly responsive Pin
spelger
21:21 20 Jan '06  
GeneralRe: you are unbelievebly responsive Pin
Dmitriy Yakovlev
5:30 27 Jan '06  
GeneralHow to show a Icon and a string in a single pane? Pin
Tcpip2005
17:27 30 Oct '05  


Last Updated 15 Jan 2004 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009