Using CStatusBarCtrl to Create a CStatusBarCtrl Object
Here is an example of a typical use of :
To use a status bar control with parts
Construct the CStatusBarCtrl object.
Call if you want to set the minimum height of the status bar control's drawing area.
Call to set the number of parts in a status bar control and the coordinate of the right edge of each part.
Call to set the text in a given part of the status bar control. The message invalidates the portion of the control that has changed, causing it to display the new text when the control next receives the WM_PAINT message.
In some cases, the status bar only needs to display a line of text. In this case, make a call to . This puts the status bar control into "simple" mode, which displays a single line of text.