Solved

CView in CPropertyPage

Posted on 1997-02-24
1
393 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 63
modThree challenge 4 96
noX challenge 17 129
Problem to App source 6 71
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.

856 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