TB_GETBUTTON

This message retrieves information about the specified button in a toolbar.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

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

Parameters

iButton

Zero-based index of the button for which to retrieve information.

lpButton

Long pointer to the TBBUTTON structure that receives the button information.

Return Values

TRUE indicates success. FALSE indicates failure.

See Also

TBBUTTON