![]() |
DockingPane problem |
Post Reply
|
| Author | |
simus
Groupie
Joined: 08 July 2005 Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
Topic: DockingPane problemPosted: 01 December 2005 at 2:36am |
|
Hi, I have an MFC ActiveX and I used CXTPDockingPanes in it, I done exactly the same initialisation than a standard stand alone MFC project, and ... Docking seems to work but if I redock a floating pane it results in 2 panes, the one that is docked, and another one still floating and that is totally empty(not drawn) with a title set to "Panes". Do you have any idea in how to solve this? Thanks a lot! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2005 at 4:49am |
|
Try to search on forum WM_IDLEUPDATECMDUI...
Problem that WM_IDLEUPDATECMDUI not send in ActiveX MFC and you must generate it manually. Add Timer SetTimer(TID_UPDATE, 100, NULL); and update Panes: void CDockingPaneSite::OnTimer(UINT_PTR nIDEvent) OnIdleUpdateCmdUI(); CWnd::OnTimer(nIDEvent);
void CDockingPaneCtrl::OleUpdatePanes() |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |