Share via


CStatusBar::GetStatusBarCtrl

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

CStatusBarCtrl& GetStatusBarCtrl( ) const;

Return Value

Contains a reference to a CStatusBarCtrl object.

Remarks

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 Windows SDK.

Requirements

Header: afxext.h

See Also

Reference

CStatusBar Class

Hierarchy Chart