TB_GETBUTTON

Retrieves information about the specified button in a toolbar.

TB_GETBUTTON 
    wParam = (WPARAM) iButton; 
    lParam = (LPARAM) (LPTBBUTTON) lpButton; 

Parameters

iButton
Zero-based index of the button for which to retrieve information.
lpButton
Address of the TBBUTTON structure that receives the button information.

Return Values

Returns TRUE if successful, or FALSE otherwise.

Requirements

  Windows NT/2000: Requires Windows NT 3.51 or later
  Windows 95/98: Requires Windows 95 or later
  Header: Declared in commctrl.h.