Share via


NativeMethods.WinUserConstant Enum

Definition

Represents the enumeration for windows user constant.

public: enum class NativeMethods::WinUserConstant
public enum NativeMethods.WinUserConstant
type NativeMethods.WinUserConstant = 
Public Enum NativeMethods.WinUserConstant
Inheritance
NativeMethods.WinUserConstant

Fields

Name Value Description
GWL_USERDATA -21

Value = -21

GWL_EXSTYLE -20

Value = -20

GWL_STYLE -16

Value = -16

GWL_ID -12
GWL_HWNDPARENT -8

Value = -8

GWL_HINSTANCE -6

Value = -6

GWL_WNDPROC -4

Value = -4

HWND_NOTOPMOST -2

Value = -2

HWND_TOPMOST -1

Value = -1

GW_HWNDFIRST 0

Value = 0

HWND_TOP 0

Value = 0

MF_BYCOMMAND 0

Value = 0

SW_HIDE 0

Value = 0

GW_HWNDLAST 1

Value = 1

HWND_BOTTOM 1

Value = 1

MK_LBUTTON 1

Value = 1

SW_NORMAL 1

Value = 1

SW_SHOWNORMAL 1

Value = 1

GA_ROOT 2

Value = 2.

GW_HWNDNEXT 2

Value = 2

MK_RBUTTON 2

Value = 2

SW_SHOWMINIMIZED 2

Value = 2

GW_HWNDPREV 3

Value =3

SW_MAXIMIZE 3

Value = 3

SW_SHOWMAXIMIZED 3

Value = 3

GW_OWNER 4

Value = 4

SM_CYCAPTION 4

Value = 4

SW_SHOWNOACTIVATE 4

Value = 4

GW_CHILD 5

Value = 5

SW_SHOW 5

Value = 5

SW_MINIMIZE 6

Value = 6

SW_SHOWMINNOACTIVE 7

Value = 7

SW_SHOWNA 8

Value = 8

SW_RESTORE 9

Value = 9

SW_SHOWDEFAULT 10

Value = 10

SW_FORCEMINIMIZE 11

Value = 11

SW_MAX 11

Value = 11

MF_BYPOSITION 1024

Value = 0x400

SC_CLOSE 61536

Value = 0xf060

Applies to