Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2004

Tip: Looking for answers? Try searching our database.

Bottom property of Tab Control seems to malfunction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mdmetz - 08 Jun 2004 18:41 GMT
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
Jeff Partch [MVP] - 09 Jun 2004 03:29 GMT
> 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/default.asp?url=/library/en-us/shellcc/platfor
m/commctls/tab/styles.asp


Signature

Jeff Partch [VC++ MVP]

David Lowndes - 09 Jun 2004 10:58 GMT
>> 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
mdmetz - 09 Jun 2004 14:51 GMT
Thanks to you both.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.