BOOL SetText( LPCTSTR lpszText, int nPane, int nType );
Return Value
Nonzero if successful; otherwise zero.
Parameters
lpszText
Address of a null-terminated string specifying the text to set. If nType is SBT_OWNERDRAW, lpszText represents 32 bits of data.
nPane
Zero-based index of the part to set. If this value is 255, the status bar control is assumed to be a simple control having only one part.
nType
Type of drawing operation. It can be one of these values:
Remarks
Call this function to set the text in the given part of a 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.
CStatusBarCtrl Overview | Class Members | Hierarchy Chart
See Also CStatusBarCtrl::GetText, CStatusBarCtrl::GetTextLength