![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mfc
tianxiayijia1998
这个作者很懒,什么都没留下…
展开
-
手工创建mfc程序的几个步骤
1、从CWinApp类派生一个应用程序类 2、使用派生类定义的全局变量theApp 3、在预定义头文件“stdafx.h”中禁用“windows.h”,取而代之是以afx开头的MFC头文件。 4、便已设置中选择“Use MFC in a static Library” 5、在CWinApp派生类中,重写InitInstance函数作为程序启动代码。原创 2015-10-05 15:03:04 · 505 阅读 · 0 评论 -
MFC之时间类demo
void CTmDlg::OnTestTime() { CTime t=CTime::GetCurrentTime(); int nYear = t.GetYear(); int nMonth = t.GetMonth(); int nDay = t.GetDay(); int nHour = t.GetHour(); int nMin原创 2015-10-05 14:22:11 · 376 阅读 · 0 评论