TabCtrl_AdjustRect (Compact 2013)
3/28/2014
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 |