Someone asked in the VC++ forum how they can add a status bar to a dialog and I foolishly replied saying that all they had to do was to have a CStatusBar member in their dialog class and that they should call Create() from the OnInitDialog() handler. Then someone else replied saying that it [...]
I wondered how to change text color of panes on the status bar same as what Visual SourceSafe file difference window does. In this article, I will show how to make status bar panes display their text in different colors. A regular status bar can have many panes. It could be desirable in some cases that each pane’s [...]
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, [...]
Most applications have a status bar of some description on their main window, and sometimes other windows. This class, derived from CStatusBar, provides several features missing from the standard class. The features it provides are as follows:Auto-fit of text
The panes can be set [...]
The MPCStatusBar class allows you to easily add/remove standard indicators, and/or add/remove controls on the status bar. MPCStatusBarPane and MPCStatusBarPaneControlInfo classes comes with MPCStatusBar.
Additionally, there’s a “ready to use” class, the MPCLogoPane [...]