Print Page | Close Window

Two methods to create docking pane.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=14170
Printed Date: 04 December 2024 at 1:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Two methods to create docking pane.
Posted By: chas
Subject: Two methods to create docking pane.
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net