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

x
?
Solved

CView in CPropertyPage

Posted on 1997-02-24
1
Medium Priority
?
399 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 100 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
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