文件名称:Get_the_Window
文件大小:5KB
文件格式:ZIP
更新时间:2015-10-14 09:36:08
Window FORM
Get the Window Title, Active Document, and tell if an App is Running after Shell Launching It Description: This application demonstrates how to get the window title of an application you started with the shell command. Once you have the Window title you are able to detect the name of the document currently being edited. For example "Joe.txt - Notepad" indicates that the user is editing a document titled "Joe.txt". This also detects the window handle of Notepad.exe after shell'ing so that would be usefull too. You can also tell if the task you started is still running or not. The following VB Commands Are Demonstrated: Msgbox Space Left Replace Shell The following Windows API Commands are also utilized: GetParent GetWindow GetWindowThreadProcessID FindWindow GetWindowText
【文件预览】:
Detects the Window Title and Current Document in Notepad
----modWindowTitle.bas(2KB)
----Notepad.vbp(2KB)
----Notepad.frm(4KB)
@PSC_ReadMe_41844_1.txt