//
//
//
//
//
//
//
//
//
//
软件Tags:
易语言取托盘程序源码系统结构:取托盘句柄,取隐藏按钮句柄,模拟鼠标,按键,GetInfo,FindWindow,FindWindowEx,SendMessage,GetWindowRect,GetWindowThreadProcessId,OpenProcess,DuplicateHandle,GetCurrentProcess,CloseHandle,VirtualAllocEx,WriteProcessMemory,ReadProcessMemory,VirtualFreeEx2,SetCursorPos,mouse_event,GetDoubleClickTime,CreateWaitableTimerA,SetWaitableTimer,MsgWaitForMultipleObjects,GetCursorPos,keybd_event,MapVirtualKey, ======窗口程序集1 || ||------_按钮1_被单击 || ||------_列表框1_被双击 || ||------取托盘句柄 || ||------取隐藏按钮句柄 || ||------模拟鼠标 || ||------_延时 || ||------按键 || ||------__启动窗口_创建完毕 || ||------GetInfo || || ======调用的Dll || ||---[dll]------FindWindow || ||---[dll]------FindWindowEx || ||---[dll]------SendMessage || ||---[dll]------GetWindowRect || ||---[dll]------GetWindowThreadProcessId || ||---[dll]------OpenProcess || ||---[dll]------DuplicateHandle || ||---[dll]------GetCurrentProcess || ||---[dll]------CloseHandle || ||---[dll]------VirtualAllocEx || ||---[dll]------WriteProcessMemory || ||---[dll]------ReadProcessMemory || ||---[dll]------VirtualFreeEx2 || ||---[dll]------SetCursorPos || ||---[dll]------mouse_event || ||---[dll]------GetDoubleClickTime || ||---[dll]------CreateWaitableTimerA || ||---[dll]------SetWaitableTimer || ||---[dll]------MsgWaitForMultipleObjects || ||---[dll]------GetCursorPos || ||---[dll]------keybd_event || ||---[dll]------MapVirtualKey 调用的DLL命令: .DLL命令FindWindow,整数型,"user32","FindWindowA" .参数lpClassName,文本型 .参数lpWindowName,整数型 .DLL命令FindWindowEx,整数型,"user32","FindWindowExA" .参数hWnd1,整数型 .参数hWnd2,整数型 .参数lpsz1,文本型 .参数lpsz2 .DLL命令SendMessage,整数型,"user32","SendMessageA" .参数hwnd,整数型 .参数wMsg,整数型 .参数wParam,整数型,,要隐藏的图标,从0开始 .参数lParam,整数型,,Any型,根据需要可以设置成不同的类型 .DLL命令GetWindowRect,整数型,"user32.dll","GetWindowRect" .参数句柄,整数型 .参数大小,RECT,传址 .DLL命令GetWindowThreadProcessId,整数型,"user32.dll","GetWindowThreadProcessId" .参数hwnd,整数型 .参数lpdwProcessId,整数型,传址 .DLL命令OpenProcess,整数型,"kernel32.dll","OpenProcess" .参数dwDesiredAccessas,整数型 .参数bInheritHandle,整数型 .参数dwProcId,整数型 .DLL命令DuplicateHandle,整数型,"kernel32.dll","DuplicateHandle" .参数hSourceProcessHandle .参数hSourceHandle .参数hTargetProcessHandle .参数lpTargetHandle,,传址 .参数dwDesiredAccess .参数bInheritHandle .参数dwOptions .DLL命令GetCurrentProcess,整数型,"kernel32.dll","GetCurrentProcess" .DLL命令CloseHandle,整数型,"kernel32.dll","CloseHandle" .参数hObject .DLL命令VirtualAllocEx,整数型,"kernel32.dll","VirtualAllocEx" .参数hProcess .参数lpAddress,,,any .参数dwSize .参数flAllocationType .参数flProtect .DLL命令WriteProcessMemory,整数型,"kernel32.dll","WriteProcessMemory" .参数hProcess .参数lpBaseAddress,,,any .参数lpBuffer .参数nSize .参数lpNumberOfBytesWritten .DLL命令ReadProcessMemory,整数型,"kernel32.dll","ReadProcessMemory" .参数hProcess .参数lpBaseAddress,,,any .参数lpBuffer,,,any .参数nSize .参数lpNumberOfBytesWritten,,传址 .DLL命令VirtualFreeEx2,整数型,"kernel32.dll","VirtualFreeEx" .参数hProcess .参数lpAddress .参数dwSize .参数dwFreeType .DLL命令SetCursorPos,整数型,,"SetCursorPos" .参数X,整数型 .参数Y,整数型 .DLL命令mouse_event,,,"mouse_event",,user32.dll .参数dwFlags,整数型 .参数dx,整数型 .参数dy,整数型 .参数cButtons,整数型 .参数dwExtraInfo,整数型 .DLL命令GetDoubleClickTime,整数型,,"GetDoubleClickTime",公开,判断连续两次鼠标单击之间会被处理成双击事件的间隔时间以毫秒表示的双击时间 .DLL命令CreateWaitableTimerA,整数型,,"CreateWaitableTimerA" .参数lpTimerAttributes,整数型 .参数bManualReset,逻辑型 .参数lpTimerName,整数型 .DLL命令SetWaitableTimer,整数型,,"SetWaitableTimer" .参数hTimer,整数型 .参数pDueTime,LARGE_INTEGER .参数lPeriod,整数型 .参数pfnCompletionRoutine,整数型 .参数lpArgToCompletionRoutine,整数型 .参数fResume,逻辑型 .DLL命令MsgWaitForMultipleObjects,整数型,,"MsgWaitForMultipleObjects" .参数nCount,整数型 .参数pHandles,整数型,传址 .参数fWaitAll,逻辑型 .参数dwMilliseconds,整数型 .参数dwWakeMask,整数型 .DLL命令GetCursorPos,逻辑型,"user32.dll","GetCursorPos" .参数光标位置,坐标型,传址 .DLL命令keybd_event,整数型,,"keybd_event",,user32.dll这个函数模拟了键盘行动 .参数键代码,整数型,,bVk,欲模拟的虚拟键码 .参数键扫描码,整数型,,bScan,键的OEM扫描码 .参数标志值,整数型,,dwFlags,标志常数 .参数特定值,整数型,,dwExtraInfo,通常不用的一个值 .DLL命令MapVirtualKey,整数型,,"MapVirtualKeyA",公开,返回转换后的代码 .参数wCode,整数型,,代码值 .参数wMapType,整数型,,0--虚拟键码->扫描码;1--扫描码->虚拟键码;2-虚拟键码->ASCII值(未加Shift组合键)。
