Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TabCtrl_AdjustRect macro

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.

Syntax


VOID TabCtrl_AdjustRect(
  HWND hwnd,
  BOOL fLarger,
  RECT *prc
);

Parameters

hwnd

Type: HWND

Handle to the tab control.

fLarger

Type: BOOL

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

Type: RECT*

Pointer to a RECT structure that specifies the given rectangle and receives the calculated rectangle.

Return value

No return value.

Remarks

This message applies only to tab controls that are at the top. It does not apply to tab controls that are on the sides or bottom.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.