Location:
Search - enumWindows
Search list
Description: 最近看了些关于QQ的文章,有所思考,做了个小工具可以群体发送QQ消息,可以指定发送次数(有点象消息炸弹)用到了EnumWindows,FindWindows()等一系列函数,穷举对话框,可以查找到QQ对话框层,和一些分层以及字符串处理。代码在VC6,WIN200SERVER调试通过。-recently read some articles on the QQ, some thought, a small tool can send QQ news groups can specify this number (somewhat like a bomb news) uses EnumWindows, FindWindows () a series of other functions, exhaustive dialog box, you can layer dialog to QQ, and some stratification and string handling. Code VC6, WIN200SERVER debugging through.
Platform: |
Size: 30417 |
Author: 锐锐 |
Hits:
Description: 枚举所有窗口,将起最小化,没有其他什么了。-Enumerate all the windows will have the smallest, no other anything.
Platform: |
Size: 27305 |
Author: 曾潜明 |
Hits:
Description: 可以实现qq消息群发功能。
可以指定发送次数(有点象消息炸弹)用到了EnumWindows,FindWindows()等一系列函数,穷举对话框,可以查找到QQ对话框层,和一些分层以及字符串处理。代码在VC6,WIN200SERVER调试通过。-can achieve qq news listserv. This number can be designated (somewhat like a bomb news) uses EnumWindows, FindWindows () a series of other functions, exhaustive dialog box, you can layer dialog to QQ, and some stratification and string handling. Code VC6, WIN200SERVER debugging through.
Platform: |
Size: 41308 |
Author: 樊小毅 |
Hits:
Description: 我们在编写程序时,常常遇到的一件事情就是要准确列出系统中所有正在运行的程序或者进程。Windows 任务管理器就是这样的一个程序。它既能列出运行的桌面应用程序,又能列出系统中所有运行的进程。那么,我们在程序中如何实现这样的任务,该程序实现此功能
关于代码
本文附带的代码例子将 PSAPI 和 ToolHelp32 封装到一个名为 EnumProcs() 的函数中。该函数的工作原理类似 EnumWindows(),有一个指向回调函数的指针,并要对该函数进行重复调用,针对系统中的每个进程调用一次。另一个参数是用户定义的 lParam。下面是该函数的声明:BOOL WINAPI EnumProcs( PROCENUMPROC lpProc, LPARAM lParam )
使用该函数时,要象下面这样声明回调函数:
BOOL CALLBACK Proc( DWORD dw, WORD w16, LPCSTR lpstr, LPARAM lParam )
参数 dw 包含 ID,“w16”是16位任务的任务号,如果为32位进程则为0(在 Windows 95 中总是0),参数lpstr 指向文件名,lParam 是用户定义的,要被传入 EnumProcs()。
EnumProcs() 函数通过显示链接使用 ToolHelp32 和 PSAPI,而非通常所用的隐式链接。之所以要这样做,主要是为了让代码能够在二进制一级兼容,从可以在所有 Win32 操作系统平台上运行。
-us in the preparation of procedures, often encountered one thing is to accurately list all systems are running program or process. Windows Task Manager is one such procedure. It not only sets out the running desktop applications, the system can list all the running processes. Then we process of how to achieve this task, the program code for this function is incidental to the code examples and ToolHelp32 PSAPI Packaging entitled to a EnumProcs () function. This function is similar to the principle EnumWindows (), is a pointer to a callback function pointers and to repeat this function call against each of the system called a process. Another parameter is the user-defined lParam. Below is the function of the statement : BOOL WINAPI EnumProcs (PROCENUMPROC lpProc. LPARAM lParam) to use this f
Platform: |
Size: 3544 |
Author: wwwwppp |
Hits:
Description: Enumerate Windows control and components
Platform: |
Size: 2964 |
Author: Karr Wang |
Hits:
Description: CFile CWinApp CString CloseHandle GetCurrentProcessId CallNextHookEx GetForegroundWindow SendMessage GetAsyncKeyState ZeroMemory GetKeyNameText SetWindowsHookEx UnhookWindowsHookEx EnumWindowsProc GetProp EnumWindows LoadLibrary GetProcAddress ShowWindow CDialog CDataExchange CWnd DestroyIcon LoadIcon SetProp GetSystemMenu CMenu LoadString AppendMenu CFileFind CreateFile IsIconic CPaintDC GetSystemMetrics CRect GetClientRect DrawIcon GetModuleFileName RegOpenKey RegSetValueEx
Platform: |
Size: 1428 |
Author: gulin |
Hits:
Description: 如何获取ie地址和更改
Option Explicit
Private Declare Function EnumWindows Lib \"user32\" (ByVal lpEnumFunc As Any, ByVal lParam As Long) As Long
Start the enumeration.
Private Sub cmdFindAddress_Click()
lblAddress.Caption = \"\"
EnumWindows AddressOf EnumProc, 0
End Sub
Private Sub Form_Load()
End Sub
Platform: |
Size: 3274 |
Author: nyoyo |
Hits:
Description: enumwindows 的一个很简单的例子 使某个窗口靠在最前, vc7编译-enumwindows a very simple example to make a leaning front window, vc7 compiler
Platform: |
Size: 44432 |
Author: 张原 |
Hits:
Description: enumwindows 的一个很简单的例子 使某个窗口靠在最前, vc7编译-enumwindows a very simple example to make a leaning front window, vc7 compiler
Platform: |
Size: 44032 |
Author: 张原 |
Hits:
Description: 枚举所有窗口,将起最小化,没有其他什么了。-Enumerate all the windows will have the smallest, no other anything.
Platform: |
Size: 33792 |
Author: 曾潜明 |
Hits:
Description: 我们在编写程序时,常常遇到的一件事情就是要准确列出系统中所有正在运行的程序或者进程。Windows 任务管理器就是这样的一个程序。它既能列出运行的桌面应用程序,又能列出系统中所有运行的进程。那么,我们在程序中如何实现这样的任务,该程序实现此功能
关于代码
本文附带的代码例子将 PSAPI 和 ToolHelp32 封装到一个名为 EnumProcs() 的函数中。该函数的工作原理类似 EnumWindows(),有一个指向回调函数的指针,并要对该函数进行重复调用,针对系统中的每个进程调用一次。另一个参数是用户定义的 lParam。下面是该函数的声明:BOOL WINAPI EnumProcs( PROCENUMPROC lpProc, LPARAM lParam )
使用该函数时,要象下面这样声明回调函数:
BOOL CALLBACK Proc( DWORD dw, WORD w16, LPCSTR lpstr, LPARAM lParam )
参数 dw 包含 ID,“w16”是16位任务的任务号,如果为32位进程则为0(在 Windows 95 中总是0),参数lpstr 指向文件名,lParam 是用户定义的,要被传入 EnumProcs()。
EnumProcs() 函数通过显示链接使用 ToolHelp32 和 PSAPI,而非通常所用的隐式链接。之所以要这样做,主要是为了让代码能够在二进制一级兼容,从可以在所有 Win32 操作系统平台上运行。
-us in the preparation of procedures, often encountered one thing is to accurately list all systems are running program or process. Windows Task Manager is one such procedure. It not only sets out the running desktop applications, the system can list all the running processes. Then we process of how to achieve this task, the program code for this function is incidental to the code examples and ToolHelp32 PSAPI Packaging entitled to a EnumProcs () function. This function is similar to the principle EnumWindows (), is a pointer to a callback function pointers and to repeat this function call against each of the system called a process. Another parameter is the user-defined lParam. Below is the function of the statement : BOOL WINAPI EnumProcs (PROCENUMPROC lpProc. LPARAM lParam) to use this f
Platform: |
Size: 3072 |
Author: wwwwppp |
Hits:
Description: Enumerate Windows control and components
Platform: |
Size: 3072 |
Author: Cybermania |
Hits:
Description: 如何获取ie地址和更改
Option Explicit
Private Declare Function EnumWindows Lib "user32" (ByVal lpEnumFunc As Any, ByVal lParam As Long) As Long
Start the enumeration.
Private Sub cmdFindAddress_Click()
lblAddress.Caption = ""
EnumWindows AddressOf EnumProc, 0
End Sub
Private Sub Form_Load()
End Sub
-Ie how to obtain a change of address and Option ExplicitPrivate Declare Function EnumWindows Lib user32 (ByVal lpEnumFunc As Any, ByVal lParam As Long) As Long Start the enumeration.Private Sub cmdFindAddress_Click () lblAddress.Caption = EnumWindows AddressOf EnumProc, 0End SubPrivate Sub Form_Load () End Sub
Platform: |
Size: 3072 |
Author: nyoyo |
Hits:
Description: 枚举当前操作系统(windos XP)中存在的所有窗口-Enumerate the current operating system (windos XP) that exist in all the windows
Platform: |
Size: 1902592 |
Author: skyfly |
Hits:
Description: EnumWindows API使用说明,并有回调函数的例子-Use EnumWindows API and callback function example
Platform: |
Size: 9216 |
Author: zsd |
Hits:
Description: 程序功能:
操纵大智慧专业版打开指定股票信息。
知识点:
1、windows窗口查找 EnumWindows(...)
2、虚拟按键,模拟键盘SendInput(...)-Program features: Manipulating Great Wisdom Professional Edition to open the specified stock information. Knowledge Points: 1, windows search window EnumWindows (...) 2, the virtual buttons, analog keyboards SendInput (...)
Platform: |
Size: 31744 |
Author: guoyufei |
Hits:
Description: 使用 EnumWindows API 函数来检查每个正在运行的窗口。 使用 GetWindowText 来确定每个窗口的标题。 当发现目标窗口时,在 programn 使用 SendMessage,将关闭自身的目标。-Use the EnumWindows API function to examine each running window. Use
GetWindowText to determine each window s title. When it finds the target window, the programn uses SendMessage to make the target close itself.
Platform: |
Size: 3072 |
Author: LuckierMa |
Hits:
Description: 自己写的一个小工具,以树的方式用于列举指的进程的窗体信息,非常实用-just a tool for list all windows object s information by tree
Platform: |
Size: 234496 |
Author: 李张张 |
Hits:
Description: VC++利用EnumWindows函数获得桌面所有窗口句柄的实例演示-VC++ using EnumWindows function to obtain the desktop window handle of the instance of the presentation of all
Platform: |
Size: 1873920 |
Author: xu7103224 |
Hits:
Description: VC++ 枚举桌面所有顶层窗口,列出窗口类名和窗口标题等-Desktop VC++ enumeration of all top-level window, listing the window class name and window title, etc.
Platform: |
Size: 11264 |
Author: sccd111 |
Hits: