![]() |
CXTPFrameWndBase LoadFrame() vs. CXTMDiframeWnd |
Post Reply
|
| Author | |
MartinT
Newbie
Joined: 18 August 2007 Location: Austria Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPFrameWndBase LoadFrame() vs. CXTMDiframeWndPosted: 18 August 2007 at 9:28am |
|
Hi all.
We moved to XT 10.2 recently and in one App I have now the problem that the method LoadFrame() of the mainframe (called in InitInstance()) immediatly puts an entry into the taskbar and opens the window whereas in the old version using XT 2.0 this was only done when ShowWindow() was called. Our old program version was compiled with VC6 (VS6) wheras the new version is compiled with VC8 (VS2005). In the old Toolkit Version our CMainFrame was derived from CXTMDIFrameWnd. In Toolkit 10.2 it is through various templates derived from CXTPFrameWndBase -> CXTPCommandBarSiteBase -> CMDIFrameWnd. I'm not even sure it has anything to do with the Toolkit, maybe something different with newer MFC? (old: VC6 new: VC8) I know this is very little info, but before rambling on I'd like to check if I'm searching in the right direction here. thanks! Martin |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 August 2007 at 2:39am |
|
Hello,
Don't think toolkit is reason. Check your PreCreateWindow or OnCreate method.
|
|
|
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 |