我创建了一个基于对话框的mfc,拉了几个控件,但为什么在类向导里却没有那些控件的id呢,我想添加消息都不行了,这是什么情况啊,以前我也碰到过,但没解决,希望大哥帮个忙!谢谢

解决方案 »

  1.   

    //{{NO_DEPENDENCIES}}
    // Microsoft Developer Studio generated include file.
    // Used by game.rc
    //
    #define IDM_ABOUTBOX                    0x0010
    #define IDD_ABOUTBOX                    100
    #define IDS_ABOUTBOX                    101
    #define IDD_LOGIN                       102
    #define IDR_MAINFRAME                   128
    #define IDC_LOGIN                       1000
    #define IDC_USERID                      1001
    #define IDC_PASSWORD                    1002
    #define IDC_CHECK_PASSWORD              1003
    #define IDC_EDIT3                       1004
    #define IDC_REGISTER                    1005
    #define IDC_SETPROXY                    1006
    #define IDC_STATIC1                     1007
    #define IDC_STATIC2                     1008
    #define IDC_STATIC3                     1009
    #define IDC_STATIC4                     1010// Next default values for new objects
    // 
    #ifdef APSTUDIO_INVOKED
    #ifndef APSTUDIO_READONLY_SYMBOLS
    #define _APS_NEXT_RESOURCE_VALUE        129
    #define _APS_NEXT_COMMAND_VALUE         32771
    #define _APS_NEXT_CONTROL_VALUE         1011
    #define _APS_NEXT_SYMED_VALUE           101
    #endif
    #endif
    我改了,资源文件是这样的,但还是没有