《MFC程序开发参考大全》pdf和代码,完整的pdf和代码打包。
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 155786 2007-01-27 17:40 MFC程序开发参考大全mingrisoft 1 1DebugOriginApp.exe
....... 1512 2007-01-08 15:21 MFC程序开发参考大全mingrisoft 1 1Main.cpp
....... 3949 2007-01-08 14:44 MFC程序开发参考大全mingrisoft 1 1OriginApp.dsp
....... 543 2007-01-08 14:24 MFC程序开发参考大全mingrisoft 1 1OriginApp.dsw
....... 586 2007-01-09 16:21 MFC程序开发参考大全mingrisoft 1 2DebugAPPMODUL.sbr
....... 3654656 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCApp.bsc
....... 123009 2007-01-27 17:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCApp.exe
....... 0 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCApp.sbr
....... 0 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCAppDlg.sbr
....... 1376672 2007-01-09 16:11 MFC程序开发参考大全mingrisoft 1 2DebugStdAfx.sbr
....... 1458 2007-01-11 11:34 MFC程序开发参考大全mingrisoft 1 2MFCApp.cpp
....... 4286 2007-01-11 10:11 MFC程序开发参考大全mingrisoft 1 2MFCApp.dsp
....... 537 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2MFCApp.dsw
....... 1324 2007-01-10 15:04 MFC程序开发参考大全mingrisoft 1 2MFCApp.h
....... 5384 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2MFCApp.rc
....... 4255 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2MFCAppDlg.cpp
....... 1381 2007-01-12 13:01 MFC程序开发参考大全mingrisoft 1 2MFCAppDlg.h
....... 3579 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2ReadMe.txt
....... 5694 2007-01-11 09:01 MFC程序开发参考大全mingrisoft 1 2
es29.ico
....... 5694 2007-01-11 09:01 MFC程序开发参考大全mingrisoft 1 2
es30.ico
....... 1078 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2
esMFCApp.ico
....... 398 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2
esMFCApp.rc2
....... 774 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2
esource.h
....... 208 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2StdAfx.cpp
....... 1054 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2StdAfx.h
....... 1708 2007-03-30 16:49 MFC程序开发参考大全mingrisoft 1 3
ote.dsm
....... 163885 2007-01-06 10:03 MFC程序开发参考大全mingrisoft 2 1DebugExample.exe
....... 133 2007-01-06 09:13 MFC程序开发参考大全mingrisoft 2 1Example.cpp
....... 4544 2007-01-06 10:13 MFC程序开发参考大全mingrisoft 2 1Example.dsp
....... 539 2007-03-26 10:01 MFC程序开发参考大全mingrisoft 2 1Example.dsw
............此处省略2132个文件信息
#include “windows.h“
//窗口函数
LRESULT CALLBACK WNDFUN (HWND hWnd UINT msg WPARAM wparam LPARAM lparam)
{
switch (msg)
{
case WM_PAINT:
{
HDC hdc = GetDC(hWnd);
SetBkMode(hdcTRANSPARENT);
TextOut(hdc2020“明日科技有限公司“16);
DeleteDC(hdc);
break;
}
case WM_CLOSE:
{
DestroyWindow(hWnd);
break;
}
case WM_DESTROY:
{
PostQuitMessage(0);
break;
}
default:
return DefWindowProc(hWndmsgwparamlparam);
}
return 0;
}
//程序的进入点
int WINAPI WinMain(HINSTANCE hInstance HINSTANCE hPrevInstance
LPSTR lpCmdLine int nCmdShow)
{
//设计窗口类
WNDCLASS wndcls;
wndcls.style = CS_DBLCLKS|CS_VREDRAW|CS_HREDRAW;
wndcls.lpszMenuName = NULL;
wndcls.lpszClassName = “CustomWnd“;
wndcls.lpfnWndProc = WNDFUN;
wndcls.hInstance = GetModuleHandle(NULL);
wndcls.hIcon = NULL;
wndcls.hCursor = NULL;
wndcls.hbrBackground = (HBRUSH)GetStockobject(GRAY_BRUSH);
wndcls.cbClsExtra = 0;
wndcls.cbWndExtra = 0;
//注册窗口类
RegisterClass(&wndcls);
//创建窗口
HWND hwnd;
hwnd = CreateWindow(“CustomWnd““Win32App“WS_CAPTION|WS_OVERLAPPEDWINDOW|WS_SYSMENU5050500500NULLNULLwndcls.hInstanceNULL);
//显示窗口
ShowWindow(hwndSW_SHOW);
UpdateWindow(hwnd);
//进入消息循环
MSG msg;
while (GetMessage(&msgNULL00))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return msg.wParam;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 155786 2007-01-27 17:40 MFC程序开发参考大全mingrisoft 1 1DebugOriginApp.exe
....... 1512 2007-01-08 15:21 MFC程序开发参考大全mingrisoft 1 1Main.cpp
....... 3949 2007-01-08 14:44 MFC程序开发参考大全mingrisoft 1 1OriginApp.dsp
....... 543 2007-01-08 14:24 MFC程序开发参考大全mingrisoft 1 1OriginApp.dsw
....... 586 2007-01-09 16:21 MFC程序开发参考大全mingrisoft 1 2DebugAPPMODUL.sbr
....... 3654656 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCApp.bsc
....... 123009 2007-01-27 17:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCApp.exe
....... 0 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCApp.sbr
....... 0 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2DebugMFCAppDlg.sbr
....... 1376672 2007-01-09 16:11 MFC程序开发参考大全mingrisoft 1 2DebugStdAfx.sbr
....... 1458 2007-01-11 11:34 MFC程序开发参考大全mingrisoft 1 2MFCApp.cpp
....... 4286 2007-01-11 10:11 MFC程序开发参考大全mingrisoft 1 2MFCApp.dsp
....... 537 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2MFCApp.dsw
....... 1324 2007-01-10 15:04 MFC程序开发参考大全mingrisoft 1 2MFCApp.h
....... 5384 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2MFCApp.rc
....... 4255 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2MFCAppDlg.cpp
....... 1381 2007-01-12 13:01 MFC程序开发参考大全mingrisoft 1 2MFCAppDlg.h
....... 3579 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2ReadMe.txt
....... 5694 2007-01-11 09:01 MFC程序开发参考大全mingrisoft 1 2
es29.ico
....... 5694 2007-01-11 09:01 MFC程序开发参考大全mingrisoft 1 2
es30.ico
....... 1078 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2
esMFCApp.ico
....... 398 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2
esMFCApp.rc2
....... 774 2007-01-12 13:40 MFC程序开发参考大全mingrisoft 1 2
esource.h
....... 208 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2StdAfx.cpp
....... 1054 2007-01-09 15:51 MFC程序开发参考大全mingrisoft 1 2StdAfx.h
....... 1708 2007-03-30 16:49 MFC程序开发参考大全mingrisoft 1 3
ote.dsm
....... 163885 2007-01-06 10:03 MFC程序开发参考大全mingrisoft 2 1DebugExample.exe
....... 133 2007-01-06 09:13 MFC程序开发参考大全mingrisoft 2 1Example.cpp
....... 4544 2007-01-06 10:13 MFC程序开发参考大全mingrisoft 2 1Example.dsp
....... 539 2007-03-26 10:01 MFC程序开发参考大全mingrisoft 2 1Example.dsw
............此处省略2132个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)