Partager via


TabCtrl_SetMinTabWidth (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

Integer that represents the previous minimum tab width.

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Tab Controls Macros
TCM_SETMINTABWIDTH