大师还没来~~大师一般在水园里~~我先来两句吧:
1、FindWindow
2、CloseWindow具体实现方法~~~~~~等大师来好了~```~ 免得大师日后找我麻烦~~~
1、FindWindow
2、CloseWindow具体实现方法~~~~~~等大师来好了~```~ 免得大师日后找我麻烦~~~
解决方案 »
- DBGridEh和listView联动
- 关于控件数组的不明白,应该还有很多初学的朋友都不明白的问题 请高手们帮忙解答下!!
- DbGridEh中,adoQuery的Sql语句如果有order by,为什么点击标题排序会出错?
- 怎么将一个图片保存在Access数据库中?
- 用web broker,一个网页提交表单后,而接收的action的request里面的无任何参数!!!!这是怎么回事啊。在线等待,急
- 怎么访问另一个窗体
- delphi中有没有按“键、值”方式存储的类型?
- 多语言转换是如何实现的?
- 哪位高手告诉我如何在我的桌面上建立一个“注销”的快捷方式?
- 关于ListBox1的两个简单问题!
- 你知道吗?
- 怎样得到数字或英文字母的字形码?
BOOL bInheritHandle, // handle inheritance flag
DWORD dwProcessId // process identifier
);
ParametersdwDesiredAccessSpecifies the access to the process object. For operating systems that support security checking, this access is checked against any security descriptor for the target process. Any combination of the following access flags can be specified in addition to the STANDARD_RIGHTS_REQUIRED access flags: Access Description
PROCESS_ALL_ACCESS Specifies all possible access flags for the process object.
PROCESS_CREATE_PROCESS Used internally.
PROCESS_CREATE_THREAD Enables using the process handle in the CreateRemoteThread function to create a thread in the process.
PROCESS_DUP_HANDLE Enables using the process handle as either the source or target process in the DuplicateHandle function to duplicate a handle.
PROCESS_QUERY_INFORMATION Enables using the process handle in the GetExitCodeProcess and GetPriorityClass functions to read information from the process object.
PROCESS_SET_INFORMATION Enables using the process handle in the SetPriorityClass function to set the priority class of the process.
PROCESS_TERMINATE Enables using the process handle in the TerminateProcess function to terminate the process.
PROCESS_VM_OPERATION Enables using the process handle in the VirtualProtectEx and WriteProcessMemory functions to modify the virtual memory of the process.
PROCESS_VM_READ Enables using the process handle in the ReadProcessMemory function to read from the virtual memory of the process.
PROCESS_VM_WRITE Enables using the process handle in the WriteProcessMemory function to write to the virtual memory of the process.
SYNCHRONIZE Windows NT only: Enables using the process handle in any of the wait functions to wait for the process to terminate.
bInheritHandleSpecifies whether the returned handle can be inherited by a new process created by the current process. If TRUE, the handle is inheritable. dwProcessIdSpecifies the process identifier of the process to open. Return ValuesIf the function succeeds, the return value is an open handle of the specified process.
If the function fails, the return value is NULL. To get extended error information, call GetLastError
.
能具体一点吗?
我知道你就是大师
帮帮忙好吧
hWnd: HWND;
begin
hWnd = FindWindow(0,'要关闭窗口的标题');
SendMessage(hWnd,WM_CLOSE,0,0);
end;
papaya_stone(天霸封神斩)
我还不懂怎么给分你们.
你能教我吗?
为什么用CLOSEWINDOWS(HWND);只能最小化窗体?