Solved

CView in CPropertyPage

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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: 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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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