by specifying your own metrics function with different MARGIN and calling TabCtrl::Style.
Mirek
is there any code to show how to specify such metrics function,why there no interface to set such parameter.
To conserve the space. I expect the style change to be not quite often; it is therefore better to hold single pointer to function rather than 16 integers.
OK, it is true that for TabCtrl this is non-issue, but I have actually used it as testcase for other Ctrls (think about thousand of widgets in ArrayCtrl or TreeCtrl . I guess this is the way how to provide common cheap interface to deal with visual style changes. (Note that this is very recent stuff, chameleon was added 2 months ago).