WParams Enumeration

Specifies additional message-specific information for various system-defined messages.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum WParams

Remarks

Members

Null 0 A Null WParam.
WA_Inactive 0 Window is deactivated.

wParam to use with WM_Activate message.

PBST_Normal 1 Sets the state of a progressbar to Normal (Green Color).

wParam to use with SetState message.

WA_Active 1 Window is activated by some method other than a mouse click

(for example, by a call to the SetActiveWindow(IntPtr) function or by use of the keyboard interface to select the window).

wParam to use with WM_Activate message.

MK_LButton 1 The left mouse button is down.

wParam to use with WM_LButtonDown message.

EC_RightMargin 2 Sets the right margin for an edit control.

wParam to use with SetMargins message.

PBST_Error 2 Sets the state of a progressbar to Error (Red Color).

wParam to use with SetState message.

WA_ClickActive 2 Window is activated by a mouse click.

wParam to use with WM_Activate message.

MK_RButton 2 The right mouse button is down.

wParam to use with WM_LButtonDown and WM_LButtonUp messages.

EC_LeftMargin 3 Sets the left margin for an edit control.

wParam to use with SetMargins message.

PBST_Paused 3 Sets the state of a progressbar to Paused (Yellow Color).

wParam to use with SetState message.

MK_Shift 4 The SHIFT key is down.

wParam to use with WM_LButtonDown and WM_LButtonUp messages.

MK_Control 8 The CTRL key is down.

wParam to use with WM_LButtonDown and WM_LButtonUp messages.

MK_MButton 16 The middle mouse button is down.

wParam to use with WM_LButtonDown and WM_LButtonUp messages.

MK_XButton1 32 The first X button is down.

wParam to use with WM_LButtonDown and WM_LButtonUp messages.

MK_XButton2 64 The second X button is down.

wParam to use with WM_LButtonDown and WM_LButtonUp messages.

UndoMinimizeAll 416 Undo the minimization of all minimized windows.

wParam to use with WM_Command message.

MinimizeAll 419 Minimize all windows.

wParam to use with WM_Command message.

SC_Size 61,440 Sizes the window.

wParam to use with WM_SysCommand message.

SC_Move 61,456 Moves the window.

wParam to use with WM_SysCommand message.

SC_DragMove 61,458 Drags the window.

wParam to use with WM_SysCommand message.

SC_Minimize 61,472 Minimizes the window.

wParam to use with WM_SysCommand message.

SC_Maximize 61,488 Maximizes the window.

wParam to use with WM_SysCommand message.

SC_Close 61,536 Closes the window.

wParam to use with WM_SysCommand message.

SC_VScroll 61,552 Scrolls vertically.

wParam to use with WM_SysCommand message.

SC_HScroll 61,568 Scrolls horizontally.

wParam to use with WM_SysCommand message.

SC_MouseMenu 61,584 Retrieves the window menu as a result of a mouse click.

wParam to use with WM_SysCommand message.

SC_KeyMenu 61,696 Retrieves the window menu as a result of a keystroke.

wParam to use with WM_SysCommand message.

SC_Restore 61,728 Restores the window to its normal position and size..

wParam to use with WM_SysCommand message.

SC_Screensaver 61,760 Runs the default screensaver.

( the screensaver should be enabled. )

wParam to use with WM_Command message.

SC_MonitorPower 61,808 Sets the state of the display.

This command supports devices that have power-saving features, such as a battery-powered personal computer

wParam to use with WM_SysCommand message.

See Also