Window API
烈火蜓蜻
山一程,水一程,身向榆关那畔行,夜深千帐灯。
风一更,雪一更,聒碎乡心梦不成,故园无此声。
展开
-
SendMessage用法
函数功能:该函数将指定的消息发送到一个或多个窗口。此函数为指定的窗口调用窗口程序,直到窗口程序处理完消息再返回。该函数是应用程序和应用程序之间进行消息传递的主要手段之一。 函数原型:LRESULT SendMessage(HWND hWnd,UINT Msg,WPARAM wParam,LPARAM IParam); 参数: hWnd:其窗口程序将接收消息的窗转载 2012-04-10 18:07:04 · 2510 阅读 · 0 评论 -
WinAPI: FindWindow、FindWindowEx - 查找窗口
FindWindow( lpClassName, {窗口的类名} lpWindowName: PChar {窗口的标题}): HWND; {返回窗口的句柄; 失败返回 0}//FindWindowEx 比 FindWindow 多出两个句柄参数:FindWindowEx( Parent: HWND; {要查找子窗口的父窗口句柄}转载 2012-04-10 18:08:10 · 4460 阅读 · 0 评论 -
VBS自动按键大全,vbs基本和特殊按键
CreateObject("Wscript.Shell") SendKeys [String]脚本实现自动按键盘的某个键 过程是:按下F5间隔50毫秒松开F5间隔3000毫秒按下F5间隔50毫秒松开F5回到第一步批处理是不行的 用VBS 很简单 例子如下Set objShell = CreateObject("Wscript.Shell"转载 2012-06-06 21:06:22 · 22853 阅读 · 1 评论 -
KeyBoard Hook
/* **************************************************************** * author : ShianYuan * email : [email protected], [email protected] * clr : 4.0.30319.34014 * itemname : KeyboardHook *原创 2014-09-25 17:00:12 · 2769 阅读 · 0 评论 -
SetWindowsHookEx 详解(四)所有结构体
MOUSEHOOKSTRUCT structureContains information about a mouse event passed to a WH_MOUSE hook procedure,MouseProc. SyntaxC++Copytypedef struct tagMOUSEHOOKSTRUCT { POIN转载 2014-09-28 18:07:10 · 7615 阅读 · 0 评论 -
SetWindowsHookEx 详解(一)
ParametersidHook [in]Type: intThe type of hook procedure to be installed. This parameter can be one of the following values.ValueMeaningWH_CALLWNDPROC4Insta转载 2014-09-28 16:56:11 · 10307 阅读 · 0 评论 -
SetWindowsHookEx 详解(二)
类型: WH_FOREGROUNDIDLE值 11,回调参数如下转载 2014-09-28 17:03:17 · 2276 阅读 · 0 评论 -
SetWindowsHookEx 详解(三)
类型: WH_MOUSE值7,回调参数如下MouseProc callback functionAn application-defined or library-defined callback function used with theSetWindowsHookEx function. The system calls this function whe转载 2014-09-28 17:05:20 · 1957 阅读 · 0 评论