我在资源里导入一张BMP图片,ID:IDB_TOOLBAR_BG在程序中加入语句:
CBitmap bmpBg;
bmpBg.LoadBitmap( IDB_TOOLBAR_BG );编译时却提示:
xxxxxx.cpp(150) error C2065: 'IDB_TOOLBAR_BG' : undeclared identifier
CBitmap bmpBg;
bmpBg.LoadBitmap( IDB_TOOLBAR_BG );编译时却提示:
xxxxxx.cpp(150) error C2065: 'IDB_TOOLBAR_BG' : undeclared identifier
这么用