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 Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft