This topic has not yet been rated - Rate this topic

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

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.