Solved

Using CPropertySheet as a View

Posted on 1997-04-21
3
201 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
Comment Utility
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
Comment Utility
Thanks for your timely answer; it is sincerely appreciated!
0
 

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
configuration management 2 99
viewing source code from eclipse 13 74
fix34  challenge 9 96
sumHeights2  challenge 7 75
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

18 Experts available now in Live!

Get 1:1 Help Now