the use of CPropertySheet as a child

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???
Who is Participating?
mikeblasConnect With a Mentor Commented:
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

All Courses

From novice to tech pro — start learning today.