mCtrl 0.8.2
Data Fields

MC_MTITEMWIDTH Struct Reference

Structure for messages MC_MTM_SETITEMWIDTH and MC_MTM_GETITEMWIDTH. More...

Data Fields

DWORD dwDefWidth
 Default width for tabs, in pixels.
DWORD dwMinWidth
 Minimal width for tabs, in pixels.

Detailed Description

Structure for messages MC_MTM_SETITEMWIDTH and MC_MTM_GETITEMWIDTH.

The control sizes all tabs to the same width. Normally they all have the default width. But if the control contains to many tab items and not all of them can be visible at once, the control is allowed to resize them as much as the minimal width specifies, so more of them can be visible without using the scrolling buttons.