When setting sTabSheet.UseClosebtn to FALSE, the X disappears but the width remains as if it's still there, is it possible to make the tab narrower?
When setting ActiveIsBold to TRUE and the tab caption is long, for example: “Windows address book” the caption contains … though it should just change the width accordingly (the TabWidth is set to 0)
Even the word “Home” with the X is enough to make Ho… (with … instead of the whole word)
Width of a custom tab can't be changed as you want, unfortunately. This is limitation which can't be avoided.
For adding additional width was used the TCM_SETPADDING message, which may be used in all tabs only.
Quote:
It seems that sometimes the X is red and sometimes a simple black, not sure when it suppose to be red and when black, it's inconsistent
This small close button is taken from current skin.