Solved

CView in CPropertyPage

Posted on 1997-02-24
1
391 Views
Last Modified: 2013-11-20
How do I place a CView in a CPropertyPage, tips of examples or web site would be good.

/John
0
Comment
Question by:md94-jju
1 Comment
 
LVL 4

Accepted Solution

by:
mbhakta earned 50 total points
ID: 1300308
This is a big question. Firstly there is no direct way where you can directly put a CView based class onto a CPropertyPage. The CPropertyPage expects its base class derived from a CDialog based template. What you are looking at is a solution you might have develop yourselves. There are ways of doing this.

- Simplest of all -> Forget the CView based property page. Make a modaless CPropertySheet and use the CDialog based templates as usual.

- Use a third-party tool like Softtabs. This is a direct answer to your solution. This costs. Follow the third approach if your pockets are tied.

- This is a big approach. Make a CListView derived class. The ListView should be subclassed in such a way that the Listcontrol (or listbox) should be ownerdrawn to look like a Tab control. There are several examples on 'switching views' available of the VC++ or the MSDN CD. Modify it to fit to each tab.


0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generic progress indicator 6 117
modThree challenge 4 90
firstChar challenge 13 115
Message not shown 5 50
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 …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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