Contents Index Topic Contents | ||
Previous Topic: Tab Control Macros Next Topic: TabCtrl_DeleteAllItems |
TabCtrl_AdjustRect
VOID TabCtrl_AdjustRect( HWND hwnd, BOOL fLarger, RECT FAR *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 use this macro or send the TCM_ADJUSTRECT message explicitly.
- No return value.
- hwnd
- Handle to the tab control.
- 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.