Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Add/Remove menu items depending on preprocessor define

2 views
Skip to first unread message

Anders Eriksson

unread,
Feb 16, 2008, 5:03:26 AM2/16/08
to
Hello,

I'm using VC++ 2005 and MFC and have an application which I want in two
different versions. I'm using #define and #ifdef to make the two versions
and this works perfectly in the code.

My problem is that I have some menu items that should be there or not
depending on the same #define.

I see that Resources has it's own Preprocessor Defines, but what I can't
see is how I shall use the #ifdef?

Where do I set the #ifdef condition??

Please help!

// Anders
--
English is not my first, or second, language
so anything strange, or insulting, is due to
the translation.
Please correct me so I may improve my English!

0 new messages