TCM_GETITEMRECT message

Retrieves the bounding rectangle for a tab in a tab control. You can send this message explicitly or by using the TabCtrl_GetItemRect macro.

Parameters

wParam

Index of the tab.

lParam

Pointer to a RECT structure that receives the bounding rectangle of the tab, in viewport coordinates.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: