[已解决]求@TrayIconFlashing用法?
本帖最后由 oceanwind 于 2014-1-15 12:34 编辑想侦测到某托盘图闪动时作个响应,搜坛子上讲@TrayIconFlashing,不知道怎样用?
求个例子
谢谢先
用P版的代码搞定
#NoTrayIcon
#include <RTApiHook32.au3>
$iPid = ProcessExists("googletalk.exe")
$hProcess = _RTOpenProcess($iPid)
$pShell_NotifyIcon= _RTGetProcAddress("Shell32.dll", "Shell_NotifyIcon")
$pShell_NotifyIconA = _RTGetProcAddress("Shell32.dll", "Shell_NotifyIconA")
$pShell_NotifyIconW = _RTGetProcAddress("Shell32.dll", "Shell_NotifyIconW")
While 1
_Shell_NotifyIcon_CallBack($hProcess, $pCallInfo)
EndIf
Func _Shell_NotifyIcon_CallBack($hProcess, $pCallInfo)
If (_RTApiHookReadParam($hProcess, $pCallInfo, 1, "dword") = 1) Then
MsgBox(0,"","ss")
EndIf
EndFunc ;==>_Shell_NotifyIcon_CallBack
页:
[1]