Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - MDI windows not added to Window menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI windows not added to Window menu

 Post Reply Post Reply
Author
Message
Alistair View Drop Down
Newbie
Newbie
Avatar

Joined: 14 May 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alistair Quote  Post ReplyReply Direct Link To This Post Topic: MDI windows not added to Window menu
    Posted: 24 May 2004 at 10:34am
I've just noticed that when my application is built with Xtreme Toolkit Pro (evaluation), my MDI windows are not being added to the list on the Windows menu so in fact, there is no list.

Any suggestions?

This may be related to this post:
https://forum.codejock.com/forum_posts.asp?TID=374&KW=wi ndow+menu

--- Al.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2004 at 3:48am
see FAQ.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Alistair View Drop Down
Newbie
Newbie
Avatar

Joined: 14 May 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alistair Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2004 at 4:35am
Thanks, that works. Apologies for not checking there first.

Actually, I've tried to conditionally include it (I have 2 versions of my application - with and without XTreme toolkit. So to prevent a superfluous menu item in the none XTreme build, my resource file now looks like this:

#ifdef _XTPRO
        MENUITEM "&Windows List",                35000
#endif

but defining _XTPRO does not add the list. it looks like the #ifdef always evaluates to FALSE. Any idea why? (this is obviously not a CodeJock issue but I thought I'd ask.)

--- Al.
Back to Top
brianh View Drop Down
Groupie
Groupie


Joined: 30 April 2004
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianh Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2004 at 9:54am

Where are you defining it?

I suspect you need to add the define to the Project Settings, Resources tab, under Preprocessor definitions.  I believe that the resource compiler is a separate program and so needs separate settings on this tab (e.g. include paths for resources need to go here).

Back to Top
Alistair View Drop Down
Newbie
Newbie
Avatar

Joined: 14 May 2004
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alistair Quote  Post ReplyReply Direct Link To This Post Posted: 02 June 2004 at 10:13am
Hmm, yes that makes perfect sense. I did not have it defined for the resource compiler.

Unfortunately, defining it in the Resources tab makes no difference!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.