Class NativeConstants
Stores flags for NativeMethods class functions.
Inheritance
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class NativeConstants : Object
Constructors
NativeConstants()
Declaration
public NativeConstants()
Fields
HTTRANSPARENT
In a window currently covered by another window in the same thread (the message will be sent to underlying windows in the same thread until one of them returns a code that is not HTTRANSPARENT).
Declaration
public const int HTTRANSPARENT = -1
Field Value
Type |
---|
System.Int32 |
HWND_NOTOPMOST
Places the window above all non-topmost windows (that is, behind all topmost windows). This flag has no effect if the window is already a non-topmost window.
Declaration
public const int HWND_NOTOPMOST = -2
Field Value
Type |
---|
System.Int32 |
HWND_TOP
Places the window at the top of the Z order.
Declaration
public const int HWND_TOP = 0
Field Value
Type |
---|
System.Int32 |
HWND_TOPMOST
Places the window above all non-topmost windows. The window maintains its topmost position even when it is deactivated.
Declaration
public const int HWND_TOPMOST = -1
Field Value
Type |
---|
System.Int32 |
NIM_ADD
Adds an icon to the status area. The hWnd and uID members of the NOTIFYICONDATA structure pointed to by lpdata will be used to identify the icon in later calls to Shell_NotifyIcon.
Declaration
public const int NIM_ADD = 0
Field Value
Type |
---|
System.Int32 |
NIM_DELETE
Deletes an icon from the status area. Use the hWnd and uID members of the NOTIFYICONDATA structure pointed to by lpdata to identify the icon to be deleted.
Declaration
public const int NIM_DELETE = 2
Field Value
Type |
---|
System.Int32 |
NIM_MODIFY
Modifies an icon in the status area. Use the hWnd and uID members of the NOTIFYICONDATA structure pointed to by lpdata to identify the icon to be modified.
Declaration
public const int NIM_MODIFY = 1
Field Value
Type |
---|
System.Int32 |
SC_KEYMENU
Retrieves the window menu as a result of a keystroke. For more information, see the Remarks section.
Declaration
public const int SC_KEYMENU = 61696
Field Value
Type |
---|
System.Int32 |
SWP_ASYNCWINDOWPOS
If the calling thread and the thread that owns the window are attached to different input queues, the system posts the request to the thread that owns the window. This prevents the calling thread from blocking its execution while other threads process the request
Declaration
public const int SWP_ASYNCWINDOWPOS = 16384
Field Value
Type |
---|
System.Int32 |
SWP_DEFERERASE
Prevents generation of the WM_SYNCPAINT message.
Declaration
public const int SWP_DEFERERASE = 8192
Field Value
Type |
---|
System.Int32 |
SWP_DRAWFRAME
Draws a frame (defined in the window's class description) around the window.
Declaration
public const int SWP_DRAWFRAME = 32
Field Value
Type |
---|
System.Int32 |
SWP_FRAMECHANGED
Applies new frame styles set using the SetWindowLong function. Sends a WM_NCCALCSIZE message to the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE is sent only when the window's size is being changed.
Declaration
public const int SWP_FRAMECHANGED = 32
Field Value
Type |
---|
System.Int32 |
SWP_HIDEWINDOW
Hide the window from the screen.
Declaration
public const int SWP_HIDEWINDOW = 128
Field Value
Type |
---|
System.Int32 |
SWP_NOACTIVATE
Does not activate the window. If this flag is not set, the window is activated and moved to the top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter parameter of ChromelessWindowInterop.SetWindowPos function.
Declaration
public const int SWP_NOACTIVATE = 16
Field Value
Type |
---|
System.Int32 |
SWP_NOCOPYBITS
Discards the entire contents of the client area. If this flag is not specified, the valid contents of the client area are saved and copied back into the client area after the window is sized or repositioned.
Declaration
public const int SWP_NOCOPYBITS = 256
Field Value
Type |
---|
System.Int32 |
SWP_NOMOVE
Retains the current position.
Declaration
public const int SWP_NOMOVE = 2
Field Value
Type |
---|
System.Int32 |
SWP_NOOWNERZORDER
Does not change the owner window's position in the Z order.
Declaration
public const int SWP_NOOWNERZORDER = 512
Field Value
Type |
---|
System.Int32 |
SWP_NOREDRAW
Does not redraw changes.
Declaration
public const int SWP_NOREDRAW = 8
Field Value
Type |
---|
System.Int32 |
SWP_NOREPOSITION
Same as the SWP_NOOWNERZORDER flag.
Declaration
public const int SWP_NOREPOSITION = 512
Field Value
Type |
---|
System.Int32 |
SWP_NOSENDCHANGING
Prevents the window from receiving the WM_WINDOWPOSCHANGING message.
Declaration
public const int SWP_NOSENDCHANGING = 1024
Field Value
Type |
---|
System.Int32 |
SWP_NOSIZE
Retains the current size.
Declaration
public const int SWP_NOSIZE = 1
Field Value
Type |
---|
System.Int32 |
SWP_NOZORDER
Retains the current Z order.
Declaration
public const int SWP_NOZORDER = 4
Field Value
Type |
---|
System.Int32 |
SWP_SHOWWINDOW
Displays the window.
Declaration
public const int SWP_SHOWWINDOW = 64
Field Value
Type |
---|
System.Int32 |
WM_MOVE
The WM_MOVE message is sent after a window has been moved.
Declaration
public const int WM_MOVE = 3
Field Value
Type |
---|
System.Int32 |
WM_NCHITTEST
The WM_NCHITTEST message is sent to a window when the cursor moves, or when a mouse button is pressed or released. If the mouse is not captured, the message is sent to the window beneath the cursor. Otherwise, the message is sent to the window that has captured the mouse.
Declaration
public const int WM_NCHITTEST = 132
Field Value
Type |
---|
System.Int32 |
WM_SYSCOMMAND
A window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button.
Declaration
public const int WM_SYSCOMMAND = 274
Field Value
Type |
---|
System.Int32 |
WM_WINDOWPOSCHANGING
The WM_WINDOWPOSCHANGING message is sent to a window whose size, position, or place in the Z order is about to change as a result of a call to the SetWindowPos function or another window-management function.
Declaration
public const int WM_WINDOWPOSCHANGING = 70
Field Value
Type |
---|
System.Int32 |