//{{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
resource.h file
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement