Solved

Using CPropertySheet as a View

Posted on 1997-04-21
3
202 Views
Last Modified: 2013-11-20
I am developing a doc/view app which will use as its view a PropertySheet or something similar.  Is there a way to use a CPropertySheet as a view?  If I use a CFormView and place a CTabCtrl on it (to emulate a CPropertySheet), how do I change the view's "pages" when the appropriate tab is selected?
0
Comment
Question by:duhrbroc
3 Comments
 
LVL 2

Accepted Solution

by:
rajesh032097 earned 100 total points
ID: 1301089
Hi,
You cannot have a view based on CPropertySheet as it's not derived from CView. But you can certainly put a tab control on the view and then add pages to it. I have done this in my application. All you need to do is to create your pages typically derived from CDialog class and add to the tab control. You would need to position those pages in the client area of your tab control. An example with similar functionality has been given in VC++ documentation titled "Creating a tabbed dialog box" section. I think that will help you a bit.
0
 

Author Comment

by:duhrbroc
ID: 1301090
Thanks for your timely answer; it is sincerely appreciated!
0
 

Expert Comment

by:cyourch
ID: 1301091
There is an example on the microsoft web site called psview.exe, it has exactly what you are looking for.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bigDiff challenge 17 84
post4 challenge 28 93
Unix Command -- Challenging  question 7 87
Is there a simple front-end menu system. 9 71
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now