Export (0) Print
Expand All

TabCtrl_SetMinTabWidth macro

Sets the minimum width of items in a tab control. You can use this macro or send the TCM_SETMINTABWIDTH message explicitly.

Syntax


int TabCtrl_SetMinTabWidth(
  HWND hwndTab,
  int cx
);

Parameters

hwndTab

Type: HWND

Handle to the tab control.

cx

Type: int

Minimum width to be set for a tab control item. If this parameter is set to -1, the control will use the default tab width.

Return value

Returns a value of type int that represents the previous minimum tab width.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft