Desktop Functions: Smart Device Functions:
|
Search Results for "CloseWindow" in [All]user321: CloseWindow
static extern int CloseWindow (IntPtr hWnd);
Declare Function CloseWindow Lib "user32.dll" (TODO) As TODO 2: CloseWindow
4: FindWindowEx Here is an alternative Managed API to FindWindow, The article also describes a way to CloseWindow of another process like notepad, not sure if there is such thing in Win32 API, but at least you can do it in .NET! Here is the article:
return SafeNativeMethods.CloseWindowStation(handle); Quote from MSDN: "The CloseWindowStation function closes an open window station handle. Do not specify the handle returned by the GetProcessWindowStation function."
return SafeNativeMethods.CloseWindowStation(handle); See [Enums.ACCESS_MASK] and [CloseWindowStation]. Here is an alternative Managed API to FindWindow, The article also describes a way to CloseWindow of another process like notepad, not sure if there is such thing in Win32 API, but at least you can do it in .NET! Here is the article: |