Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Two methods to create docking pane.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Two methods to create docking pane.

 Post Reply Post Reply
Author
Message
chas View Drop Down
Newbie
Newbie


Joined: 29 April 2009
Location: China
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote chas Quote  Post ReplyReply Direct Link To This Post Topic: Two methods to create docking pane.
    Posted: 29 April 2009 at 3:07am

I read sample code, and got two methods to create docking pane:

1. Create a pane base on a CWnd derived class.
 
      m_wndView.Create(_T("STATIC"), NULL, WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, CXTPEmptyRect(), this, 0);
2. Create a pane base on a CView derived class.
 
     pPane->AttachView(this, RUNTIME_CLASS(CDynamicHelpView));
 
 
So may question is, are they standand method to create docking pane in Xtreme toolkits?
can I use the first method to create a pane base on a CView derived class?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.