Solved

the use of CPropertySheet as a child

Posted on 1998-10-08
1
242 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

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 …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
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.

776 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