Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the width and height of tabs in a fixed-width or owner-drawn tab control. You can use this macro or send the TCM_SETITEMSIZE message explicitly.
Syntax
DWORD TabCtrl_SetItemSize(
HWND hwnd,
int x,
int y
);
Parameters
hwnd
Type: HWND
Handle to the tab control.
x
Type: int
New width, in pixels.
y
Type: int
New height, in pixels.
Return value
Type: DWORD
Returns the old width and height. The width is in the LOWORD of the return value, and the height is in the HIWORD.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |