TB_GETBUTTONINFO

This message retrieves the information for a button in a toolbar.

At a Glance

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

Syntax

  1. TB_GETBUTTONINFO wParam = (WPARAM)(INT) iID;
    lParam = (LPARAM)(LPTBBUTTONINFO) lptbbi;

Parameters

iID

Button identifier.

lptbbi

Long pointer to a TBBUTTONINFO structure that receives the button information. The cbSize and dwMask members of this structure must be filled in prior to sending this message.

Return Values

Nonzero indicates success. Zero indicates otherwise.