Print Page | Close Window

MDI windows not added to Window menu

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=777
Printed Date: 24 December 2024 at 9:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MDI windows not added to Window menu
Posted By: Alistair
Subject: MDI windows not added to Window menu
Date 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.



Replies:
Posted By: Oleg
Date Posted: 01 June 2004 at 3:48am
see FAQ.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Alistair
Date 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.


Posted By: brianh
Date 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).



Posted By: Alistair
Date 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!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net