Share via


TabCtrl_SetMinTabWidth

This macro sets the minimum width of items in a tab control.

int TabCtrl_SetMinTabWidth(
  HWND hwndTab, 
  INT cx 
);

Parameters

  • hwndTab
    Handle to the tab control.
  • cx
    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 Values

Integer that represents the previous minimum tab width.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

TCM_SETMINTABWIDTH

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.