Share via


TabCtrl_AdjustRect (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

void TabCtrl_AdjustRect( 
  HWND hwnd, 
  BOOL fLarger, 
  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 Value

None.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Tab Controls Macros
TCM_ADJUSTRECT
RECT