TCM_ADJUSTRECTTCM_ADJUSTRECT*
*Contents  *Index  *Topic Contents
*Previous Topic: Tab Control Messages
*Next Topic: TCM_DELETEALLITEMS

TCM_ADJUSTRECT


TCM_ADJUSTRECT 
    wParam = (WPARAM) (BOOL) fLarger;
    lParam = (LPARAM) (LPRECT) prc;

Calculates a tab control's display area given a window rectangle, or calculates the window rectangle that would correspond to a specified display area. You can send this message explicitly or by using the TabCtrl_AdjustRect macro.

fLarger
Operation to perform. If this parameter is TRUE, prc specifies a display rectangle and receives the corresponding window rectangle. If this parameter is FALSE, prc specifies a window rectangle and receives the corresponding display area.
prc
Address of a RECT structure that specifies the given rectangle and receives the calculated rectangle.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.