How to make a single line systabcontrol32 that scrolls but doesn't show a scrollbar

Posted by TheNewbie on Stack Overflow See other posts from Stack Overflow or by TheNewbie
Published on 2009-03-25T23:59:53Z Indexed on 2010/05/08 21:08 UTC
Read the original article Hit count: 175

Filed under:
|

Hi I'm creating a systabcontrol32 control with the TCS_SINGLELINE style when I resize my window so the tab won't fit an up-down control appears that should allow me to scroll so I can see all the tabs.

The thing is that the up-down buttons don't seem to work unless I add a the WS_HSCROLL property to the tab control witch makes it ugly as hell. It could be cool if the up-down could scroll the tabs without need to add the scrollbar (even more since the scroll bar doesn't seem to work, it just sits there and I can't click it).

© Stack Overflow or respective owner

Related posts about c++

Related posts about winapi