TabCtrl_SetMinTabWidth

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later
Related message: TCM_SETMINTABWIDTH

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 Values

Integer that represents the previous minimum tab width.