CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Location
    turkey
    Posts
    50

    what is wrong with these?

    hi,,,
    i hava a CMYDialog Class
    and i want that dialog be one of my split pane.
    i've changed class interface like below;

    //DECLARE_DYNAMIC(CMYDialog )
    DECLARE_DYNCREATE(CMYDialog )

    //public:
    // CDenDlg(CWnd* pParent = NULL); // standard constructor

    protected:
    CMYDialog (CWnd* pParent = NULL); // standard constructor

    and implementation cpp like below;

    //IMPLEMENT_DYNAMIC(CDenDlg, CDialog)
    IMPLEMENT_DYNCREATE(CDenDlg, CDialog)

    and i've not been able to display CMyDialog in my split pane,,,

    what is wrong with these?
    everybody says it is possible for CWnd derived class to be displayed by CSplitterWnd object CreatView(....)

    if so, what is the right way for a Dialog Class statically displaying in splitWnd pane?

  2. #2
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503
    why dont you try CFormView?
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

  3. #3
    Join Date
    Jun 2002
    Location
    turkey
    Posts
    50
    i know CFormView is OK,,,
    but i just wonder how to do it with a CDialog derived class...

    ???

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured