Contents Index Topic Contents | ||
Previous Topic: TB_GETBUTTONSIZE Next Topic: TB_GETCOLORSCHEME |
TB_GETBUTTONTEXT
TB_GETBUTTONTEXT wParam = (WPARAM) idButton; lParam = (LPARAM) (LPSTR) lpszText;Retrieves the text of a button in a toolbar.
- Returns the length, in characters, of the string copied to the specified buffer if successful. (The length does not include the terminating null character.) Otherwise, the return value is -1.
- idButton
- Command identifier of the button whose text is to be retrieved.
- lpszText
- Address of a buffer that receives the button text.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.