PRB: StatusBar Pane Enabled by Default (151901)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Professional Edition 4.0
- Microsoft Visual C++, 32-bit Professional Edition 4.1
- Microsoft Visual C++, 32-bit Learning Edition 4.0
This article was previously published under Q151901 SYMPTOMS
When a non-default pane is added to the StatusBar, this pane is
automatically enabled even if it does not have an Update UI handler.
CAUSE
This behavior is different than the behavior in earlier versions of MFC
where the pane was automatically disabled if there was no Update UI
handler.
RESOLUTION
To disable the pane, unless it is enabled by a handler, add an Update UI
handler for the pane to the CMainFrame class of the application that
disables the pane.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/10/2003 |
---|
Keywords: | kbMFCCtrlBar kbprb KbUIDesign KB151901 |
---|
|