Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


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

SW (Constants)
 
.
Summary
Specify how ShowWindow and ShowWindowAsync show or hide a window

C# Constants:

  const int        SW_HIDE         = 0;
  const int        SW_SHOWNORMAL     = 1;
  const int        SW_NORMAL        = 1;
  const int        SW_SHOWMINIMIZED    = 2;
  const int        SW_SHOWMAXIMIZED    = 3;
  const int        SW_MAXIMIZE    = 3;
  const int        SW_SHOWNOACTIVATE    = 4;
  const int        SW_SHOW        = 5;
  const int        SW_MINIMIZE    = 6;
  const int        SW_SHOWMINNOACTIVE    = 7;
  const int        SW_SHOWNA        = 8;
  const int        SW_RESTORE    = 9;
  const int        SW_SHOWDEFAULT    = 10;
  const int        SW_FORCEMINIMIZE    = 11;
  const int        SW_MAX        = 11;

VB Constants:

    Const SW_HIDE As Integer = 0
    Const SW_SHOWNORMAL As Integer = 1
    Const SW_NORMAL As Integer = 1
    Const SW_SHOWMINIMIZED As Integer = 2
    Const SW_SHOWMAXIMIZED As Integer = 3
    Const SW_MAXIMIZE As Integer = 3
    Const SW_SHOWNOACTIVATE As Integer = 4
    Const SW_SHOW As Integer = 5
    Const SW_MINIMIZE As Integer = 6
    Const SW_SHOWMINNOACTIVE As Integer = 7
    Const SW_SHOWNA As Integer = 8
    Const SW_RESTORE As Integer = 9
    Const SW_SHOWDEFAULT As Integer = 10
    Const SW_FORCEMINIMIZE As Integer = 11
    Const SW_MAX As Integer = 11

Notes:

None.

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions