Редагувати

Поділитися через


TB_GETRECT message

Retrieves the bounding rectangle for a specified toolbar button.

Parameters

wParam

Command identifier of the button.

lParam

Pointer to a RECT structure that will receive the bounding rectangle information.

Return value

Returns nonzero if successful, or zero otherwise.

Remarks

This message does not retrieve the bounding rectangle for buttons whose state is set to the TBSTATE_HIDDEN value.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h