Share via


TabCtrl_SetMinTabWidth (Compact 2013)

3/28/2014

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

See Also

Reference

Tab Controls Macros
TCM_SETMINTABWIDTH