CTab.SetMinTabWidthmethod
Sets the width and height of tabs in a fixed-width or owner-drawn tab control.
Syntax
FUNCTION SetMinTabWidth (BYVAL hTab AS HWND, BYVAL cx AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hTab | 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
Returns a value that represents the previous minimum tab width.
Description
Sets the width and height of tabs in a fixed-width or owner-drawn tab control.
Example
CTab.SetMinTabWidth(hTab, 50)
Reference
- Include file
CTab.inc - Defined in AfxNova/CTab.inc:428
- Documented in Windows/WIndows Controls/CTab Class.md
- Topic: CTab Class