Resource.h in Windows API simple app

Posted by nXqd on Stack Overflow See other posts from Stack Overflow or by nXqd
Published on 2010-03-14T14:09:16Z Indexed on 2010/03/14 14:15 UTC
Read the original article Hit count: 277

Filed under:

there'are these lines in the sample Win32 app created default by VS. Can you explain why they're just numbers, and it's meaning :)

//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Testing Project.rc
//

#define IDS_APP_TITLE           103

#define IDR_MAINFRAME           128
#define IDD_TESTINGPROJECT_DIALOG   102
#define IDD_ABOUTBOX            103
#define IDM_ABOUT               104
#define IDM_EXIT                105
#define IDI_TESTINGPROJECT          107
#define IDI_SMALL               108
#define IDC_TESTINGPROJECT          109
#define IDC_MYICON              2
#ifndef IDC_STATIC
#define IDC_STATIC              -1
#endif
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS

#define _APS_NO_MFC                 130
#define _APS_NEXT_RESOURCE_VALUE    129
#define _APS_NEXT_COMMAND_VALUE     32771
#define _APS_NEXT_CONTROL_VALUE     1000
#define _APS_NEXT_SYMED_VALUE       110
#endif
#endif

© Stack Overflow or respective owner

Related posts about win32