-
January 29th, 2004, 08:57 AM
#1
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?
-
January 29th, 2004, 09:47 AM
#2
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.
-
January 29th, 2004, 09:54 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|