![]() |
Multiple-Top Level Documents Issue |
Post Reply
|
| Author | ||
mgoldshteyn
Groupie
Joined: 30 December 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: Multiple-Top Level Documents IssuePosted: 30 December 2007 at 10:28am |
|
|
1. Create a new Tookit Pro project using App Wizard ((VS2005 or VS2008) and XTP 11.2.2)
2. Under Application Type, select Multiple top-level documents
3. Deselect Use Unicode libraries on that same page
4. Leave all other settings as is
5. Click Finish
6. Build and run the resultant application in Debug mode
7. When the app is running, select New Frame from the File menu
8. *KABOOM* to an assertion, since the new Frame has no menu, even though one was assigned at the time of window creation.
Mike
|
||
![]() |
||
mgoldshteyn
Groupie
Joined: 30 December 2007 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 December 2007 at 3:19pm |
|
|
Here is the fix! Modify the following code in the AppWizard generated CMainFrame::LoadFrame()
with:
Oleg or another admin, please comment on this solution. Also, for everyone's sake, fix the AppWizard generated code in the next release to use the code above or something similar.
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 January 2008 at 2:07am |
|
|
Hi, Thanks, we changed appwizard with this code. Thanks for help.
|
||
|
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 |