Bottom property of Tab Control seems to malfunction

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Using Microsoft Visual Studio .NET 2003 to build a C++ MFC exe

I am using the resource editor to create a dialog with a Tab Control. Setting the "Bottom" property (of the Tab Control) to True seems to erroneously set the "Buttons" property to true instead. This property worked fine in Visual C++ 6.0. Does anyone know of a work-around to get the tabs on the bottom

Thank

M.D. Metz
 
mdmetz said:
Using Microsoft Visual Studio .NET 2003 to build a C++ MFC exe.

I am using the resource editor to create a dialog with a Tab Control.
Setting the "Bottom" property (of the Tab Control) to True seems to
erroneously set the "Buttons" property to true instead. This property
worked fine in Visual C++ 6.0. Does anyone know of a work-around to get the
tabs on the bottom?

It looks like another bug in the IDE resource editor to me. You can of
course open the *.rc file with the text editor and add the TCS_BOTTOM style
manually -- the good news is that the resource editor seems to recognize it,
and doesn't seem to modify it (on a quick test). The bad news of course is
that under XP with themes enabled the style isn't supported at all any
more...

http://msdn.microsoft.com/library/d...n-us/shellcc/platform/commctls/tab/styles.asp
 
I am using the resource editor to create a dialog with a Tab Control.
Setting the "Bottom" property (of the Tab Control) to True seems to
erroneously set the "Buttons" property to true instead.

FWIW, it seems to be fixed in the Whidbey (VS2005) version.

Although it won't affect this of course:
The bad news of course is
that under XP with themes enabled the style isn't supported at all any
more...

Dave
 
Back
Top