Views in Docking Panes |
Post Reply |
Author | |
c_koerber
Newbie Joined: 08 July 2003 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 14 July 2003 at 6:33am |
Oleg wrote in another thread: "the better to use CFormView instead CDialog...." So it is possible to embed CView derived Objects into docking panes? That would be very good news. Oleg, is it possible to write a little how to or to point out the biggest issues one has to keep in mind? Would be GREAT!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
1. Create Dialog template and CFormView derived class - CSimpleFormView. 2. Create New Pane m_paneManager.InstallDockingPanes(this); CXTPDockingPane* pPaneProperties = m_paneManager.CreatePane( 3. Attach it.
LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam) if (!pPane->IsValid()) pPane->Attach(m_pFormFrame); |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |