Contents Index Topic Contents | ||
Previous Topic: SB_GETRECT Next Topic: SB_GETTEXTLENGTH |
SB_GETTEXT
SB_GETTEXT wParam = (WPARAM) iPart; lParam = (LPARAM) (LPSTR) szText;Retrieves the text from the specified part of a status window.
- Returns a 32-bit value that consists of two 16-bit values. The low word specifies the length, in characters, of the text. The high word specifies the type of operation used to draw the text. The type can be one of the following values:
0 The text is drawn with a border to appear lower than the plane of the window. SBT_NOBORDERS The text is drawn without borders. SBT_POPOUT The text is drawn with a border to appear higher than the plane of the window. SBT_RTLREADING Displays text using right-to-left reading order on Hebrew or Arabic systems.
- iPart
- Zero-based index of the part from which to retrieve text.
- szText
- Address of the buffer that receives the text. This parameter is a null-terminated string.
If the text has the SBT_OWNERDRAW drawing type, this message returns the 32-bit value associated with the text instead of the length and operation type.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.