MFC/WIWIndows常用API--1
2007-04-10 21:05
417 查看
AfxAbort---无条件的终止一个应用程序。
AfxBeginThread--创建并执行线程。
AfxEndThread--终止当前执行的线程。
AfxMessageBox--显示windows消息框
AfxGetApp--获得指向应用程序对象的指针。
AfxGetAppName--get the name of the application
AfxGetMainWnd---get the pointer to the main window of the application
AfxGetInstanceHandle--get the handle of current application
AfxRegisterWndClass---register the custom wndclass for MFC
注意:在MFC中,每个对象都包含了对象的句柄。
常用设备描述表类:
CClientDC dc(this--null)-----客户区设备描述表
CWindowDC dc(null)---注意null的特殊用途---屏幕DC---屏幕抓图就可以用到**********************
CPaintDC dc(this)---只能在MFC的OnPaint消息处理函数中使用。
CMetaFileDC---向GDI元文件画图
AfxBeginThread--创建并执行线程。
AfxEndThread--终止当前执行的线程。
AfxMessageBox--显示windows消息框
AfxGetApp--获得指向应用程序对象的指针。
AfxGetAppName--get the name of the application
AfxGetMainWnd---get the pointer to the main window of the application
AfxGetInstanceHandle--get the handle of current application
AfxRegisterWndClass---register the custom wndclass for MFC
注意:在MFC中,每个对象都包含了对象的句柄。
常用设备描述表类:
CClientDC dc(this--null)-----客户区设备描述表
CWindowDC dc(null)---注意null的特殊用途---屏幕DC---屏幕抓图就可以用到**********************
CPaintDC dc(this)---只能在MFC的OnPaint消息处理函数中使用。
CMetaFileDC---向GDI元文件画图
相关文章推荐
- MFC/WIWIndows常用API--3
- MFC/WIWIndows常用API--2
- 对MFC封装Windows通讯API的研究
- Windows 文件、目录操作编程常用API
- windows常用api
- 对MFC 封 装Windows 通 讯API 的 研 究
- Windows 文件、目录操作编程 常用API
- Windows 60个常用API
- windows下socket常用API
- Windows平台下常用的串行通信串口编程API
- Windows 文件、目录操作编程常用API
- windows下socket常用API
- Windows 常用API汇总
- C# Windows Api的一些方法 封装 以及 常用参数
- Windows 60个常用API
- Windows中的桌面编程 常用API介绍——CreateDesktop
- MFC常用API
- windows 常用 API
- windows常用API
- Windows 60个常用API