Solved

Using CPropertySheet as a View

Posted on 1997-04-21
3
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iSeries FTP Exit Program 8 163
difference between String.subString() and String.subSequence() 6 273
Message not shown 5 87
moto 4g phone enable finger print 4 48
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

730 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