Tech Support > Microsoft Windows > Development Resources > Skrollable Vertical Tab control?
Skrollable Vertical Tab control?
Posted by Sten Westerback on August 4th, 2004


Hi

I just noticed that a vertical tab control behaves different from
a horizontal one. It seems like Microsoft forgot to implement
the scroll buttons for vertical tabs so if i get too many of them
it creates a second "row" to the right... which comes under
the controls on the tab...

Or has someone got that thing to work properly (on Win 2k)?

- Sten



Posted by Christian ASTOR on August 4th, 2004


"Sten Westerback" <sten.westerback@NO_SPAMnokia.com> wrote in message news:<5q0Qc.21855$k4.427603@news1.nokia.com>...

When you insert a tab with TCS_MULTILINE style set, you must move or
resize associated child windows
(GetClientRect(), TabCtrl_AdjustRect(), MoveWindow())

Posted by Sten Westerback on August 4th, 2004



"Christian ASTOR" <castorix@club-internet.fr> wrote in message
news:b5334651.0408040641.23b5d9c2@posting.google.c om...
Sure.. but the problem is that i don't use TCS_MULTILINE as
that wouldn't, even in horizontal mode, display the "scroll the
tabs" button (left and right arrows).

- Sten



Posted by Severian on August 4th, 2004


On Wed, 04 Aug 2004 16:14:02 GMT, "Sten Westerback"
<sten.westerback@NO_SPAMnokia.com> wrote:

Your observation is correct. The vertical tab control seems to be the
bastard step-child of tab controls. XP doesn't even theme them, and
there are weird drawing problems on some O/Ses. I changed mine to
button style to avoid some of the worse problems.

--
Sev

Posted by Christian ASTOR on August 5th, 2004


"Sten Westerback" <sten.westerback@NO_SPAMnokia.com> wrote in message news:<eX7Qc.21719$g4.412652@news2.nokia.com>...

Yes, but the TCS_MULTILINE is automatically added on creation if the
Tab control is vertical...


Similar Posts