Share via


TB_GETBUTTONTEXT (Windows CE 5.0)

Send Feedback

This message retrieves the text of a button in a toolbar.

TB_GETBUTTONTEXTwParam= (WPARAM)idButton;lParam= (LPARAM)(LPSTR)lpszText;

Parameters

  • idButton
    Command identifier of the button for which to retrieve text.
  • lpszText
    Long pointer to a buffer that receives the button text.

Return Values

The length — in characters and not including the terminating null character — of the string copied to the specified buffer indicates success. –1 indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.