TabCtrl_GetItemRect  16GJU06 

The TabCtrl_GetItemRect macro retrieves the bounding rectangle for a tab in a tab control. You can use this macro or explicitly send the TCM_GETITEMRECT1_OK_OU message.

BOOL TabCtrl_GetItemRect(

    HWND hwnd,

 

    int iItem,

 

    RECT FAR *prc

 

   );

 

 

Parameters

hwnd

Handle to the tab control.

iItem

Index of the tab.

prc

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

 

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

RECT, TCM_GETITEMRECT