Sign in to follow this  

resource.h file

This topic is 3463 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am working on a new project in VS2005 V++. When I add the menu items, the compiler automatically generates my resource.h file. Everything works fine when I add "window-tile". When I add "window-cascade", the compiler appends a numeric value "ID_WINDOW_CASCADE" within my resource.h file. The following is the contents of my resource.h file.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by TEST.rc
//
#define IDR_MENU1                       101
#define ID_WINDOW_CASCADE40001          40001
#define ID_WINDOW_TILE                  40002

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        102
#define _APS_NEXT_COMMAND_VALUE         40003
#define _APS_NEXT_CONTROL_VALUE         1001
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

How can I get the #define statement for "ID_WINDOW_CASCADE" look like the #define statement for "ID_WINDOW_TILE". I tried to manually remove the "40001" but then my code does not react when I select "Window-Cascade" during run-time. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites

This topic is 3463 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this