Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.43 KB

tb-getitemrect.md

File metadata and controls

62 lines (39 loc) · 1.43 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
TB_GETITEMRECT message (Commctrl.h)
Retrieves the bounding rectangle of a button in a toolbar.
42c2c86e-0002-4029-be6a-fdfdf405b78c
TB_GETITEMRECT message Windows Controls
apiref
TB_GETITEMRECT
Commctrl.h
HeaderDef
reference
05/31/2018

TB_GETITEMRECT message

Retrieves the bounding rectangle of a button in a toolbar.

Parameters

wParam

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

lParam

Pointer to a RECT structure that receives the client coordinates of the bounding rectangle.

Return value

Returns TRUE if successful, or FALSE 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