Solved

CView in CPropertyPage

Posted on 1997-02-24
1
386 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

19 Experts available now in Live!

Get 1:1 Help Now