the use of CPropertySheet as a child
Posted on 1998-10-08
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???