编译器:vs.net 7.0
OS:    2003建立一个单文档 资源管理器样式 的MFC
想把菜单换掉 在这里下载了NEWMENU:http://www.podetti.com/newmenu/按照说明 在stdAfx.h 末尾加上#include "newmenu.h"
编译 出错11个:
33 error LNK2019: 无法解析的外部符号 "public: static unsigned int __cdecl CNewMenu::SetMenuDrawMode(unsigned int)" (?SetMenuDrawMode@CNewMenu@@SAII@Z) ,该符号在函数 "public: virtual int __thiscall CMy33App::InitInstance(void)" (?InitInstance@CMy33App@@UAEHXZ) 中被引用
……在vcCode上看了下使用说明:
]=========================================
怎样在单文档程序中使用CNewMenu
1.在创建对话框的InitInstance函数里加入:
// Set drawing style of all menus to XP-Mode
CNewMenu::SetMenuDrawMode(CNewMenu::STYLE_XP);
2.在你的工程中用CNewDialog代替CDialog。
3.用在声明和说明文件中用CNewFrameWnd代替CFrameWnd。
4.为了在菜单中使用bitmap,你要在int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)函数末尾加上下面的代码:
m_DefaultNewMenu.LoadToolBar(IDR_MAINFRAME);
5.最后不要忘记在你的工程中加入NewMenu.h和NewMenu.cpp文件,并且在stdafx.h中声明NewMenu.h 

===============================================不懂  有没有人搞过 教教菜鸟!  
我已经把我所有的分都拿出来了!

解决方案 »

  1.   

    1.在创建对话框的InitInstance函数里加入:
    // Set drawing style of all menus to XP-Mode
    CNewMenu::SetMenuDrawMode(CNewMenu::STYLE_XP);
    2.在你的工程中用CNewDialog代替CDialog。
    3.用在声明和说明文件中用CNewFrameWnd代替CFrameWnd。
    都做了5.最后不要忘记在你的工程中加入NewMenu.h和NewMenu.cpp文件,并且在stdafx.h中声明NewMenu.h 
    的意思是不是只要在stdafx.h后面 #include "NewMenu.h"就行了?为什么还是在连接的时候说“无法解析的外部……”