다음을 통해 공유


TB_GETBUTTONTEXT

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

TB_GETBUTTONTEXT wParam = (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.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.