Docking pane on CDialog. |
Post Reply |
Author | |
zak7956
Newbie Joined: 14 June 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 14 June 2005 at 9:46pm |
I have tried to make docking pane on my dialog, but it doesn't work correctly. Following is my code: class CMyFrameWnd : public CXTPFrameWnd int CMyFrameWnd::OnCreate(LPCREATESTRUCT lpCreateStruct) ... m_paneManager.InstallDockingPanes( this ); CXTPDockingPane * pPane = ... LRESULT CMyFrameWnd::OnDockingPaneNotify( WPARAM wParam, LPARAM lParam ) class CMyDialog : public CDialog LRESULT CMyDialog::OnKickIdle(WPARAM wp, LPARAM lCount) int CMyDialog::OnCreate(LPCREATESTRUCT lpCreateStruct) CCreateContext ccc; Best regards, k.Tsumura |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Unfortunaly SendMessageToDescendants( WM_IDLEUPDATECMDUI, (WPARAM)TRUE, 0, TRUE, TRUE ); in your OnKickIdle doesn't send WM_IDLEUPDATECMDUI to float windows. you must send WM_IDLEUPDATECMDUI to all floating frames too.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
zak7957
Newbie Joined: 19 June 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
|
It works! Thank you.
k.Tsumura |
|
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 |