Solved

the use of CPropertySheet as a child

Posted on 1998-10-08
1
241 Views
Last Modified: 2010-04-01
I am using Microsoft Visual C++ v5.0 and the MFC to produce a multiple
document MDI application.  I am trying to use a tabbed property sheet
for the main data entry window in this app.  The CPropertySheet class
wants to instantiate itself as a stand-alone dialog.  I need to find
some way to configure this class so it can be used as a child window
within the app using the MFC Document/View architecture.  I already
have a CDocument class to hold the rather large amount of data
associated with the application and now need to link the data elements
with the CPropertyPages screen displays.  Is there some way that I can
"trick" the CMultiDocTemplate class into accepting the CPropertySheet
as a view?  Alternately, can I configure the normal CView class to
accept this property sheet as its user interface (dialog ) display?  
Is there some other approach that could be used?  Any Help???
0
Comment
Question by:gtrogan
1 Comment
 
LVL 11

Accepted Solution

by:
mikeblas earned 200 total points
ID: 1174691
See the SNAPVW sample, which ships in the product.

I think it will do what you want: your question is very confusingly worded.

(For example, you say that you want an MDI interface, but you want a child property page to be your "main window for data entry".  You can't have both: if you want an MDI UI, then a MDI frame window will be your main window--you might have a tabbed window as your child view, but you can't have a child window as a main window.)

B ekiM

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

914 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