CStatusBarCtrl::GetTextLength
int GetTextLength( int nPane, int* pType ) const;
Return Value
The length, in characters, of the text.
Parameters
nPane
Zero-based index of the part from which to retrieve text.
pType
Pointer to an integer that receives the type information. The type can be one of these values:
-
0 The text is drawn with a border to appear lower than the plane of the status bar.
-
SBT_NOBORDERS The text is drawn without borders.
-
SBT_OWNERDRAW The text is drawn by the parent window.
-
SBT_POPOUT The text is drawn with a border to appear higher than the plane of the status bar.
Remarks
Call this function to retrieve the length, in characters, of the text from the given part of a status bar control.
CStatusBarCtrl Overview | Class Members | Hierarchy Chart
See Also CStatusBarCtrl::GetText, CStatusBarCtrl::SetText