I wanted to use the enum type, to define these identifiers, so I the numbers are assigned automatically, but the compiler throws an error. Is it even possible to use the enum type instead of #define? If not, why? :-)
Thanks in advance.
Last edited by HellMaster22; September 20th, 2012 at 02:03 PM.
Ahhh, thanks. So there is no other choice then to use the preprocessor directive #define. Is there a way, how to use the enum? Because it would simplify the whole ID management... :-)
Last edited by HellMaster22; September 20th, 2012 at 02:23 PM.
Completing a little bit beyond the Igor's "period" , the "resource IDs management" can be done by changing _APS_NEXT_RESOURCE_VALUE, _APS_NEXT_COMMAND_VALUE, _APS_NEXT_CONTROL_VALUE, and _APS_NEXT_SYMED_VALUE, which can be found at the bottom of the resource.h file.
You can find info about them here: http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx.
Bookmarks