Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using CPropertySheet as a View

Posted on 1997-04-21
3
Medium Priority
?
208 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 200 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
In this post we will learn different types of Android Layout and some basics of an Android App.
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 response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

618 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