- 博客(3)
- 资源 (8)
- 收藏
- 关注
原创 MFC学习笔记(4)
<br /><br />2011-5-4<br /> 在哪里产生窗口?<br />在CMainFrame 类的成员函数:<br />virtual BOOL PreCreateWindow(CREATESTRUCT& cs);在哪里写处理消息的方法?<br />在InitInstance() 方法的最后, 有:<br /> // 主窗口已初始化,因此显示它并对其进行更新<br /> pMainFrame->ShowWindow(m_nCmdShow);<br />
2011-05-06 09:18:00 880
原创 MFC学习笔记(3)
<br />为什么Visual Studio 2008 创建的MFC程序里没有 WndProc 或 WinMain 函数?<br /> <br /> <br />看到很多MFC入门教程里都说 WndProc 和 WinMain函数是MFC程序的入口程序。但是用 Visual Studio 2008 创建的MFC程序里默认找不到这两个函数。那到底默认程序一开始是从哪个函数进入的呢?<br /> <br />这个涉及到MFC对函数的封装,其实MFC把Winmain之类的函数都封装在一个类里面了,程序里面有一行C
2011-05-03 23:14:00 2019
原创 关于CString, LPCTSTR, _TCHAR 转化成 char 的问题(简单解决办法)
关于CString, LPCTSTR, _TCHAR, char 互相转化的问题首先,CString 等于LPCTSTR 等于 const _TCHAR *以下这样写是没问题的: CString cstr("sdf"); LPCTSTR lpctStr = cstr ; const _TCHAR* tchar = lpctStr ;而CString 到 char 的转化,这个问题说得比较复杂。VS2008 默认的创建项目里,这样写是会出错的:
2011-05-03 11:36:00 1437
托福OG(第三版) The.Official.Guide.to.the.TOEFL.iBT,Third.Edition
2010-07-23
Concrete Mathematics
2010-07-02
用Rational RequisitePro写用例规约(Use Case Specification)的心得
2009-11-11
Struts.The.Complete.Reference.2nd.Edition
2009-10-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人