Solved

Using CPropertySheet as a View

Posted on 1997-04-21
3
203 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 49
Show shut-down message as Windows 8 shuts down. 9 92
Error on moodle after upgrade 3 131
move a line in eclipse 3 104
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

831 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