This documentation is archived and is not being maintained.


This member function allows direct access to the underlying common control.

CStatusBarCtrl& GetStatusBarCtrl( ) const;

Contains a reference to a CStatusBarCtrl object.

Use GetStatusBarCtrl to take advantage of the functionality of the Windows status-bar common control, and to take advantage of the support CStatusBarCtrl provides for status-bar customization. For example, by using the common control, you can specify a style that includes a sizing grip on the status bar, or you can specify a style to have the status bar appear at the top of the parent window's client area.

For more general information about common controls, See Common Controls in the Platform SDK.