Partager via


TabCtrl_AdjustRect (Windows CE 5.0)

Send Feedback

This macro calculates the display area of a tab control based on a specified 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.

void TabCtrl_AdjustRect(HWNDhwnd,BOOLfLarger,RECT FAR* prc );

Parameters

  • hwnd
    Handle to the tab control.
  • fLarger
    Boolean value that specifies the operation to perform. If set to TRUE, prc specifies a display rectangle and receives the corresponding window rectangle. If set to FALSE, prc specifies a window rectangle and receives the corresponding display area.
  • prc
    Pointer to a RECT structure that specifies the given rectangle and receives the calculated rectangle.

Return Values

None.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

TCM_ADJUSTRECT | RECT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.