Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
1` DF
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CloseWindow" in [All]

user32

.
Summary
The CloseWindow function minimizes (but does not destroy) the specified window.
.

static extern int CloseWindow (IntPtr hWnd);

.

Declare Function CloseWindow  Lib "user32.dll" (TODO) As TODO

.
Documentation
CloseWindow @msdn on MSDN
.
Summary
.

    public static extern bool CloseWindowStation(IntPtr hWinsta);

.
  • [CloseWindowStation] on MSDN
.
Summary
.

    public static extern bool CloseWindowStation(IntPtr hWinsta);

.
  • [CloseWindowStation] on MSDN
.

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:


 
Access PInvoke.net directly from VS: