Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

the use of CPropertySheet as a child

Posted on 1998-10-08
1
Medium Priority
?
254 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
[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 11

Accepted Solution

by:
mikeblas earned 400 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

670 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