CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - WM_CLOSE
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - WM_CLOSE - List
[
Windows Develop
]
WinKiller
DL : 0
窗口杀手 在使用win2000/xp的时候发现,老是出现n个输入法的窗口,不能关掉,又总在最上面,看着很不爽,就写了这个小程序来把他们关掉。 方法很简单,就是FindWindow()在PostMessage(WM_CLOSE,...),没有技术含量,仅仅图实用而已。-window Win2000/xp killer in the use of the time found that there always n input window, we can not switch off, the total at the top, watching very quickly wrote a small procedure to them to switch off. It is very simple, FindWindow () PostMessage (WM_CLOSE etc. no technical content, it only practical plan.
Date
: 2008-10-13
Size
: 12.67kb
User
:
DoItFreely
[
Process-Thread
]
EnumPeb
DL : 0
进程的PEB在以前os上是个定数,但在xp后,有所变化,这个程序可以动态获得各个版本下不同进程的PEB,有效解决硬编码问题。获得了peb,就可以获得进程的命令行参数,获得了命令行参数就知道对应进程打开了什么文件,然后给该进程发送WM_CLOSE,就可以关闭该进程打开的文件了,是不是很神奇,但这里只介绍了动态获得PEB的方法。
Date
: 2008-10-13
Size
: 31.05kb
User
:
张力
[
Windows Develop
]
WinKiller
DL : 0
窗口杀手 在使用win2000/xp的时候发现,老是出现n个输入法的窗口,不能关掉,又总在最上面,看着很不爽,就写了这个小程序来把他们关掉。 方法很简单,就是FindWindow()在PostMessage(WM_CLOSE,...),没有技术含量,仅仅图实用而已。-window Win2000/xp killer in the use of the time found that there always n input window, we can not switch off, the total at the top, watching very quickly wrote a small procedure to them to switch off. It is very simple, FindWindow () PostMessage (WM_CLOSE etc. no technical content, it only practical plan.
Date
: 2025-07-11
Size
: 12kb
User
:
DoItFreely
[
Process-Thread
]
EnumPeb
DL : 0
进程的PEB在以前os上是个定数,但在xp后,有所变化,这个程序可以动态获得各个版本下不同进程的PEB,有效解决硬编码问题。获得了peb,就可以获得进程的命令行参数,获得了命令行参数就知道对应进程打开了什么文件,然后给该进程发送WM_CLOSE,就可以关闭该进程打开的文件了,是不是很神奇,但这里只介绍了动态获得PEB的方法。-err
Date
: 2025-07-11
Size
: 31kb
User
:
张力
[
Windows Develop
]
2
DL : 0
通过EnumWindows,GetWindowText,SendMessage, 三个API,向窗口标题第一个字为‘电’字的顶层窗口发送WM_CLOSE消息-By EnumWindows, GetWindowText, SendMessage, the three API, the first word to the window title for the ' power' words to send WM_CLOSE message on top of the window
Date
: 2025-07-11
Size
: 1kb
User
:
孙悟空
[
Dialog_Window
]
Demo
DL : 0
如何关闭窗口 调用 CWnd::SendMessage函数发送WM_CLOSE消息-How to Close call CWnd:: SendMessage function sends the WM_CLOSE message
Date
: 2025-07-11
Size
: 3.39mb
User
:
王刚
[
OS program
]
WindowKiller
DL : 0
WindowKiller:鼠标拖动指定窗体,并向其PostMessage发送WM_CLOSE消息将其关闭。运行于VC++.net环境的源代码。-WindowKiller: mouse to drag the specified form to the PostMessage to send WM_CLOSE message to close it. Run in VC++ net environment of the source code.
Date
: 2025-07-11
Size
: 130kb
User
:
黄小伟
[
Other
]
KILLAPP
DL : 0
vb应用程序终止另一个程序源代码实例程序-Dim buf As String* 256 Dim title As String Dim length As Long Get the window s title. length = GetWindowText(app_hWnd, buf, Len(buf)) title = Left$(buf, length) See if this is the target window. If InStr(title, Target) <> 0 Then Kill the window. SendMessage app_hWnd, WM_CLOSE, 0, 0 End If Continue searching. EnumCallback = 1
Date
: 2025-07-11
Size
: 3kb
User
:
wxj
[
VC/MFC
]
222
DL : 0
Public Function Hook_Func(ByVal iCode As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Select Case iCode Case HCBT_CREATEWND Case HCBT_DESTROYWND Case HCBT_ACTIVATE Dim WinText As String Dim ClsName As String 获取窗口标题及类名 WinText = GetWindowTextString(wParam) ClsName = GetGetClassNameString(wParam) Debug.Print ClsName, GetWindowTextString(wParam) VB的弹窗类名 If ClsName = #32770 Then 发送关闭消息 PostMessage wParam, WM_CLOSE, 0, 0 End If End Select Hook_Func = CallNextHookEx(hHook, iCode, wParam, lParam) End Function-Public Function Hook_Func(ByVal iCode As Long, ByVal wParam As Long, ByVal lParam As Long) As Long Select Case iCode Case HCBT_CREATEWND Case HCBT_DESTROYWND Case HCBT_ACTIVATE Dim WinText As String Dim ClsName As String 获取窗口标题及类名 WinText = GetWindowTextString(wParam) ClsName = GetGetClassNameString(wParam) Debug.Print ClsName, GetWindowTextString(wParam) VB的弹窗类名 If ClsName = #32770 Then 发送关闭消息 PostMessage wParam, WM_CLOSE, 0, 0 End If End Select Hook_Func = CallNextHookEx(hHook, iCode, wParam, lParam) End Function
Date
: 2025-07-11
Size
: 14kb
User
:
renchao
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.