Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
tabs versus property sheets Posted by jtcoelho on 22 Oct 2002 at 10:04 AM
I am creating an application and i want to use tabs for some of the data that will be input. I have several dialog boxes for it and decided to use tabs using tab controls. It seems that there is not much out there on tabs, but i have seen code in Petzold and others on building property sheets. My question is what are the differences between these two objects and why use one versus the other ? Thanks.
Report
Re: tabs versus property sheets Posted by pingpong on 22 Oct 2002 at 11:10 AM
As far as I know, property sheet is just another name for a tab control. There's however another type of property sheet calle the wizard, this as you know has Next, Back and Finish buttons (installation programs use that for example). A wizard is just a property sheet with different flags.

If you havent already, check out the Control Spy from msdn (goto msdn.microsoft.com and search for "controlspy"). This is a series of articles that appeared in MSJ on 95 style controls including propertysheet. All code is done with pure API.


: I am creating an application and i want to use tabs for some of the data that will be input. I have several dialog boxes for it and decided to use tabs using tab controls. It seems that there is not much out there on tabs, but i have seen code in Petzold and others on building property sheets. My question is what are the differences between these two objects and why use one versus the other ? Thanks.
:

Report
Re: tabs versus property sheets Posted by jtcoelho on 23 Oct 2002 at 6:04 AM
Okay, but if you read Charles Petzold Book he has a section on Property Sheets but the APIs are different from what i have used. I have used functions like InitCommonControlsEx for my tabs. So i was wondering if they are different. Unless the Property Sheets i saw in Petzold's book is for the wizard. Thanks for the lead. I will check it out.
: As far as I know, property sheet is just another name for a tab control. There's however another type of property sheet calle the wizard, this as you know has Next, Back and Finish buttons (installation programs use that for example). A wizard is just a property sheet with different flags.
:
: If you havent already, check out the Control Spy from msdn (goto msdn.microsoft.com and search for "controlspy"). This is a series of articles that appeared in MSJ on 95 style controls including propertysheet. All code is done with pure API.
:
:
: : I am creating an application and i want to use tabs for some of the data that will be input. I have several dialog boxes for it and decided to use tabs using tab controls. It seems that there is not much out there on tabs, but i have seen code in Petzold and others on building property sheets. My question is what are the differences between these two objects and why use one versus the other ? Thanks.
: :
:
:

Report
Re: tabs versus property sheets Posted by AsmGuru62 on 23 Oct 2002 at 6:40 AM
The Tab control and Property Sheet are different. I like the sheets, personally...
Report
Re: tabs versus property sheets Posted by jtcoelho on 23 Oct 2002 at 7:03 AM
: The Tab control and Property Sheet are different. I like the sheets, personally...
:
I saw that Petzold uses property sheets, why use one versus the other though ? I have been using tab controls but they are so cumbersome that i thought property sheets are the way to go, but i am not sure if using one or the other will cause me grief later on.
Report
Re: tabs versus property sheets Posted by AsmGuru62 on 24 Oct 2002 at 9:45 AM
: : The Tab control and Property Sheet are different. I like the sheets, personally...
: :
: I saw that Petzold uses property sheets, why use one versus the other though ? I have been using tab controls but they are so cumbersome that i thought property sheets are the way to go, but i am not sure if using one or the other will cause me grief later on.
:
What is the nature of your program? If you want something as EXCEL - then, TABs are the way to go. For just options - sheets are better.
Report
Re: tabs versus property sheets Posted by jtcoelho on 24 Oct 2002 at 12:44 PM
: : : The Tab control and Property Sheet are different. I like the sheets, personally...
: : :
: : I saw that Petzold uses property sheets, why use one versus the other though ? I have been using tab controls but they are so cumbersome that i thought property sheets are the way to go, but i am not sure if using one or the other will cause me grief later on.
: :
: What is the nature of your program? If you want something as EXCEL - then, TABs are the way to go. For just options - sheets are better.
:
The program is an entry form with several windows for the data entry where the user could move around from wintow to window as they enter the data. Thanks for your input. I am still curious of why use one versus the other. But it seems from your response that basically if there is some kind of data entry then tabs are the way to go.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.