Get access to Document class from property pages!

Hi,
I am developing an SDI application using VC++ 6.0/ MFC and also I am creating multiple views for the particular application. I am launching wizard type property sheets to accept data on the execution of File|New menu command. The function is handled either in CMainFrame class or The App derived class. Right now I am handling it in the mainframe class as I am also handling the switching of views in the CMainFrame class. But if needed I can go ahead and change it in the CWinApp derived class for better execution. So please let me have some information about how to do it.

Regards,
Bhushan.


Comments

  • : Hi,
    : I am developing an SDI application using VC++ 6.0/ MFC and also I am creating multiple views for the particular application. I am launching wizard type property sheets to accept data on the execution of File|New menu command. The function is handled either in CMainFrame class or The App derived class. Right now I am handling it in the mainframe class as I am also handling the switching of views in the CMainFrame class. But if needed I can go ahead and change it in the CWinApp derived class for better execution. So please let me have some information about how to do it.
    :
    : Regards,
    : Bhushan.
    :
    :
    :

    call CFrameWnd's GetActiveDocument() to get pointer to the current CDocument-derived class.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion