Status Bars

A status bar, also known as a status window, is a horizontal window positioned at the bottom of a parent window. It displays status information defined by the application.

Status bar

You create a status bar by calling the CreateStatusWindow function. This class is registered when the common control DLL is loaded. You can use the InitCommonControls function to ensure that this DLL is loaded. To register the status bar class using the InitCommonControlsEx function, specify the ICC_ BAR_CLASSES flag as the dwICC member of the INITCOMMONCONTROLSEX structure you pass in the lpInitCtrls parameter.