|  | 
| why does it not work | 
| Post Reply   | 
| Author | |
| level10   Newbie   Joined: 08 March 2006 Status: Offline Points: 2 |  Post Options  Thanks(0)  Quote  Reply  Topic: why does it not work Posted: 08 March 2006 at 11:14pm | 
| the 2006-03-08_230059_TestDocking.rar the project was build from MFC ActiveX Control Wizard, then i add a frame class into the project, but the class CXTPDockingPane works badly: it seems that user interface is always not refresh automatically. i'm a newbie, can anyone help me to solve this problem or give me some tips?  thanks! | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 March 2006 at 10:34am | 
| Because in ActiveX don't send WM_IDLEUPDATECMDUI to frames. you can set timer and send this message manaully 
  SetTimer(TID_UPDATE, 100, NULL); 
 void CDockingPaneSite::OnTimer(UINT_PTR nIDEvent)   CWnd::OnTimer(nIDEvent); 
 } | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| level10   Newbie   Joined: 08 March 2006 Status: Offline Points: 2 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 March 2006 at 8:15pm | 
| 
   thanks a lot!
    | |
|  | |
| 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 |