码迷,mamicode.com
首页 >  
搜索关键字:hwnd    ( 761个结果
vc++基础班[26]---进程的相关操作
①、ShellExecute 进行进程的创建,属于 shell api://int iRet = (int)ShellExecute(m_hWnd, _T("open"), _T("NOTEPAD.EXE"), _T("C:\\123.txt"), NULL, SW_SHOW);int iRet =...
分类:编程语言   时间:2015-01-23 10:46:23    阅读次数:215
FindWindowEx使用方法
函数功能:该函数获得一个窗体的句柄,该窗体的类名和窗体名与给定的字符串相匹配。这个函数查找子窗体,从排在给定的子窗体后面的下一个子窗体開始。在查找时不区分大写和小写。函数原型:HWND FindWindowEx(HWND hwndParent,HWND hwndChildAfter,LPCTSTR ...
分类:Windows程序   时间:2015-01-22 15:16:51    阅读次数:268
GetMessage()和PeekMessage()区别
GetMessage()原型:BOOL GetMessage(LPMSG lpMsg, HWND hWNd, UINT wMsgFilterMin, UINT wMsgFilterMax);Retrieves a message from the calling threads queque. Th...
分类:其他好文   时间:2015-01-21 14:42:22    阅读次数:115
MFC m_hWnd 和 this指针
m_hWnd 和 this指针m_hWnd①m_hWnd这个成员变量,最早是定义在类CWnd中,而且是类CWnd的第一个数据成员,先看一下MSDN的解析:The handle of the Windows window attached to this CWnd. The m_hWnd data m...
分类:编程语言   时间:2015-01-20 17:44:49    阅读次数:268
简单的编辑器
#include LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPreInstance,LPSTR lpCmdLine,int nShowCmd)...
分类:其他好文   时间:2015-01-19 22:13:54    阅读次数:190
Ex Note
WinMainCallback:LRESULT CLoginProcess::DefMainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)case WM_PAINT: |m_Progress == PRG_PATCH |Re.....
分类:其他好文   时间:2015-01-19 20:51:25    阅读次数:328
九九乘法表
#include#define TextHeight 20#define TextWdith 80LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hP...
分类:其他好文   时间:2015-01-18 17:07:09    阅读次数:236
access 2007 vba 开发中学到的知识(三)
打开文件或程序'API函数声明Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lp...
分类:数据库   时间:2015-01-18 13:10:01    阅读次数:232
SDK编程模板
#includeLRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPreInstance,LPSTR lpCmdLine,int nShowCmd){...
分类:其他好文   时间:2015-01-16 18:20:50    阅读次数:182
MFC调用批处理文件(.bat)
通过MFC 对话框的点击按钮打开 服务控制面板 方法一: system("window命令") 比如: system("services.msc") 打开服务控制面板 方法二: 通过ShellExecute()函数 #include ShellExecute函数原型及参数含义如下: ShellExecute( hWnd: HWND; //{指定父窗口句柄} ...
分类:编程语言   时间:2015-01-15 16:08:29    阅读次数:243
761条   上一页 1 ... 51 52 53 54 55 ... 77 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!