按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!
#0037 char* classname;
#0038 } classinfo'' = {
#0039 CCmdTargetid; 〃CCmdTarget〃;
#0040 CWinThreadid; 〃CWinThread〃;
#0041 CWinAppid; 〃CWinApp〃;
#0042 CMyWinAppid; 〃CMyWinApp〃;
#0043 CWndid; 〃CWnd〃;
#0044 CFrameWndid; 〃CFrameWnd〃;
#0045 CMyFrameWndid; 〃CMyFrameWnd〃;
#0046 CViewid; 〃CView〃;
#0047 CMyViewid; 〃CMyView〃;
#0048 CDocumentid; 〃CDocument〃;
#0049 CMyDocid; 〃CMyDoc〃;
#0050 0; 〃 〃
#0051 };
#0052
#0053 for (int i=0; classinfo'i'。classid != 0; i++)
#0054 {
#0055 if (classinfo'i'。classid == lpEntry…》nID)
#0056 {
#0057 cout nID InitApplication();
#0081 pApp…》InitInstance();
#0082 pApp…》Run();
#0083
#0084 CMyDoc* pMyDoc = new CMyDoc;
#0085 CMyView* pMyView = new CMyView;
#0086 CFrameWnd* pMyFrame = (CFrameWnd*)pApp…》m_pMainWnd;
#0087
#0088 // output Message Map construction
#0089 AFX_MSGMAP* pMessageMap = pMyView…》GetMessageMap();
#0090 cout