Class User32
- java.lang.Object
-
- org.lwjgl.system.windows.User32
-
public class User32 extends java.lang.Object
Native bindings to WinUser.h and user32.dll.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
User32.Functions
Contains the function pointers loaded from the user32SharedLibrary
.
-
Field Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static boolean
AdjustWindowRectEx(RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle)
Calculates the required size of the window rectangle, based on the desired size of the client rectangle.static boolean
BringWindowToTop(long hWnd)
Brings the specified window to the top of the Z order.static int
ChangeDisplaySettingsEx(java.nio.ByteBuffer lpszDeviceName, DEVMODE lpDevMode, long hwnd, int dwflags, long lParam)
Changes the settings of the specified display device to the specified graphics mode.static int
ChangeDisplaySettingsEx(java.lang.CharSequence lpszDeviceName, DEVMODE lpDevMode, long hwnd, int dwflags, long lParam)
Changes the settings of the specified display device to the specified graphics mode.static boolean
ClipCursor(RECT rect)
Confines the cursor to a rectangular area on the screen.static boolean
CloseTouchInputHandle(long hTouchInput)
Closes a touch input handle, frees process memory associated with it, and invalidates the handle.static long
CreateWindowEx(int dwExStyle, java.nio.ByteBuffer lpClassName, java.nio.ByteBuffer lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, long hWndParent, long hMenu, long hInstance, long lpParam)
Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function.static long
CreateWindowEx(int dwExStyle, java.lang.CharSequence lpClassName, java.lang.CharSequence lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, long hWndParent, long hMenu, long hInstance, long lpParam)
Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function.static long
DefWindowProc(long hWnd, int Msg, long wParam, long lParam)
Calls the default window procedure to provide default processing for any window messages that an application does not process.static boolean
DestroyWindow(long hWnd)
Destroys the specified window.static long
DispatchMessage(MSG lpmsg)
Dispatches a message to a window procedure.static boolean
EnumDisplayDevices(java.nio.ByteBuffer lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags)
Obtains information about the display devices in the current session.static boolean
EnumDisplayDevices(java.lang.CharSequence lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags)
Obtains information about the display devices in the current session.static boolean
EnumDisplaySettingsEx(java.nio.ByteBuffer lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags)
Retrieves information about one of the graphics modes for a display device.static boolean
EnumDisplaySettingsEx(java.lang.CharSequence lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags)
Retrieves information about one of the graphics modes for a display device.static long
GetClassLongPtr(long hWnd, int nIndex)
Retrieves the specified value from theWNDCLASSEX
structure associated with the specified window.static boolean
GetCursorPos(POINT point)
Retrieves the position of the mouse cursor, in screen coordinates.static long
GetDC(long hWnd)
Retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen.static SharedLibrary
getLibrary()
Returns the user32SharedLibrary
.static boolean
GetMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax)
Retrieves a message from the calling thread's message queue.static boolean
GetMonitorInfo(long hMonitor, MONITORINFOEX lpmi)
Retrieves information about a display monitor.static int
GetSystemMetrics(int index)
Retrieves the specified system metric or system configuration setting.static boolean
GetTouchInputInfo(long hTouchInput, TOUCHINPUT.Buffer pInputs, int cbSize)
Retrieves detailed information about touch inputs associated with a particular touch input handle.static long
GetWindowLongPtr(long hWnd, int nIndex)
Retrieves information about the specified window.static boolean
GetWindowPlacement(long hWnd, WINDOWPLACEMENT lpwndpl)
Retrieves the show state and the restored, minimized, and maximized positions of the specified window.static boolean
GetWindowRect(long hWnd, RECT lpRect)
Retrieves the dimensions of the bounding rectangle of the specified window.static boolean
IsIconic(long hWnd)
Determines whether the specified window is minimized (iconic).static boolean
IsTouchWindow(long hWnd, int[] pulFlags)
Array version of:User32.IsTouchWindow(long, java.nio.IntBuffer)
static boolean
IsTouchWindow(long hWnd, java.nio.IntBuffer pulFlags)
Checks whether a specified window is touch-capable and, optionally, retrieves the modifier flags set for the window's touch capability.static boolean
IsWindowVisible(long hWnd)
Determines the visibility state of the specified window.static boolean
IsZoomed(long hWnd)
Determines whether a window is maximized.static long
LoadCursor(long instance, java.nio.ByteBuffer cursorName)
Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.static long
LoadCursor(long instance, java.lang.CharSequence cursorName)
Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.static long
LoadIcon(long instance, java.nio.ByteBuffer iconName)
Loads the specified icon resource from the executable (.exe) file associated with an application instance.static long
LoadIcon(long instance, java.lang.CharSequence iconName)
Loads the specified icon resource from the executable (.exe) file associated with an application instance.static long
MonitorFromWindow(long hWnd, int dwFlags)
Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.static boolean
MoveWindow(long hWnd, int X, int Y, int nWidth, int nHeight, boolean bRepaint)
Changes the position and dimensions of the specified window.static boolean
PeekMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg)
Dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).static boolean
PostMessage(long hWnd, int Msg, long wParam, long lParam)
Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.static short
RegisterClassEx(WNDCLASSEX lpwcx)
Registers a window class for subsequent use in calls to theUser32.CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function.static boolean
RegisterTouchWindow(long hWnd, int ulFlags)
Registers a window as being touch-capable.static boolean
ReleaseDC(long hWnd, long hDC)
Releases a device context (DC), freeing it for use by other applications.static boolean
SendMessage(long hWnd, int Msg, long wParam, long lParam)
Sends the specified message to a window or windows.static long
SetClassLongPtr(long hWnd, int nIndex, long dwNewLong)
Replaces the specified value at the specified offset in the extra class memory or theWNDCLASSEX
structure for the class to which the specified window belongs.static long
SetCursor(long hCursor)
Sets the cursor shape.static boolean
SetCursorPos(int X, int Y)
Moves the cursor to the specified screen coordinates.static boolean
SetLayeredWindowAttributes(long hwnd, int crKey, byte bAlpha, int dwFlags)
static long
SetWindowLongPtr(long hWnd, int nIndex, long dwNewLong)
Changes an attribute of the specified window.static boolean
SetWindowPlacement(long hWnd, WINDOWPLACEMENT lpwndpl)
Sets the show state and the restored, minimized, and maximized positions of the specified window.static boolean
SetWindowPos(long hWnd, long hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags)
Changes the size, position, and Z order of a child, pop-up, or top-level window.static boolean
SetWindowText(long hWnd, java.nio.ByteBuffer lpString)
Changes the text of the specified window's title bar (if it has one).static boolean
SetWindowText(long hWnd, java.lang.CharSequence lpString)
Changes the text of the specified window's title bar (if it has one).static int
ShowCursor(boolean show)
Displays or hides the cursor.static boolean
ShowWindow(long hWnd, int nCmdShow)
Sets the specified window's show state.static boolean
TranslateMessage(MSG lpMsg)
Translates virtual-key messages into character messages.static boolean
UnregisterClass(java.nio.ByteBuffer lpClassName, long hInstance)
Unregisters a window class, freeing the memory required for the class.static boolean
UnregisterClass(java.lang.CharSequence lpClassName, long hInstance)
Unregisters a window class, freeing the memory required for the class.static boolean
UnregisterTouchWindow(long hWnd)
Registers a window as no longer being touch-capable.static boolean
UpdateWindow(long hWnd)
Updates the client area of the specified window by sending aUser32.WM_PAINT
message to the window if the window's update region is not empty.static boolean
WaitMessage()
Yields control to other threads when a thread has no other messages in its message queue.
-
-
-
Field Detail
-
WS_OVERLAPPED
public static final int WS_OVERLAPPED
Window Styles- See Also:
- Constant Field Values
-
WS_POPUP
public static final int WS_POPUP
Window Styles- See Also:
- Constant Field Values
-
WS_CHILD
public static final int WS_CHILD
Window Styles- See Also:
- Constant Field Values
-
WS_MINIMIZE
public static final int WS_MINIMIZE
Window Styles- See Also:
- Constant Field Values
-
WS_VISIBLE
public static final int WS_VISIBLE
Window Styles- See Also:
- Constant Field Values
-
WS_DISABLED
public static final int WS_DISABLED
Window Styles- See Also:
- Constant Field Values
-
WS_CLIPSIBLINGS
public static final int WS_CLIPSIBLINGS
Window Styles- See Also:
- Constant Field Values
-
WS_CLIPCHILDREN
public static final int WS_CLIPCHILDREN
Window Styles- See Also:
- Constant Field Values
-
WS_MAXIMIZE
public static final int WS_MAXIMIZE
Window Styles- See Also:
- Constant Field Values
-
WS_CAPTION
public static final int WS_CAPTION
Window Styles- See Also:
- Constant Field Values
-
WS_BORDER
public static final int WS_BORDER
Window Styles- See Also:
- Constant Field Values
-
WS_DLGFRAME
public static final int WS_DLGFRAME
Window Styles- See Also:
- Constant Field Values
-
WS_VSCROLL
public static final int WS_VSCROLL
Window Styles- See Also:
- Constant Field Values
-
WS_HSCROLL
public static final int WS_HSCROLL
Window Styles- See Also:
- Constant Field Values
-
WS_SYSMENU
public static final int WS_SYSMENU
Window Styles- See Also:
- Constant Field Values
-
WS_THICKFRAME
public static final int WS_THICKFRAME
Window Styles- See Also:
- Constant Field Values
-
WS_GROUP
public static final int WS_GROUP
Window Styles- See Also:
- Constant Field Values
-
WS_TABSTOP
public static final int WS_TABSTOP
Window Styles- See Also:
- Constant Field Values
-
WS_MINIMIZEBOX
public static final int WS_MINIMIZEBOX
Window Styles- See Also:
- Constant Field Values
-
WS_MAXIMIZEBOX
public static final int WS_MAXIMIZEBOX
Window Styles- See Also:
- Constant Field Values
-
WS_OVERLAPPEDWINDOW
public static final int WS_OVERLAPPEDWINDOW
Window Styles- See Also:
- Constant Field Values
-
WS_POPUPWINDOW
public static final int WS_POPUPWINDOW
Window Styles- See Also:
- Constant Field Values
-
WS_CHILDWINDOW
public static final int WS_CHILDWINDOW
Window Styles- See Also:
- Constant Field Values
-
WS_TILED
public static final int WS_TILED
Window Styles- See Also:
- Constant Field Values
-
WS_ICONIC
public static final int WS_ICONIC
Window Styles- See Also:
- Constant Field Values
-
WS_SIZEBOX
public static final int WS_SIZEBOX
Window Styles- See Also:
- Constant Field Values
-
WS_TILEDWINDOW
public static final int WS_TILEDWINDOW
Window Styles- See Also:
- Constant Field Values
-
WS_EX_DLGMODALFRAME
public static final int WS_EX_DLGMODALFRAME
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_NOPARENTNOTIFY
public static final int WS_EX_NOPARENTNOTIFY
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_TOPMOST
public static final int WS_EX_TOPMOST
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_ACCEPTFILES
public static final int WS_EX_ACCEPTFILES
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_TRANSPARENT
public static final int WS_EX_TRANSPARENT
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_MDICHILD
public static final int WS_EX_MDICHILD
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_TOOLWINDOW
public static final int WS_EX_TOOLWINDOW
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_WINDOWEDGE
public static final int WS_EX_WINDOWEDGE
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_CLIENTEDGE
public static final int WS_EX_CLIENTEDGE
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_CONTEXTHELP
public static final int WS_EX_CONTEXTHELP
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_RIGHT
public static final int WS_EX_RIGHT
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_LEFT
public static final int WS_EX_LEFT
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_RTLREADING
public static final int WS_EX_RTLREADING
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_LTRREADING
public static final int WS_EX_LTRREADING
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_LEFTSCROLLBAR
public static final int WS_EX_LEFTSCROLLBAR
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_RIGHTSCROLLBAR
public static final int WS_EX_RIGHTSCROLLBAR
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_CONTROLPARENT
public static final int WS_EX_CONTROLPARENT
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_STATICEDGE
public static final int WS_EX_STATICEDGE
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_APPWINDOW
public static final int WS_EX_APPWINDOW
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_OVERLAPPEDWINDOW
public static final int WS_EX_OVERLAPPEDWINDOW
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_PALETTEWINDOW
public static final int WS_EX_PALETTEWINDOW
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_LAYERED
public static final int WS_EX_LAYERED
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_NOINHERITLAYOUT
public static final int WS_EX_NOINHERITLAYOUT
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_LAYOUTRTL
public static final int WS_EX_LAYOUTRTL
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_COMPOSITED
public static final int WS_EX_COMPOSITED
Extended Window Styles- See Also:
- Constant Field Values
-
WS_EX_NOACTIVATE
public static final int WS_EX_NOACTIVATE
Extended Window Styles- See Also:
- Constant Field Values
-
CW_USEDEFAULT
public static final int CW_USEDEFAULT
May be used inUser32.CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
for the x, y, width, height parameters.- See Also:
- Constant Field Values
-
CS_VREDRAW
public static final int CS_VREDRAW
Class styles- See Also:
- Constant Field Values
-
CS_HREDRAW
public static final int CS_HREDRAW
Class styles- See Also:
- Constant Field Values
-
CS_DBLCLKS
public static final int CS_DBLCLKS
Class styles- See Also:
- Constant Field Values
-
CS_OWNDC
public static final int CS_OWNDC
Class styles- See Also:
- Constant Field Values
-
CS_CLASSDC
public static final int CS_CLASSDC
Class styles- See Also:
- Constant Field Values
-
CS_PARENTDC
public static final int CS_PARENTDC
Class styles- See Also:
- Constant Field Values
-
CS_NOCLOSE
public static final int CS_NOCLOSE
Class styles- See Also:
- Constant Field Values
-
CS_SAVEBITS
public static final int CS_SAVEBITS
Class styles- See Also:
- Constant Field Values
-
CS_BYTEALIGNCLIENT
public static final int CS_BYTEALIGNCLIENT
Class styles- See Also:
- Constant Field Values
-
CS_BYTEALIGNWINDOW
public static final int CS_BYTEALIGNWINDOW
Class styles- See Also:
- Constant Field Values
-
CS_GLOBALCLASS
public static final int CS_GLOBALCLASS
Class styles- See Also:
- Constant Field Values
-
CS_IME
public static final int CS_IME
Class styles- See Also:
- Constant Field Values
-
CS_DROPSHADOW
public static final int CS_DROPSHADOW
Class styles- See Also:
- Constant Field Values
-
WM_NULL
public static final int WM_NULL
Windows messages.- See Also:
- Constant Field Values
-
WM_CREATE
public static final int WM_CREATE
Windows messages.- See Also:
- Constant Field Values
-
WM_DESTROY
public static final int WM_DESTROY
Windows messages.- See Also:
- Constant Field Values
-
WM_MOVE
public static final int WM_MOVE
Windows messages.- See Also:
- Constant Field Values
-
WM_SIZE
public static final int WM_SIZE
Windows messages.- See Also:
- Constant Field Values
-
WM_ACTIVATE
public static final int WM_ACTIVATE
Windows messages.- See Also:
- Constant Field Values
-
WM_SETFOCUS
public static final int WM_SETFOCUS
Windows messages.- See Also:
- Constant Field Values
-
WM_KILLFOCUS
public static final int WM_KILLFOCUS
Windows messages.- See Also:
- Constant Field Values
-
WM_ENABLE
public static final int WM_ENABLE
Windows messages.- See Also:
- Constant Field Values
-
WM_SETREDRAW
public static final int WM_SETREDRAW
Windows messages.- See Also:
- Constant Field Values
-
WM_SETTEXT
public static final int WM_SETTEXT
Windows messages.- See Also:
- Constant Field Values
-
WM_GETTEXT
public static final int WM_GETTEXT
Windows messages.- See Also:
- Constant Field Values
-
WM_GETTEXTLENGTH
public static final int WM_GETTEXTLENGTH
Windows messages.- See Also:
- Constant Field Values
-
WM_PAINT
public static final int WM_PAINT
Windows messages.- See Also:
- Constant Field Values
-
WM_CLOSE
public static final int WM_CLOSE
Windows messages.- See Also:
- Constant Field Values
-
WM_QUERYENDSESSION
public static final int WM_QUERYENDSESSION
Windows messages.- See Also:
- Constant Field Values
-
WM_QUERYOPEN
public static final int WM_QUERYOPEN
Windows messages.- See Also:
- Constant Field Values
-
WM_ENDSESSION
public static final int WM_ENDSESSION
Windows messages.- See Also:
- Constant Field Values
-
WM_QUIT
public static final int WM_QUIT
Windows messages.- See Also:
- Constant Field Values
-
WM_ERASEBKGND
public static final int WM_ERASEBKGND
Windows messages.- See Also:
- Constant Field Values
-
WM_SYSCOLORCHANGE
public static final int WM_SYSCOLORCHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_SHOWWINDOW
public static final int WM_SHOWWINDOW
Windows messages.- See Also:
- Constant Field Values
-
WM_WININICHANGE
public static final int WM_WININICHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_SETTINGCHANGE
public static final int WM_SETTINGCHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_DEVMODECHANGE
public static final int WM_DEVMODECHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_ACTIVATEAPP
public static final int WM_ACTIVATEAPP
Windows messages.- See Also:
- Constant Field Values
-
WM_FONTCHANGE
public static final int WM_FONTCHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_TIMECHANGE
public static final int WM_TIMECHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_CANCELMODE
public static final int WM_CANCELMODE
Windows messages.- See Also:
- Constant Field Values
-
WM_SETCURSOR
public static final int WM_SETCURSOR
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSEACTIVATE
public static final int WM_MOUSEACTIVATE
Windows messages.- See Also:
- Constant Field Values
-
WM_CHILDACTIVATE
public static final int WM_CHILDACTIVATE
Windows messages.- See Also:
- Constant Field Values
-
WM_QUEUESYNC
public static final int WM_QUEUESYNC
Windows messages.- See Also:
- Constant Field Values
-
WM_GETMINMAXINFO
public static final int WM_GETMINMAXINFO
Windows messages.- See Also:
- Constant Field Values
-
WM_PAINTICON
public static final int WM_PAINTICON
Windows messages.- See Also:
- Constant Field Values
-
WM_ICONERASEBKGND
public static final int WM_ICONERASEBKGND
Windows messages.- See Also:
- Constant Field Values
-
WM_NEXTDLGCTL
public static final int WM_NEXTDLGCTL
Windows messages.- See Also:
- Constant Field Values
-
WM_SPOOLERSTATUS
public static final int WM_SPOOLERSTATUS
Windows messages.- See Also:
- Constant Field Values
-
WM_DRAWITEM
public static final int WM_DRAWITEM
Windows messages.- See Also:
- Constant Field Values
-
WM_MEASUREITEM
public static final int WM_MEASUREITEM
Windows messages.- See Also:
- Constant Field Values
-
WM_DELETEITEM
public static final int WM_DELETEITEM
Windows messages.- See Also:
- Constant Field Values
-
WM_VKEYTOITEM
public static final int WM_VKEYTOITEM
Windows messages.- See Also:
- Constant Field Values
-
WM_CHARTOITEM
public static final int WM_CHARTOITEM
Windows messages.- See Also:
- Constant Field Values
-
WM_SETFONT
public static final int WM_SETFONT
Windows messages.- See Also:
- Constant Field Values
-
WM_GETFONT
public static final int WM_GETFONT
Windows messages.- See Also:
- Constant Field Values
-
WM_SETHOTKEY
public static final int WM_SETHOTKEY
Windows messages.- See Also:
- Constant Field Values
-
WM_GETHOTKEY
public static final int WM_GETHOTKEY
Windows messages.- See Also:
- Constant Field Values
-
WM_QUERYDRAGICON
public static final int WM_QUERYDRAGICON
Windows messages.- See Also:
- Constant Field Values
-
WM_COMPAREITEM
public static final int WM_COMPAREITEM
Windows messages.- See Also:
- Constant Field Values
-
WM_GETOBJECT
public static final int WM_GETOBJECT
Windows messages.- See Also:
- Constant Field Values
-
WM_COMPACTING
public static final int WM_COMPACTING
Windows messages.- See Also:
- Constant Field Values
-
WM_COMMNOTIFY
public static final int WM_COMMNOTIFY
Windows messages.- See Also:
- Constant Field Values
-
WM_WINDOWPOSCHANGING
public static final int WM_WINDOWPOSCHANGING
Windows messages.- See Also:
- Constant Field Values
-
WM_WINDOWPOSCHANGED
public static final int WM_WINDOWPOSCHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_POWER
public static final int WM_POWER
Windows messages.- See Also:
- Constant Field Values
-
WM_COPYDATA
public static final int WM_COPYDATA
Windows messages.- See Also:
- Constant Field Values
-
WM_CANCELJOURNAL
public static final int WM_CANCELJOURNAL
Windows messages.- See Also:
- Constant Field Values
-
WM_NOTIFY
public static final int WM_NOTIFY
Windows messages.- See Also:
- Constant Field Values
-
WM_INPUTLANGCHANGEREQUEST
public static final int WM_INPUTLANGCHANGEREQUEST
Windows messages.- See Also:
- Constant Field Values
-
WM_INPUTLANGCHANGE
public static final int WM_INPUTLANGCHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_TCARD
public static final int WM_TCARD
Windows messages.- See Also:
- Constant Field Values
-
WM_HELP
public static final int WM_HELP
Windows messages.- See Also:
- Constant Field Values
-
WM_USERCHANGED
public static final int WM_USERCHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_NOTIFYFORMAT
public static final int WM_NOTIFYFORMAT
Windows messages.- See Also:
- Constant Field Values
-
WM_CONTEXTMENU
public static final int WM_CONTEXTMENU
Windows messages.- See Also:
- Constant Field Values
-
WM_STYLECHANGING
public static final int WM_STYLECHANGING
Windows messages.- See Also:
- Constant Field Values
-
WM_STYLECHANGED
public static final int WM_STYLECHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_DISPLAYCHANGE
public static final int WM_DISPLAYCHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_GETICON
public static final int WM_GETICON
Windows messages.- See Also:
- Constant Field Values
-
WM_SETICON
public static final int WM_SETICON
Windows messages.- See Also:
- Constant Field Values
-
WM_NCCREATE
public static final int WM_NCCREATE
Windows messages.- See Also:
- Constant Field Values
-
WM_NCDESTROY
public static final int WM_NCDESTROY
Windows messages.- See Also:
- Constant Field Values
-
WM_NCCALCSIZE
public static final int WM_NCCALCSIZE
Windows messages.- See Also:
- Constant Field Values
-
WM_NCHITTEST
public static final int WM_NCHITTEST
Windows messages.- See Also:
- Constant Field Values
-
WM_NCPAINT
public static final int WM_NCPAINT
Windows messages.- See Also:
- Constant Field Values
-
WM_NCACTIVATE
public static final int WM_NCACTIVATE
Windows messages.- See Also:
- Constant Field Values
-
WM_GETDLGCODE
public static final int WM_GETDLGCODE
Windows messages.- See Also:
- Constant Field Values
-
WM_SYNCPAINT
public static final int WM_SYNCPAINT
Windows messages.- See Also:
- Constant Field Values
-
WM_NCMOUSEMOVE
public static final int WM_NCMOUSEMOVE
Windows messages.- See Also:
- Constant Field Values
-
WM_NCLBUTTONDOWN
public static final int WM_NCLBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_NCLBUTTONUP
public static final int WM_NCLBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_NCLBUTTONDBLCLK
public static final int WM_NCLBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_NCRBUTTONDOWN
public static final int WM_NCRBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_NCRBUTTONUP
public static final int WM_NCRBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_NCRBUTTONDBLCLK
public static final int WM_NCRBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_NCMBUTTONDOWN
public static final int WM_NCMBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_NCMBUTTONUP
public static final int WM_NCMBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_NCMBUTTONDBLCLK
public static final int WM_NCMBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_NCXBUTTONDOWN
public static final int WM_NCXBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_NCXBUTTONUP
public static final int WM_NCXBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_NCXBUTTONDBLCLK
public static final int WM_NCXBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_INPUT_DEVICE_CHANGE
public static final int WM_INPUT_DEVICE_CHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_INPUT
public static final int WM_INPUT
Windows messages.- See Also:
- Constant Field Values
-
WM_KEYFIRST
public static final int WM_KEYFIRST
Windows messages.- See Also:
- Constant Field Values
-
WM_KEYDOWN
public static final int WM_KEYDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_KEYUP
public static final int WM_KEYUP
Windows messages.- See Also:
- Constant Field Values
-
WM_CHAR
public static final int WM_CHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_DEADCHAR
public static final int WM_DEADCHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_SYSKEYDOWN
public static final int WM_SYSKEYDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_SYSKEYUP
public static final int WM_SYSKEYUP
Windows messages.- See Also:
- Constant Field Values
-
WM_SYSCHAR
public static final int WM_SYSCHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_SYSDEADCHAR
public static final int WM_SYSDEADCHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_UNICHAR
public static final int WM_UNICHAR
Windows messages.- See Also:
- Constant Field Values
-
UNICODE_NOCHAR
public static final int UNICODE_NOCHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_STARTCOMPOSITION
public static final int WM_IME_STARTCOMPOSITION
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_ENDCOMPOSITION
public static final int WM_IME_ENDCOMPOSITION
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_COMPOSITION
public static final int WM_IME_COMPOSITION
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_KEYLAST
public static final int WM_IME_KEYLAST
Windows messages.- See Also:
- Constant Field Values
-
WM_INITDIALOG
public static final int WM_INITDIALOG
Windows messages.- See Also:
- Constant Field Values
-
WM_COMMAND
public static final int WM_COMMAND
Windows messages.- See Also:
- Constant Field Values
-
WM_SYSCOMMAND
public static final int WM_SYSCOMMAND
Windows messages.- See Also:
- Constant Field Values
-
WM_TIMER
public static final int WM_TIMER
Windows messages.- See Also:
- Constant Field Values
-
WM_HSCROLL
public static final int WM_HSCROLL
Windows messages.- See Also:
- Constant Field Values
-
WM_VSCROLL
public static final int WM_VSCROLL
Windows messages.- See Also:
- Constant Field Values
-
WM_INITMENU
public static final int WM_INITMENU
Windows messages.- See Also:
- Constant Field Values
-
WM_INITMENUPOPUP
public static final int WM_INITMENUPOPUP
Windows messages.- See Also:
- Constant Field Values
-
WM_GESTURE
public static final int WM_GESTURE
Windows messages.- See Also:
- Constant Field Values
-
WM_GESTURENOTIFY
public static final int WM_GESTURENOTIFY
Windows messages.- See Also:
- Constant Field Values
-
WM_MENUSELECT
public static final int WM_MENUSELECT
Windows messages.- See Also:
- Constant Field Values
-
WM_MENUCHAR
public static final int WM_MENUCHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_ENTERIDLE
public static final int WM_ENTERIDLE
Windows messages.- See Also:
- Constant Field Values
-
WM_MENURBUTTONUP
public static final int WM_MENURBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_MENUDRAG
public static final int WM_MENUDRAG
Windows messages.- See Also:
- Constant Field Values
-
WM_MENUGETOBJECT
public static final int WM_MENUGETOBJECT
Windows messages.- See Also:
- Constant Field Values
-
WM_UNINITMENUPOPUP
public static final int WM_UNINITMENUPOPUP
Windows messages.- See Also:
- Constant Field Values
-
WM_MENUCOMMAND
public static final int WM_MENUCOMMAND
Windows messages.- See Also:
- Constant Field Values
-
WM_CHANGEUISTATE
public static final int WM_CHANGEUISTATE
Windows messages.- See Also:
- Constant Field Values
-
WM_UPDATEUISTATE
public static final int WM_UPDATEUISTATE
Windows messages.- See Also:
- Constant Field Values
-
WM_QUERYUISTATE
public static final int WM_QUERYUISTATE
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLORMSGBOX
public static final int WM_CTLCOLORMSGBOX
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLOREDIT
public static final int WM_CTLCOLOREDIT
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLORLISTBOX
public static final int WM_CTLCOLORLISTBOX
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLORBTN
public static final int WM_CTLCOLORBTN
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLORDLG
public static final int WM_CTLCOLORDLG
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLORSCROLLBAR
public static final int WM_CTLCOLORSCROLLBAR
Windows messages.- See Also:
- Constant Field Values
-
WM_CTLCOLORSTATIC
public static final int WM_CTLCOLORSTATIC
Windows messages.- See Also:
- Constant Field Values
-
MN_GETHMENU
public static final int MN_GETHMENU
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSEFIRST
public static final int WM_MOUSEFIRST
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSEMOVE
public static final int WM_MOUSEMOVE
Windows messages.- See Also:
- Constant Field Values
-
WM_LBUTTONDOWN
public static final int WM_LBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_LBUTTONUP
public static final int WM_LBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_LBUTTONDBLCLK
public static final int WM_LBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_RBUTTONDOWN
public static final int WM_RBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_RBUTTONUP
public static final int WM_RBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_RBUTTONDBLCLK
public static final int WM_RBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_MBUTTONDOWN
public static final int WM_MBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_MBUTTONUP
public static final int WM_MBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_MBUTTONDBLCLK
public static final int WM_MBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSEWHEEL
public static final int WM_MOUSEWHEEL
Windows messages.- See Also:
- Constant Field Values
-
WM_XBUTTONDOWN
public static final int WM_XBUTTONDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_XBUTTONUP
public static final int WM_XBUTTONUP
Windows messages.- See Also:
- Constant Field Values
-
WM_XBUTTONDBLCLK
public static final int WM_XBUTTONDBLCLK
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSEHWHEEL
public static final int WM_MOUSEHWHEEL
Windows messages.- See Also:
- Constant Field Values
-
WM_PARENTNOTIFY
public static final int WM_PARENTNOTIFY
Windows messages.- See Also:
- Constant Field Values
-
WM_ENTERMENULOOP
public static final int WM_ENTERMENULOOP
Windows messages.- See Also:
- Constant Field Values
-
WM_EXITMENULOOP
public static final int WM_EXITMENULOOP
Windows messages.- See Also:
- Constant Field Values
-
WM_NEXTMENU
public static final int WM_NEXTMENU
Windows messages.- See Also:
- Constant Field Values
-
WM_SIZING
public static final int WM_SIZING
Windows messages.- See Also:
- Constant Field Values
-
WM_CAPTURECHANGED
public static final int WM_CAPTURECHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_MOVING
public static final int WM_MOVING
Windows messages.- See Also:
- Constant Field Values
-
WM_POWERBROADCAST
public static final int WM_POWERBROADCAST
Windows messages.- See Also:
- Constant Field Values
-
WM_DEVICECHANGE
public static final int WM_DEVICECHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDICREATE
public static final int WM_MDICREATE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIDESTROY
public static final int WM_MDIDESTROY
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIACTIVATE
public static final int WM_MDIACTIVATE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIRESTORE
public static final int WM_MDIRESTORE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDINEXT
public static final int WM_MDINEXT
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIMAXIMIZE
public static final int WM_MDIMAXIMIZE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDITILE
public static final int WM_MDITILE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDICASCADE
public static final int WM_MDICASCADE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIICONARRANGE
public static final int WM_MDIICONARRANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIGETACTIVE
public static final int WM_MDIGETACTIVE
Windows messages.- See Also:
- Constant Field Values
-
WM_MDISETMENU
public static final int WM_MDISETMENU
Windows messages.- See Also:
- Constant Field Values
-
WM_ENTERSIZEMOVE
public static final int WM_ENTERSIZEMOVE
Windows messages.- See Also:
- Constant Field Values
-
WM_EXITSIZEMOVE
public static final int WM_EXITSIZEMOVE
Windows messages.- See Also:
- Constant Field Values
-
WM_DROPFILES
public static final int WM_DROPFILES
Windows messages.- See Also:
- Constant Field Values
-
WM_MDIREFRESHMENU
public static final int WM_MDIREFRESHMENU
Windows messages.- See Also:
- Constant Field Values
-
WM_TOUCH
public static final int WM_TOUCH
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_SETCONTEXT
public static final int WM_IME_SETCONTEXT
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_NOTIFY
public static final int WM_IME_NOTIFY
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_CONTROL
public static final int WM_IME_CONTROL
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_COMPOSITIONFULL
public static final int WM_IME_COMPOSITIONFULL
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_SELECT
public static final int WM_IME_SELECT
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_CHAR
public static final int WM_IME_CHAR
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_REQUEST
public static final int WM_IME_REQUEST
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_KEYDOWN
public static final int WM_IME_KEYDOWN
Windows messages.- See Also:
- Constant Field Values
-
WM_IME_KEYUP
public static final int WM_IME_KEYUP
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSEHOVER
public static final int WM_MOUSEHOVER
Windows messages.- See Also:
- Constant Field Values
-
WM_MOUSELEAVE
public static final int WM_MOUSELEAVE
Windows messages.- See Also:
- Constant Field Values
-
WM_NCMOUSEHOVER
public static final int WM_NCMOUSEHOVER
Windows messages.- See Also:
- Constant Field Values
-
WM_NCMOUSELEAVE
public static final int WM_NCMOUSELEAVE
Windows messages.- See Also:
- Constant Field Values
-
WM_WTSSESSION_CHANGE
public static final int WM_WTSSESSION_CHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_TABLET_FIRST
public static final int WM_TABLET_FIRST
Windows messages.- See Also:
- Constant Field Values
-
WM_TABLET_LAST
public static final int WM_TABLET_LAST
Windows messages.- See Also:
- Constant Field Values
-
WM_CUT
public static final int WM_CUT
Windows messages.- See Also:
- Constant Field Values
-
WM_COPY
public static final int WM_COPY
Windows messages.- See Also:
- Constant Field Values
-
WM_PASTE
public static final int WM_PASTE
Windows messages.- See Also:
- Constant Field Values
-
WM_CLEAR
public static final int WM_CLEAR
Windows messages.- See Also:
- Constant Field Values
-
WM_UNDO
public static final int WM_UNDO
Windows messages.- See Also:
- Constant Field Values
-
WM_RENDERFORMAT
public static final int WM_RENDERFORMAT
Windows messages.- See Also:
- Constant Field Values
-
WM_RENDERALLFORMATS
public static final int WM_RENDERALLFORMATS
Windows messages.- See Also:
- Constant Field Values
-
WM_DESTROYCLIPBOARD
public static final int WM_DESTROYCLIPBOARD
Windows messages.- See Also:
- Constant Field Values
-
WM_DRAWCLIPBOARD
public static final int WM_DRAWCLIPBOARD
Windows messages.- See Also:
- Constant Field Values
-
WM_PAINTCLIPBOARD
public static final int WM_PAINTCLIPBOARD
Windows messages.- See Also:
- Constant Field Values
-
WM_VSCROLLCLIPBOARD
public static final int WM_VSCROLLCLIPBOARD
Windows messages.- See Also:
- Constant Field Values
-
WM_SIZECLIPBOARD
public static final int WM_SIZECLIPBOARD
Windows messages.- See Also:
- Constant Field Values
-
WM_ASKCBFORMATNAME
public static final int WM_ASKCBFORMATNAME
Windows messages.- See Also:
- Constant Field Values
-
WM_CHANGECBCHAIN
public static final int WM_CHANGECBCHAIN
Windows messages.- See Also:
- Constant Field Values
-
WM_HSCROLLCLIPBOARD
public static final int WM_HSCROLLCLIPBOARD
Windows messages.- See Also:
- Constant Field Values
-
WM_QUERYNEWPALETTE
public static final int WM_QUERYNEWPALETTE
Windows messages.- See Also:
- Constant Field Values
-
WM_PALETTEISCHANGING
public static final int WM_PALETTEISCHANGING
Windows messages.- See Also:
- Constant Field Values
-
WM_PALETTECHANGED
public static final int WM_PALETTECHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_HOTKEY
public static final int WM_HOTKEY
Windows messages.- See Also:
- Constant Field Values
-
WM_PRINT
public static final int WM_PRINT
Windows messages.- See Also:
- Constant Field Values
-
WM_PRINTCLIENT
public static final int WM_PRINTCLIENT
Windows messages.- See Also:
- Constant Field Values
-
WM_APPCOMMAND
public static final int WM_APPCOMMAND
Windows messages.- See Also:
- Constant Field Values
-
WM_THEMECHANGED
public static final int WM_THEMECHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_CLIPBOARDUPDATE
public static final int WM_CLIPBOARDUPDATE
Windows messages.- See Also:
- Constant Field Values
-
WM_DWMCOMPOSITIONCHANGED
public static final int WM_DWMCOMPOSITIONCHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_DWMNCRENDERINGCHANGED
public static final int WM_DWMNCRENDERINGCHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_DWMCOLORIZATIONCOLORCHANGED
public static final int WM_DWMCOLORIZATIONCOLORCHANGED
Windows messages.- See Also:
- Constant Field Values
-
WM_DWMWINDOWMAXIMIZEDCHANGE
public static final int WM_DWMWINDOWMAXIMIZEDCHANGE
Windows messages.- See Also:
- Constant Field Values
-
WM_DWMSENDICONICTHUMBNAIL
public static final int WM_DWMSENDICONICTHUMBNAIL
Windows messages.- See Also:
- Constant Field Values
-
WM_DWMSENDICONICLIVEPREVIEWBITMAP
public static final int WM_DWMSENDICONICLIVEPREVIEWBITMAP
Windows messages.- See Also:
- Constant Field Values
-
WM_GETTITLEBARINFOEX
public static final int WM_GETTITLEBARINFOEX
Windows messages.- See Also:
- Constant Field Values
-
WM_HANDHELDFIRST
public static final int WM_HANDHELDFIRST
Windows messages.- See Also:
- Constant Field Values
-
WM_HANDHELDLAST
public static final int WM_HANDHELDLAST
Windows messages.- See Also:
- Constant Field Values
-
WM_AFXFIRST
public static final int WM_AFXFIRST
Windows messages.- See Also:
- Constant Field Values
-
WM_AFXLAST
public static final int WM_AFXLAST
Windows messages.- See Also:
- Constant Field Values
-
WM_PENWINFIRST
public static final int WM_PENWINFIRST
Windows messages.- See Also:
- Constant Field Values
-
WM_PENWINLAST
public static final int WM_PENWINLAST
Windows messages.- See Also:
- Constant Field Values
-
WM_APP
public static final int WM_APP
Windows messages.- See Also:
- Constant Field Values
-
WM_USER
public static final int WM_USER
Windows messages.- See Also:
- Constant Field Values
-
WA_ACTIVE
public static final int WA_ACTIVE
User32.WM_ACTIVATE
messagewParam
values.- See Also:
- Constant Field Values
-
WA_CLICKACTIVE
public static final int WA_CLICKACTIVE
User32.WM_ACTIVATE
messagewParam
values.- See Also:
- Constant Field Values
-
WA_INACTIVE
public static final int WA_INACTIVE
User32.WM_ACTIVATE
messagewParam
values.- See Also:
- Constant Field Values
-
SIZE_RESTORED
public static final int SIZE_RESTORED
User32.WM_SIZE
messagewParam
values.- See Also:
- Constant Field Values
-
SIZE_MINIMIZED
public static final int SIZE_MINIMIZED
User32.WM_SIZE
messagewParam
values.- See Also:
- Constant Field Values
-
SIZE_MAXIMIZED
public static final int SIZE_MAXIMIZED
User32.WM_SIZE
messagewParam
values.- See Also:
- Constant Field Values
-
SIZE_MAXSHOW
public static final int SIZE_MAXSHOW
User32.WM_SIZE
messagewParam
values.- See Also:
- Constant Field Values
-
SIZE_MAXHIDE
public static final int SIZE_MAXHIDE
User32.WM_SIZE
messagewParam
values.- See Also:
- Constant Field Values
-
DBT_APPYBEGIN
public static final int DBT_APPYBEGIN
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
DBT_APPYEND
public static final int DBT_APPYEND
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
DBT_DEVNODES_CHANGED
public static final int DBT_DEVNODES_CHANGED
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
DBT_QUERYCHANGECONFIG
public static final int DBT_QUERYCHANGECONFIG
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
DBT_CONFIGCHANGED
public static final int DBT_CONFIGCHANGED
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
DBT_CONFIGCHANGECANCELED
public static final int DBT_CONFIGCHANGECANCELED
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
DBT_MONITORCHANGE
public static final int DBT_MONITORCHANGE
User32.WM_DEVICECHANGE
messagewParam
params.- See Also:
- Constant Field Values
-
SC_SIZE
public static final int SC_SIZE
System menu command values.- See Also:
- Constant Field Values
-
SC_MOVE
public static final int SC_MOVE
System menu command values.- See Also:
- Constant Field Values
-
SC_MINIMIZE
public static final int SC_MINIMIZE
System menu command values.- See Also:
- Constant Field Values
-
SC_MAXIMIZE
public static final int SC_MAXIMIZE
System menu command values.- See Also:
- Constant Field Values
-
SC_NEXTWINDOW
public static final int SC_NEXTWINDOW
System menu command values.- See Also:
- Constant Field Values
-
SC_PREVWINDOW
public static final int SC_PREVWINDOW
System menu command values.- See Also:
- Constant Field Values
-
SC_CLOSE
public static final int SC_CLOSE
System menu command values.- See Also:
- Constant Field Values
-
SC_VSCROLL
public static final int SC_VSCROLL
System menu command values.- See Also:
- Constant Field Values
-
SC_HSCROLL
public static final int SC_HSCROLL
System menu command values.- See Also:
- Constant Field Values
-
SC_MOUSEMENU
public static final int SC_MOUSEMENU
System menu command values.- See Also:
- Constant Field Values
-
SC_KEYMENU
public static final int SC_KEYMENU
System menu command values.- See Also:
- Constant Field Values
-
SC_ARRANGE
public static final int SC_ARRANGE
System menu command values.- See Also:
- Constant Field Values
-
SC_RESTORE
public static final int SC_RESTORE
System menu command values.- See Also:
- Constant Field Values
-
SC_TASKLIST
public static final int SC_TASKLIST
System menu command values.- See Also:
- Constant Field Values
-
SC_SCREENSAVE
public static final int SC_SCREENSAVE
System menu command values.- See Also:
- Constant Field Values
-
SC_HOTKEY
public static final int SC_HOTKEY
System menu command values.- See Also:
- Constant Field Values
-
SC_DEFAULT
public static final int SC_DEFAULT
System menu command values.- See Also:
- Constant Field Values
-
SC_MONITORPOWER
public static final int SC_MONITORPOWER
System menu command values.- See Also:
- Constant Field Values
-
SC_CONTEXTHELP
public static final int SC_CONTEXTHELP
System menu command values.- See Also:
- Constant Field Values
-
SC_SEPARATOR
public static final int SC_SEPARATOR
System menu command values.- See Also:
- Constant Field Values
-
MK_LBUTTON
public static final int MK_LBUTTON
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
MK_RBUTTON
public static final int MK_RBUTTON
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
MK_SHIFT
public static final int MK_SHIFT
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
MK_CONTROL
public static final int MK_CONTROL
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
MK_MBUTTON
public static final int MK_MBUTTON
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
MK_XBUTTON1
public static final int MK_XBUTTON1
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
MK_XBUTTON2
public static final int MK_XBUTTON2
Key state masks for mouse messages.- See Also:
- Constant Field Values
-
HTERROR
public static final int HTERROR
Mouse position codes.- See Also:
- Constant Field Values
-
HTTRANSPARENT
public static final int HTTRANSPARENT
Mouse position codes.- See Also:
- Constant Field Values
-
HTNOWHERE
public static final int HTNOWHERE
Mouse position codes.- See Also:
- Constant Field Values
-
HTCLIENT
public static final int HTCLIENT
Mouse position codes.- See Also:
- Constant Field Values
-
HTCAPTION
public static final int HTCAPTION
Mouse position codes.- See Also:
- Constant Field Values
-
HTSYSMENU
public static final int HTSYSMENU
Mouse position codes.- See Also:
- Constant Field Values
-
HTGROWBOX
public static final int HTGROWBOX
Mouse position codes.- See Also:
- Constant Field Values
-
HTSIZE
public static final int HTSIZE
Mouse position codes.- See Also:
- Constant Field Values
-
HTMENU
public static final int HTMENU
Mouse position codes.- See Also:
- Constant Field Values
-
HTHSCROLL
public static final int HTHSCROLL
Mouse position codes.- See Also:
- Constant Field Values
-
HTVSCROLL
public static final int HTVSCROLL
Mouse position codes.- See Also:
- Constant Field Values
-
HTMINBUTTON
public static final int HTMINBUTTON
Mouse position codes.- See Also:
- Constant Field Values
-
HTMAXBUTTON
public static final int HTMAXBUTTON
Mouse position codes.- See Also:
- Constant Field Values
-
HTLEFT
public static final int HTLEFT
Mouse position codes.- See Also:
- Constant Field Values
-
HTRIGHT
public static final int HTRIGHT
Mouse position codes.- See Also:
- Constant Field Values
-
HTTOP
public static final int HTTOP
Mouse position codes.- See Also:
- Constant Field Values
-
HTTOPLEFT
public static final int HTTOPLEFT
Mouse position codes.- See Also:
- Constant Field Values
-
HTTOPRIGHT
public static final int HTTOPRIGHT
Mouse position codes.- See Also:
- Constant Field Values
-
HTBOTTOM
public static final int HTBOTTOM
Mouse position codes.- See Also:
- Constant Field Values
-
HTBOTTOMLEFT
public static final int HTBOTTOMLEFT
Mouse position codes.- See Also:
- Constant Field Values
-
HTBOTTOMRIGHT
public static final int HTBOTTOMRIGHT
Mouse position codes.- See Also:
- Constant Field Values
-
HTBORDER
public static final int HTBORDER
Mouse position codes.- See Also:
- Constant Field Values
-
HTREDUCE
public static final int HTREDUCE
Mouse position codes.- See Also:
- Constant Field Values
-
HTZOOM
public static final int HTZOOM
Mouse position codes.- See Also:
- Constant Field Values
-
HTSIZEFIRST
public static final int HTSIZEFIRST
Mouse position codes.- See Also:
- Constant Field Values
-
HTSIZELAST
public static final int HTSIZELAST
Mouse position codes.- See Also:
- Constant Field Values
-
HTOBJECT
public static final int HTOBJECT
Mouse position codes.- See Also:
- Constant Field Values
-
HTCLOSE
public static final int HTCLOSE
Mouse position codes.- See Also:
- Constant Field Values
-
HTHELP
public static final int HTHELP
Mouse position codes.- See Also:
- Constant Field Values
-
GWL_WNDPROC
public static final int GWL_WNDPROC
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GWL_HINSTANCE
public static final int GWL_HINSTANCE
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GWL_HWNDPARENT
public static final int GWL_HWNDPARENT
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GWL_STYLE
public static final int GWL_STYLE
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GWL_EXSTYLE
public static final int GWL_EXSTYLE
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GWL_USERDATA
public static final int GWL_USERDATA
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GWL_ID
public static final int GWL_ID
Window field offsets forUser32.GetWindowLongPtr(long, int)
.- See Also:
- Constant Field Values
-
SW_HIDE
public static final int SW_HIDE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWNORMAL
public static final int SW_SHOWNORMAL
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_NORMAL
public static final int SW_NORMAL
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWMINIMIZED
public static final int SW_SHOWMINIMIZED
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWMAXIMIZED
public static final int SW_SHOWMAXIMIZED
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_MAXIMIZE
public static final int SW_MAXIMIZE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWNOACTIVATE
public static final int SW_SHOWNOACTIVATE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOW
public static final int SW_SHOW
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_MINIMIZE
public static final int SW_MINIMIZE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWMINNOACTIVE
public static final int SW_SHOWMINNOACTIVE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWNA
public static final int SW_SHOWNA
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_RESTORE
public static final int SW_RESTORE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_SHOWDEFAULT
public static final int SW_SHOWDEFAULT
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_FORCEMINIMIZE
public static final int SW_FORCEMINIMIZE
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
SW_MAX
public static final int SW_MAX
User32.ShowWindow(long, int)
commands.- See Also:
- Constant Field Values
-
HWND_TOP
public static final long HWND_TOP
Virtual window handles used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
- Constant Field Values
-
HWND_BOTTOM
public static final long HWND_BOTTOM
Virtual window handles used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
- Constant Field Values
-
HWND_TOPMOST
public static final long HWND_TOPMOST
Virtual window handles used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
- Constant Field Values
-
HWND_NOTOPMOST
public static final long HWND_NOTOPMOST
Virtual window handles used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
- Constant Field Values
-
HWND_BROADCAST
public static final long HWND_BROADCAST
Virtual window handle used byUser32.PostMessage(long, int, long, long)
that matches all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows.- See Also:
- Constant Field Values
-
SWP_NOSIZE
public static final int SWP_NOSIZE
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOMOVE
public static final int SWP_NOMOVE
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOZORDER
public static final int SWP_NOZORDER
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOREDRAW
public static final int SWP_NOREDRAW
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOACTIVATE
public static final int SWP_NOACTIVATE
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_FRAMECHANGED
public static final int SWP_FRAMECHANGED
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_SHOWWINDOW
public static final int SWP_SHOWWINDOW
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_HIDEWINDOW
public static final int SWP_HIDEWINDOW
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOCOPYBITS
public static final int SWP_NOCOPYBITS
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOOWNERZORDER
public static final int SWP_NOOWNERZORDER
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOSENDCHANGING
public static final int SWP_NOSENDCHANGING
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_DRAWFRAME
public static final int SWP_DRAWFRAME
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_NOREPOSITION
public static final int SWP_NOREPOSITION
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_DEFERERASE
public static final int SWP_DEFERERASE
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
SWP_ASYNCWINDOWPOS
public static final int SWP_ASYNCWINDOWPOS
Window sizing and positiong flags used by theUser32.SetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
- Constant Field Values
-
IDI_APPLICATION
public static final int IDI_APPLICATION
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_HAND
public static final int IDI_HAND
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_QUESTION
public static final int IDI_QUESTION
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_EXCLAMATION
public static final int IDI_EXCLAMATION
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_ASTERISK
public static final int IDI_ASTERISK
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_WINLOGO
public static final int IDI_WINLOGO
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_SHIELD
public static final int IDI_SHIELD
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_WARNING
public static final int IDI_WARNING
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_ERROR
public static final int IDI_ERROR
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDI_INFORMATION
public static final int IDI_INFORMATION
Standard Icon IDs. Use withUser32.LoadIcon(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_ARROW
public static final int IDC_ARROW
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_IBEAM
public static final int IDC_IBEAM
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_WAIT
public static final int IDC_WAIT
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_CROSS
public static final int IDC_CROSS
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_UPARROW
public static final int IDC_UPARROW
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_SIZE
public static final int IDC_SIZE
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_ICON
public static final int IDC_ICON
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_SIZENWSE
public static final int IDC_SIZENWSE
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_SIZENESW
public static final int IDC_SIZENESW
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_SIZEWE
public static final int IDC_SIZEWE
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_SIZENS
public static final int IDC_SIZENS
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_SIZEALL
public static final int IDC_SIZEALL
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_NO
public static final int IDC_NO
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_HAND
public static final int IDC_HAND
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_APPSTARTING
public static final int IDC_APPSTARTING
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
IDC_HELP
public static final int IDC_HELP
Standard Cursor IDs. Use withUser32.LoadCursor(long, java.nio.ByteBuffer)
.- See Also:
- Constant Field Values
-
GCL_MENUNAME
public static final int GCL_MENUNAME
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_HBRBACKGROUND
public static final int GCL_HBRBACKGROUND
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_HCURSOR
public static final int GCL_HCURSOR
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_HICON
public static final int GCL_HICON
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_HMODULE
public static final int GCL_HMODULE
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_CBWNDEXTRA
public static final int GCL_CBWNDEXTRA
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_CBCLSEXTRA
public static final int GCL_CBCLSEXTRA
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_WNDPROC
public static final int GCL_WNDPROC
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_STYLE
public static final int GCL_STYLE
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCW_ATOM
public static final int GCW_ATOM
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
GCL_HICONSM
public static final int GCL_HICONSM
Class field offsets forUser32.GetClassLongPtr(long, int)
.- See Also:
- Constant Field Values
-
QS_KEY
public static final int QS_KEY
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_MOUSEMOVE
public static final int QS_MOUSEMOVE
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_MOUSEBUTTON
public static final int QS_MOUSEBUTTON
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_POSTMESSAGE
public static final int QS_POSTMESSAGE
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_TIMER
public static final int QS_TIMER
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_PAINT
public static final int QS_PAINT
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_SENDMESSAGE
public static final int QS_SENDMESSAGE
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_HOTKEY
public static final int QS_HOTKEY
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_ALLPOSTMESSAGE
public static final int QS_ALLPOSTMESSAGE
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_RAWINPUT
public static final int QS_RAWINPUT
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_MOUSE
public static final int QS_MOUSE
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_INPUT
public static final int QS_INPUT
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_ALLEVENTS
public static final int QS_ALLEVENTS
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
QS_ALLINPUT
public static final int QS_ALLINPUT
Queue status flags for#GetQueueStatus
and#MsgWaitForMultipleObjects
- See Also:
- Constant Field Values
-
PM_NOREMOVE
public static final int PM_NOREMOVE
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
PM_REMOVE
public static final int PM_REMOVE
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
PM_NOYIELD
public static final int PM_NOYIELD
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
PM_QS_INPUT
public static final int PM_QS_INPUT
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
PM_QS_POSTMESSAGE
public static final int PM_QS_POSTMESSAGE
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
PM_QS_PAINT
public static final int PM_QS_PAINT
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
PM_QS_SENDMESSAGE
public static final int PM_QS_SENDMESSAGE
Remove message flags forUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
- Constant Field Values
-
VK_LBUTTON
public static final int VK_LBUTTON
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RBUTTON
public static final int VK_RBUTTON
Virtual Keys.- See Also:
- Constant Field Values
-
VK_CANCEL
public static final int VK_CANCEL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MBUTTON
public static final int VK_MBUTTON
Virtual Keys.- See Also:
- Constant Field Values
-
VK_XBUTTON1
public static final int VK_XBUTTON1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_XBUTTON2
public static final int VK_XBUTTON2
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BACK
public static final int VK_BACK
Virtual Keys.- See Also:
- Constant Field Values
-
VK_TAB
public static final int VK_TAB
Virtual Keys.- See Also:
- Constant Field Values
-
VK_CLEAR
public static final int VK_CLEAR
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RETURN
public static final int VK_RETURN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SHIFT
public static final int VK_SHIFT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_CONTROL
public static final int VK_CONTROL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MENU
public static final int VK_MENU
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PAUSE
public static final int VK_PAUSE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_CAPITAL
public static final int VK_CAPITAL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_KANA
public static final int VK_KANA
Virtual Keys.- See Also:
- Constant Field Values
-
VK_HANGEUL
public static final int VK_HANGEUL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_HANGUL
public static final int VK_HANGUL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_JUNJA
public static final int VK_JUNJA
Virtual Keys.- See Also:
- Constant Field Values
-
VK_FINAL
public static final int VK_FINAL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_HANJA
public static final int VK_HANJA
Virtual Keys.- See Also:
- Constant Field Values
-
VK_KANJI
public static final int VK_KANJI
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ESCAPE
public static final int VK_ESCAPE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_CONVERT
public static final int VK_CONVERT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NONCONVERT
public static final int VK_NONCONVERT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ACCEPT
public static final int VK_ACCEPT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MODECHANGE
public static final int VK_MODECHANGE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SPACE
public static final int VK_SPACE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PRIOR
public static final int VK_PRIOR
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NEXT
public static final int VK_NEXT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_END
public static final int VK_END
Virtual Keys.- See Also:
- Constant Field Values
-
VK_HOME
public static final int VK_HOME
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LEFT
public static final int VK_LEFT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_UP
public static final int VK_UP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RIGHT
public static final int VK_RIGHT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_DOWN
public static final int VK_DOWN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SELECT
public static final int VK_SELECT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PRINT
public static final int VK_PRINT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_EXECUTE
public static final int VK_EXECUTE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SNAPSHOT
public static final int VK_SNAPSHOT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_INSERT
public static final int VK_INSERT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_DELETE
public static final int VK_DELETE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_HELP
public static final int VK_HELP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LWIN
public static final int VK_LWIN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RWIN
public static final int VK_RWIN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_APPS
public static final int VK_APPS
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SLEEP
public static final int VK_SLEEP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD0
public static final int VK_NUMPAD0
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD1
public static final int VK_NUMPAD1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD2
public static final int VK_NUMPAD2
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD3
public static final int VK_NUMPAD3
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD4
public static final int VK_NUMPAD4
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD5
public static final int VK_NUMPAD5
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD6
public static final int VK_NUMPAD6
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD7
public static final int VK_NUMPAD7
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD8
public static final int VK_NUMPAD8
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMPAD9
public static final int VK_NUMPAD9
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MULTIPLY
public static final int VK_MULTIPLY
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ADD
public static final int VK_ADD
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SEPARATOR
public static final int VK_SEPARATOR
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SUBTRACT
public static final int VK_SUBTRACT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_DECIMAL
public static final int VK_DECIMAL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_DIVIDE
public static final int VK_DIVIDE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F1
public static final int VK_F1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F2
public static final int VK_F2
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F3
public static final int VK_F3
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F4
public static final int VK_F4
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F5
public static final int VK_F5
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F6
public static final int VK_F6
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F7
public static final int VK_F7
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F8
public static final int VK_F8
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F9
public static final int VK_F9
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F10
public static final int VK_F10
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F11
public static final int VK_F11
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F12
public static final int VK_F12
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F13
public static final int VK_F13
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F14
public static final int VK_F14
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F15
public static final int VK_F15
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F16
public static final int VK_F16
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F17
public static final int VK_F17
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F18
public static final int VK_F18
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F19
public static final int VK_F19
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F20
public static final int VK_F20
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F21
public static final int VK_F21
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F22
public static final int VK_F22
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F23
public static final int VK_F23
Virtual Keys.- See Also:
- Constant Field Values
-
VK_F24
public static final int VK_F24
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NUMLOCK
public static final int VK_NUMLOCK
Virtual Keys.- See Also:
- Constant Field Values
-
VK_SCROLL
public static final int VK_SCROLL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_NEC_EQUAL
public static final int VK_OEM_NEC_EQUAL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_FJ_JISHO
public static final int VK_OEM_FJ_JISHO
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_FJ_MASSHOU
public static final int VK_OEM_FJ_MASSHOU
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_FJ_TOUROKU
public static final int VK_OEM_FJ_TOUROKU
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_FJ_LOYA
public static final int VK_OEM_FJ_LOYA
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_FJ_ROYA
public static final int VK_OEM_FJ_ROYA
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LSHIFT
public static final int VK_LSHIFT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RSHIFT
public static final int VK_RSHIFT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LCONTROL
public static final int VK_LCONTROL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RCONTROL
public static final int VK_RCONTROL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LMENU
public static final int VK_LMENU
Virtual Keys.- See Also:
- Constant Field Values
-
VK_RMENU
public static final int VK_RMENU
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_BACK
public static final int VK_BROWSER_BACK
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_FORWARD
public static final int VK_BROWSER_FORWARD
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_REFRESH
public static final int VK_BROWSER_REFRESH
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_STOP
public static final int VK_BROWSER_STOP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_SEARCH
public static final int VK_BROWSER_SEARCH
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_FAVORITES
public static final int VK_BROWSER_FAVORITES
Virtual Keys.- See Also:
- Constant Field Values
-
VK_BROWSER_HOME
public static final int VK_BROWSER_HOME
Virtual Keys.- See Also:
- Constant Field Values
-
VK_VOLUME_MUTE
public static final int VK_VOLUME_MUTE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_VOLUME_DOWN
public static final int VK_VOLUME_DOWN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_VOLUME_UP
public static final int VK_VOLUME_UP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MEDIA_NEXT_TRACK
public static final int VK_MEDIA_NEXT_TRACK
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MEDIA_PREV_TRACK
public static final int VK_MEDIA_PREV_TRACK
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MEDIA_STOP
public static final int VK_MEDIA_STOP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_MEDIA_PLAY_PAUSE
public static final int VK_MEDIA_PLAY_PAUSE
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LAUNCH_MAIL
public static final int VK_LAUNCH_MAIL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LAUNCH_MEDIA_SELECT
public static final int VK_LAUNCH_MEDIA_SELECT
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LAUNCH_APP1
public static final int VK_LAUNCH_APP1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_LAUNCH_APP2
public static final int VK_LAUNCH_APP2
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_1
public static final int VK_OEM_1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_PLUS
public static final int VK_OEM_PLUS
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_COMMA
public static final int VK_OEM_COMMA
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_MINUS
public static final int VK_OEM_MINUS
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_PERIOD
public static final int VK_OEM_PERIOD
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_2
public static final int VK_OEM_2
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_3
public static final int VK_OEM_3
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_4
public static final int VK_OEM_4
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_5
public static final int VK_OEM_5
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_6
public static final int VK_OEM_6
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_7
public static final int VK_OEM_7
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_8
public static final int VK_OEM_8
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_AX
public static final int VK_OEM_AX
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_102
public static final int VK_OEM_102
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ICO_HELP
public static final int VK_ICO_HELP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ICO_00
public static final int VK_ICO_00
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PROCESSKEY
public static final int VK_PROCESSKEY
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ICO_CLEAR
public static final int VK_ICO_CLEAR
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PACKET
public static final int VK_PACKET
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_RESET
public static final int VK_OEM_RESET
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_JUMP
public static final int VK_OEM_JUMP
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_PA1
public static final int VK_OEM_PA1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_PA2
public static final int VK_OEM_PA2
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_PA3
public static final int VK_OEM_PA3
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_WSCTRL
public static final int VK_OEM_WSCTRL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_CUSEL
public static final int VK_OEM_CUSEL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_ATTN
public static final int VK_OEM_ATTN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_FINISH
public static final int VK_OEM_FINISH
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_COPY
public static final int VK_OEM_COPY
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_AUTO
public static final int VK_OEM_AUTO
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_ENLW
public static final int VK_OEM_ENLW
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_BACKTAB
public static final int VK_OEM_BACKTAB
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ATTN
public static final int VK_ATTN
Virtual Keys.- See Also:
- Constant Field Values
-
VK_CRSEL
public static final int VK_CRSEL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_EXSEL
public static final int VK_EXSEL
Virtual Keys.- See Also:
- Constant Field Values
-
VK_EREOF
public static final int VK_EREOF
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PLAY
public static final int VK_PLAY
Virtual Keys.- See Also:
- Constant Field Values
-
VK_ZOOM
public static final int VK_ZOOM
Virtual Keys.- See Also:
- Constant Field Values
-
VK_NONAME
public static final int VK_NONAME
Virtual Keys.- See Also:
- Constant Field Values
-
VK_PA1
public static final int VK_PA1
Virtual Keys.- See Also:
- Constant Field Values
-
VK_OEM_CLEAR
public static final int VK_OEM_CLEAR
Virtual Keys.- See Also:
- Constant Field Values
-
XBUTTON1
public static final int XBUTTON1
XButton values.- See Also:
- Constant Field Values
-
XBUTTON2
public static final int XBUTTON2
XButton values.- See Also:
- Constant Field Values
-
WHEEL_DELTA
public static final int WHEEL_DELTA
Value for rolling one detent.- See Also:
- Constant Field Values
-
WPF_SETMINPOSITION
public static final int WPF_SETMINPOSITION
WINDOWPLACEMENT
flags.- See Also:
- Constant Field Values
-
WPF_RESTORETOMAXIMIZED
public static final int WPF_RESTORETOMAXIMIZED
WINDOWPLACEMENT
flags.- See Also:
- Constant Field Values
-
WPF_ASYNCWINDOWPLACEMENT
public static final int WPF_ASYNCWINDOWPLACEMENT
WINDOWPLACEMENT
flags.- See Also:
- Constant Field Values
-
LWA_COLORKEY
public static final int LWA_COLORKEY
- See Also:
- Constant Field Values
-
LWA_ALPHA
public static final int LWA_ALPHA
- See Also:
- Constant Field Values
-
SM_CXSCREEN
public static final int SM_CXSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYSCREEN
public static final int SM_CYSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXVSCROLL
public static final int SM_CXVSCROLL
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYHSCROLL
public static final int SM_CYHSCROLL
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYCAPTION
public static final int SM_CYCAPTION
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXBORDER
public static final int SM_CXBORDER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYBORDER
public static final int SM_CYBORDER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXDLGFRAME
public static final int SM_CXDLGFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYDLGFRAME
public static final int SM_CYDLGFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYVTHUMB
public static final int SM_CYVTHUMB
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXHTHUMB
public static final int SM_CXHTHUMB
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXICON
public static final int SM_CXICON
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYICON
public static final int SM_CYICON
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXCURSOR
public static final int SM_CXCURSOR
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYCURSOR
public static final int SM_CYCURSOR
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMENU
public static final int SM_CYMENU
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXFULLSCREEN
public static final int SM_CXFULLSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYFULLSCREEN
public static final int SM_CYFULLSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYKANJIWINDOW
public static final int SM_CYKANJIWINDOW
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MOUSEPRESENT
public static final int SM_MOUSEPRESENT
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYVSCROLL
public static final int SM_CYVSCROLL
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXHSCROLL
public static final int SM_CXHSCROLL
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_DEBUG
public static final int SM_DEBUG
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SWAPBUTTON
public static final int SM_SWAPBUTTON
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_RESERVED1
public static final int SM_RESERVED1
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_RESERVED2
public static final int SM_RESERVED2
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_RESERVED3
public static final int SM_RESERVED3
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_RESERVED4
public static final int SM_RESERVED4
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMIN
public static final int SM_CXMIN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMIN
public static final int SM_CYMIN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXSIZE
public static final int SM_CXSIZE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYSIZE
public static final int SM_CYSIZE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXFRAME
public static final int SM_CXFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYFRAME
public static final int SM_CYFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMINTRACK
public static final int SM_CXMINTRACK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMINTRACK
public static final int SM_CYMINTRACK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXDOUBLECLK
public static final int SM_CXDOUBLECLK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYDOUBLECLK
public static final int SM_CYDOUBLECLK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXICONSPACING
public static final int SM_CXICONSPACING
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYICONSPACING
public static final int SM_CYICONSPACING
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MENUDROPALIGNMENT
public static final int SM_MENUDROPALIGNMENT
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_PENWINDOWS
public static final int SM_PENWINDOWS
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_DBCSENABLED
public static final int SM_DBCSENABLED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CMOUSEBUTTONS
public static final int SM_CMOUSEBUTTONS
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXFIXEDFRAME
public static final int SM_CXFIXEDFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYFIXEDFRAME
public static final int SM_CYFIXEDFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXSIZEFRAME
public static final int SM_CXSIZEFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYSIZEFRAME
public static final int SM_CYSIZEFRAME
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SECURE
public static final int SM_SECURE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXEDGE
public static final int SM_CXEDGE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYEDGE
public static final int SM_CYEDGE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMINSPACING
public static final int SM_CXMINSPACING
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMINSPACING
public static final int SM_CYMINSPACING
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXSMICON
public static final int SM_CXSMICON
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYSMICON
public static final int SM_CYSMICON
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYSMCAPTION
public static final int SM_CYSMCAPTION
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXSMSIZE
public static final int SM_CXSMSIZE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYSMSIZE
public static final int SM_CYSMSIZE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMENUSIZE
public static final int SM_CXMENUSIZE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMENUSIZE
public static final int SM_CYMENUSIZE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_ARRANGE
public static final int SM_ARRANGE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMINIMIZED
public static final int SM_CXMINIMIZED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMINIMIZED
public static final int SM_CYMINIMIZED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMAXTRACK
public static final int SM_CXMAXTRACK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMAXTRACK
public static final int SM_CYMAXTRACK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMAXIMIZED
public static final int SM_CXMAXIMIZED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMAXIMIZED
public static final int SM_CYMAXIMIZED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_NETWORK
public static final int SM_NETWORK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CLEANBOOT
public static final int SM_CLEANBOOT
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXDRAG
public static final int SM_CXDRAG
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYDRAG
public static final int SM_CYDRAG
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SHOWSOUNDS
public static final int SM_SHOWSOUNDS
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXMENUCHECK
public static final int SM_CXMENUCHECK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYMENUCHECK
public static final int SM_CYMENUCHECK
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SLOWMACHINE
public static final int SM_SLOWMACHINE
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MIDEASTENABLED
public static final int SM_MIDEASTENABLED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MOUSEWHEELPRESENT
public static final int SM_MOUSEWHEELPRESENT
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_XVIRTUALSCREEN
public static final int SM_XVIRTUALSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_YVIRTUALSCREEN
public static final int SM_YVIRTUALSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXVIRTUALSCREEN
public static final int SM_CXVIRTUALSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYVIRTUALSCREEN
public static final int SM_CYVIRTUALSCREEN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CMONITORS
public static final int SM_CMONITORS
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SAMEDISPLAYFORMAT
public static final int SM_SAMEDISPLAYFORMAT
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_IMMENABLED
public static final int SM_IMMENABLED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_REMOTESESSION
public static final int SM_REMOTESESSION
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SHUTTINGDOWN
public static final int SM_SHUTTINGDOWN
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_REMOTECONTROL
public static final int SM_REMOTECONTROL
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CARETBLINKINGENABLED
public static final int SM_CARETBLINKINGENABLED
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXFOCUSBORDER
public static final int SM_CXFOCUSBORDER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CYFOCUSBORDER
public static final int SM_CYFOCUSBORDER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_TABLETPC
public static final int SM_TABLETPC
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MEDIACENTER
public static final int SM_MEDIACENTER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_STARTER
public static final int SM_STARTER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_SERVERR2
public static final int SM_SERVERR2
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MOUSEHORIZONTALWHEELPRESENT
public static final int SM_MOUSEHORIZONTALWHEELPRESENT
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_CXPADDEDBORDER
public static final int SM_CXPADDEDBORDER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_DIGITIZER
public static final int SM_DIGITIZER
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
SM_MAXIMUMTOUCHES
public static final int SM_MAXIMUMTOUCHES
User32.GetSystemMetrics(int)
codes.- See Also:
- Constant Field Values
-
TWF_FINETOUCH
public static final int TWF_FINETOUCH
- See Also:
- Constant Field Values
-
TWF_WANTPALM
public static final int TWF_WANTPALM
- See Also:
- Constant Field Values
-
TOUCHEVENTF_MOVE
public static final int TOUCHEVENTF_MOVE
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_DOWN
public static final int TOUCHEVENTF_DOWN
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_UP
public static final int TOUCHEVENTF_UP
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_INRANGE
public static final int TOUCHEVENTF_INRANGE
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_PRIMARY
public static final int TOUCHEVENTF_PRIMARY
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_NOCOALESCE
public static final int TOUCHEVENTF_NOCOALESCE
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_PEN
public static final int TOUCHEVENTF_PEN
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHEVENTF_PALM
public static final int TOUCHEVENTF_PALM
Touch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
- Constant Field Values
-
TOUCHINPUTMASKF_TIMEFROMSYSTEM
public static final int TOUCHINPUTMASKF_TIMEFROMSYSTEM
Touch input mask values (TOUCHINPUT.dwMask()
).- See Also:
- Constant Field Values
-
TOUCHINPUTMASKF_EXTRAINFO
public static final int TOUCHINPUTMASKF_EXTRAINFO
Touch input mask values (TOUCHINPUT.dwMask()
).- See Also:
- Constant Field Values
-
TOUCHINPUTMASKF_CONTACTAREA
public static final int TOUCHINPUTMASKF_CONTACTAREA
Touch input mask values (TOUCHINPUT.dwMask()
).- See Also:
- Constant Field Values
-
MONITOR_DEFAULTTONULL
public static final int MONITOR_DEFAULTTONULL
- See Also:
- Constant Field Values
-
MONITOR_DEFAULTTOPRIMARY
public static final int MONITOR_DEFAULTTOPRIMARY
- See Also:
- Constant Field Values
-
MONITOR_DEFAULTTONEAREST
public static final int MONITOR_DEFAULTTONEAREST
- See Also:
- Constant Field Values
-
MONITORINFOF_PRIMARY
public static final int MONITORINFOF_PRIMARY
MONITORINFOEX
flags.- See Also:
- Constant Field Values
-
EDD_GET_DEVICE_INTERFACE_NAME
public static final int EDD_GET_DEVICE_INTERFACE_NAME
Flag forUser32.EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
.- See Also:
- Constant Field Values
-
ENUM_CURRENT_SETTINGS
public static final int ENUM_CURRENT_SETTINGS
- See Also:
- Constant Field Values
-
ENUM_REGISTRY_SETTINGS
public static final int ENUM_REGISTRY_SETTINGS
- See Also:
- Constant Field Values
-
EDS_RAWMODE
public static final int EDS_RAWMODE
Flags forUser32.EnumDisplaySettingsEx(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DEVMODE, int)
.- See Also:
- Constant Field Values
-
EDS_ROTATEDMODE
public static final int EDS_ROTATEDMODE
Flags forUser32.EnumDisplaySettingsEx(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DEVMODE, int)
.- See Also:
- Constant Field Values
-
CDS_UPDATEREGISTRY
public static final int CDS_UPDATEREGISTRY
- See Also:
- Constant Field Values
-
CDS_TEST
public static final int CDS_TEST
- See Also:
- Constant Field Values
-
CDS_FULLSCREEN
public static final int CDS_FULLSCREEN
- See Also:
- Constant Field Values
-
CDS_GLOBAL
public static final int CDS_GLOBAL
- See Also:
- Constant Field Values
-
CDS_SET_PRIMARY
public static final int CDS_SET_PRIMARY
- See Also:
- Constant Field Values
-
CDS_VIDEOPARAMETERS
public static final int CDS_VIDEOPARAMETERS
- See Also:
- Constant Field Values
-
CDS_ENABLE_UNSAFE_MODES
public static final int CDS_ENABLE_UNSAFE_MODES
- See Also:
- Constant Field Values
-
CDS_DISABLE_UNSAFE_MODES
public static final int CDS_DISABLE_UNSAFE_MODES
- See Also:
- Constant Field Values
-
CDS_RESET
public static final int CDS_RESET
- See Also:
- Constant Field Values
-
CDS_RESET_EX
public static final int CDS_RESET_EX
- See Also:
- Constant Field Values
-
CDS_NORESET
public static final int CDS_NORESET
- See Also:
- Constant Field Values
-
DISP_CHANGE_SUCCESSFUL
public static final int DISP_CHANGE_SUCCESSFUL
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_RESTART
public static final int DISP_CHANGE_RESTART
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_FAILED
public static final int DISP_CHANGE_FAILED
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_BADMODE
public static final int DISP_CHANGE_BADMODE
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_NOTUPDATED
public static final int DISP_CHANGE_NOTUPDATED
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_BADFLAGS
public static final int DISP_CHANGE_BADFLAGS
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_BADPARAM
public static final int DISP_CHANGE_BADPARAM
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
DISP_CHANGE_BADDUALVIEW
public static final int DISP_CHANGE_BADDUALVIEW
Return values forUser32.ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getLibrary
public static SharedLibrary getLibrary()
Returns the user32SharedLibrary
.
-
RegisterClassEx
public static short RegisterClassEx(WNDCLASSEX lpwcx)
Registers a window class for subsequent use in calls to theUser32.CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function.- Parameters:
lpwcx
- aWNDCLASSEX
structure. You must fill the structure with the appropriate class attributes before passing it to the function.
-
UnregisterClass
public static boolean UnregisterClass(java.nio.ByteBuffer lpClassName, long hInstance)
Unregisters a window class, freeing the memory required for the class.- Parameters:
lpClassName
- a null-terminated string or a class atom. IflpClassName
is a string, it specifies the window class name. This class name must have been registered by a previous call to theUser32.RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
function. System classes, such as dialog box controls, cannot be unregistered. If this parameter is an atom, it must be a class atom created by a previous call to theUser32.RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
function. The atom must be in the low-order word oflpClassName
; the high-order word must be zero.hInstance
- a handle to the instance of the module that created the class
-
UnregisterClass
public static boolean UnregisterClass(java.lang.CharSequence lpClassName, long hInstance)
Unregisters a window class, freeing the memory required for the class.- Parameters:
lpClassName
- a null-terminated string or a class atom. IflpClassName
is a string, it specifies the window class name. This class name must have been registered by a previous call to theUser32.RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
function. System classes, such as dialog box controls, cannot be unregistered. If this parameter is an atom, it must be a class atom created by a previous call to theUser32.RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
function. The atom must be in the low-order word oflpClassName
; the high-order word must be zero.hInstance
- a handle to the instance of the module that created the class
-
CreateWindowEx
public static long CreateWindowEx(int dwExStyle, java.nio.ByteBuffer lpClassName, java.nio.ByteBuffer lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, long hWndParent, long hMenu, long hInstance, long lpParam)
Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function.- Parameters:
dwExStyle
- the extended window style of the window being createdlpClassName
- a null-terminated string or a class atom created by a previous call to theUser32.RegisterClassEx(WNDCLASSEX)
function.lpWindowName
- the window name. If the window style specifies a title bar, the window title pointed to bylpWindowName
is displayed in the title bar.dwStyle
- the style of the window being createdx
- the initial horizontal position of the windowy
- the initial vertical position of the windownWidth
- the width, in device units, of the windownHeight
- the height, in device units, of the windowhWndParent
- a handle to the parent or owner window of the window being created. To create a child window or an owned window, supply a valid window handle.hMenu
- a handle to a menu, or specifies a child-window identifier, depending on the window stylehInstance
- a handle to the instance of the module to be associated with the windowlpParam
- a value to be passed to the window through theCREATESTRUCT
structure (createParams
member) pointed to by thelParam
param of theUser32.WM_CREATE
message.
-
CreateWindowEx
public static long CreateWindowEx(int dwExStyle, java.lang.CharSequence lpClassName, java.lang.CharSequence lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, long hWndParent, long hMenu, long hInstance, long lpParam)
Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function.- Parameters:
dwExStyle
- the extended window style of the window being createdlpClassName
- a null-terminated string or a class atom created by a previous call to theUser32.RegisterClassEx(WNDCLASSEX)
function.lpWindowName
- the window name. If the window style specifies a title bar, the window title pointed to bylpWindowName
is displayed in the title bar.dwStyle
- the style of the window being createdx
- the initial horizontal position of the windowy
- the initial vertical position of the windownWidth
- the width, in device units, of the windownHeight
- the height, in device units, of the windowhWndParent
- a handle to the parent or owner window of the window being created. To create a child window or an owned window, supply a valid window handle.hMenu
- a handle to a menu, or specifies a child-window identifier, depending on the window stylehInstance
- a handle to the instance of the module to be associated with the windowlpParam
- a value to be passed to the window through theCREATESTRUCT
structure (createParams
member) pointed to by thelParam
param of theUser32.WM_CREATE
message.
-
DestroyWindow
public static boolean DestroyWindow(long hWnd)
Destroys the specified window. The function sendsUser32.WM_DESTROY
andUser32.WM_NCDESTROY
messages to the window to deactivate it and remove the keyboard focus from it. The function also destroys the window's menu, flushes the thread message queue, destroys timers, removes clipboard ownership, and breaks the clipboard viewer chain (if the window is at the top of the viewer chain).If the specified window is a parent or owner window, DestroyWindow automatically destroys the associated child or owned windows when it destroys the parent or owner window. The function first destroys child or owned windows, and then it destroys the parent or owner window.
- Parameters:
hWnd
- a handle to the window to be destroyed
-
DefWindowProc
public static long DefWindowProc(long hWnd, int Msg, long wParam, long lParam)
Calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.- Parameters:
hWnd
- a handle to the window that received the messageMsg
- the messagewParam
- additional message information. The content of this parameter depends on the value of theMsg
parameter.lParam
- additional message information. The content of this parameter depends on the value of theMsg
parameter.
-
ShowWindow
public static boolean ShowWindow(long hWnd, int nCmdShow)
Sets the specified window's show state.- Parameters:
hWnd
- a handle to the windownCmdShow
- controls how the window is to be shown. This parameter is ignored the first time an application callsShowWindow
, if the program that launched the application provides aSTARTUPINFO
structure. Otherwise, the first timeShowWindow
is called, the value should be the value obtained by theWinMain
function in itsnCmdShow
parameter. In subsequent calls, this parameter can be one of:
-
UpdateWindow
public static boolean UpdateWindow(long hWnd)
Updates the client area of the specified window by sending aUser32.WM_PAINT
message to the window if the window's update region is not empty. The function sends aUser32.WM_PAINT
message directly to the window procedure of the specified window, bypassing the application queue. If the update region is empty, no message is sent.- Parameters:
hWnd
- handle to the window to be updated
-
SetWindowPos
public static boolean SetWindowPos(long hWnd, long hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags)
Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order.- Parameters:
hWnd
- a handle to the windowhWndInsertAfter
- a handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of:User32.HWND_TOP
User32.HWND_BOTTOM
User32.HWND_TOPMOST
User32.HWND_NOTOPMOST
X
- the new position of the left side of the window, in client coordinatesY
- the new position of the top of the window, in client coordinatescx
- the new width of the window, in pixelscy
- the new height of the window, in pixelsuFlags
- the window sizing and positioning flags. One or more of:
-
SetWindowText
public static boolean SetWindowText(long hWnd, java.nio.ByteBuffer lpString)
Changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However,SetWindowText
cannot change the text of a control in another application.- Parameters:
hWnd
- a handle to the window or control whose text is to be changedlpString
- the new title or control text
-
SetWindowText
public static boolean SetWindowText(long hWnd, java.lang.CharSequence lpString)
Changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However,SetWindowText
cannot change the text of a control in another application.- Parameters:
hWnd
- a handle to the window or control whose text is to be changedlpString
- the new title or control text
-
GetMessage
public static boolean GetMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax)
Retrieves a message from the calling thread's message queue. The function dispatches incoming sent messages until a posted message is available for retrieval. Unlike GetMessage, theUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function does not wait for a message to be posted before returning.- Parameters:
lpMsg
- a pointer to anMSG
structure that receives message information from the thread's message queuehWnd
- a handle to the window whose messages are to be retrieved. The window must belong to the current thread.If
hWnd
isNULL
,GetMessage
retrieves messages for any window that belongs to the current thread, and any messages on the current thread's message queue whosehwnd
value isNULL
(see theMSG
structure). Therefore ifhWnd
isNULL
, both window messages and thread messages are processed.If
hWnd
is -1,GetMessage
retrieves only messages on the current thread's message queue whosehwnd
value isNULL
, that is, thread messages as posted byUser32.PostMessage(long, int, long, long)
(when thehWnd
parameter isNULL
) orPostThreadMessage
.wMsgFilterMin
- the integer value of the lowest message value to be retrievedwMsgFilterMax
- the integer value of the highest message value to be retrieved
-
PeekMessage
public static boolean PeekMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg)
Dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).- Parameters:
lpMsg
- a pointer to anMSG
structure that receives message informationhWnd
- a handle to the window whose messages are to be retrieved. The window must belong to the current thread.If
hWnd
isNULL
,GetMessage
retrieves messages for any window that belongs to the current thread, and any messages on the current thread's message queue whosehwnd
value isNULL
(see theMSG
structure). Therefore ifhWnd
isNULL
, both window messages and thread messages are processed.If
hWnd
is -1,GetMessage
retrieves only messages on the current thread's message queue whosehwnd
value isNULL
, that is, thread messages as posted byUser32.PostMessage(long, int, long, long)
(when thehWnd
parameter isNULL
) orPostThreadMessage
.wMsgFilterMin
- the integer value of the lowest message value to be retrievedwMsgFilterMax
- the integer value of the highest message value to be retrievedwRemoveMsg
- specifies how messages are to be handled. One of:User32.PM_NOREMOVE
User32.PM_REMOVE
User32.PM_NOYIELD
-
TranslateMessage
public static boolean TranslateMessage(MSG lpMsg)
Translates virtual-key messages into character messages. The character messages are posted to the calling thread's message queue, to be read the next time the thread calls theUser32.GetMessage(org.lwjgl.system.windows.MSG, long, int, int)
orUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function.- Parameters:
lpMsg
- anMSG
structure that contains message information retrieved from the calling thread's message queue by using theUser32.GetMessage(org.lwjgl.system.windows.MSG, long, int, int)
orUser32.PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function.
-
WaitMessage
public static boolean WaitMessage()
Yields control to other threads when a thread has no other messages in its message queue. The WaitMessage function suspends the thread and does not return until a new message is placed in the thread's message queue.
-
DispatchMessage
public static long DispatchMessage(MSG lpmsg)
Dispatches a message to a window procedure. It is typically used to dispatch a message retrieved by theUser32.GetMessage(org.lwjgl.system.windows.MSG, long, int, int)
function.- Parameters:
lpmsg
- a pointer to a structure that contains the message.
-
PostMessage
public static boolean PostMessage(long hWnd, int Msg, long wParam, long lParam)
Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.- Parameters:
hWnd
- a handle to the window whose window procedure is to receive the message. The following values have special meanings:User32.HWND_BROADCAST
- The message is posted to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows. The message is not posted to child windows.NULL
- The function behaves like a call to PostThreadMessage with the dwThreadId parameter set to the identifier of the current thread.
Msg
- the message to be postedwParam
- additional message-specific informationlParam
- additional message-specific information
-
SendMessage
public static boolean SendMessage(long hWnd, int Msg, long wParam, long lParam)
Sends the specified message to a window or windows. TheSendMessage
function calls the window procedure for the specified window and does not return until the window procedure has processed the message.- Parameters:
hWnd
- a handle to the window whose window procedure will receive the message. If this parameter isUser32.HWND_BROADCAST
, the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.Message sending is subject to UIPI. The thread of a process can send messages only to message queues of threads in processes of lesser or equal integrity level.
Msg
- the message to be sentwParam
- additional message-specific informationlParam
- additional message-specific information
-
AdjustWindowRectEx
public static boolean AdjustWindowRectEx(RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle)
Calculates the required size of the window rectangle, based on the desired size of the client rectangle. The window rectangle can then be passed to theUser32.CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function to create a window whose client area is the desired size.- Parameters:
lpRect
- a pointer to aRECT
structure that contains the coordinates of the top-left and bottom-right corners of the desired client area. When the function returns, the structure contains the coordinates of the top-left and bottom-right corners of the window to accommodate the desired client area.dwStyle
- the window style of the window whose required size is to be calculated. Note that you cannot specify theUser32.WS_OVERLAPPED
style.bMenu
- indicates whether the window has a menudwExStyle
- the extended window style of the window whose required size is to be calculated
-
GetWindowRect
public static boolean GetWindowRect(long hWnd, RECT lpRect)
Retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.- Parameters:
hWnd
- a handle to the windowlpRect
- a pointer to aRECT
structure that receives the screen coordinates of the upper-left and lower-right corners of the window
-
MoveWindow
public static boolean MoveWindow(long hWnd, int X, int Y, int nWidth, int nHeight, boolean bRepaint)
Changes the position and dimensions of the specified window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the parent window's client area.- Parameters:
hWnd
- a handle to the windowX
- the new position of the left side of the windowY
- the new position of the top of the windownWidth
- the new width of the windownHeight
- the new height of the windowbRepaint
- indicates whether the window is to be repainted. If this parameter is TRUE, the window receives a message. If the parameter is FALSE, no repainting of any kind occurs. This applies to the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent window uncovered as a result of moving a child window.
-
GetWindowPlacement
public static boolean GetWindowPlacement(long hWnd, WINDOWPLACEMENT lpwndpl)
Retrieves the show state and the restored, minimized, and maximized positions of the specified window.- Parameters:
hWnd
- a handle to the windowlpwndpl
- a pointer to theWINDOWPLACEMENT
structure that receives the show state and position information.Before calling
GetWindowPlacement
, set the length member toWINDOWPLACEMENT.SIZEOF
.GetWindowPlacement
fails iflpwndpl->length
is not set correctly.
-
SetWindowPlacement
public static boolean SetWindowPlacement(long hWnd, WINDOWPLACEMENT lpwndpl)
Sets the show state and the restored, minimized, and maximized positions of the specified window.- Parameters:
hWnd
- a handle to the windowlpwndpl
- a pointer to theWINDOWPLACEMENT
structure that specifies the new show state and window positions.Before calling
SetWindowPlacement
, set thelength
member of theWINDOWPLACEMENT
structure toWINDOWPLACEMENT.SIZEOF
.SetWindowPlacement
fails if the length member is not set correctly.
-
IsWindowVisible
public static boolean IsWindowVisible(long hWnd)
Determines the visibility state of the specified window.- Parameters:
hWnd
- a handle to the window to be tested
-
IsIconic
public static boolean IsIconic(long hWnd)
Determines whether the specified window is minimized (iconic).- Parameters:
hWnd
- a handle to the window to be tested
-
IsZoomed
public static boolean IsZoomed(long hWnd)
Determines whether a window is maximized.- Parameters:
hWnd
- a handle to the window to be tested
-
BringWindowToTop
public static boolean BringWindowToTop(long hWnd)
Brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.- Parameters:
hWnd
- a handle to the window to bring to the top of the Z order
-
SetWindowLongPtr
public static long SetWindowLongPtr(long hWnd, int nIndex, long dwNewLong)
Changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. To set any other value, specify one of:User32.GWL_WNDPROC
User32.GWL_HINSTANCE
User32.GWL_HWNDPARENT
User32.GWL_STYLE
User32.GWL_EXSTYLE
User32.GWL_USERDATA
User32.GWL_ID
dwNewLong
- the replacement value- Returns:
- the previous value at the given
index
-
GetWindowLongPtr
public static long GetWindowLongPtr(long hWnd, int nIndex)
Retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. To set any other value, specify one of:User32.GWL_WNDPROC
User32.GWL_HINSTANCE
User32.GWL_HWNDPARENT
User32.GWL_STYLE
User32.GWL_EXSTYLE
User32.GWL_USERDATA
User32.GWL_ID
-
SetClassLongPtr
public static long SetClassLongPtr(long hWnd, int nIndex, long dwNewLong)
Replaces the specified value at the specified offset in the extra class memory or theWNDCLASSEX
structure for the class to which the specified window belongs.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the value to be replaced. To set a value in the extra class memory, specify the positive, zero-based byte offset of the value to be set. Valid values are in the range zero through the number of bytes of extra class memory, minus eight; for example, if you specified 24 or more bytes of extra class memory, a value of 16 would be an index to the third integer. To set a value other than theWNDCLASSEX
structure, specify one of:dwNewLong
- the replacement value- Returns:
- if the function succeeds, the return value is the previous value of the specified offset. If this was not previously set, the return value is zero.
If the function fails, the return value is zero. To get extended error information, call
WinBase.getLastError()
.
-
GetClassLongPtr
public static long GetClassLongPtr(long hWnd, int nIndex)
Retrieves the specified value from theWNDCLASSEX
structure associated with the specified window.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the value to be retrieved. To retrieve a value from the extra class memory, specify the positive, zero-based byte offset of the value to be retrieved. Valid values are in the range zero through the number of bytes of extra class memory, minus eight; for example, if you specified 24 or more bytes of extra class memory, a value of 16 would be an index to the third integer. To retrieve any other value from theWNDCLASSEX
structure, specify one of:
-
SetLayeredWindowAttributes
public static boolean SetLayeredWindowAttributes(long hwnd, int crKey, byte bAlpha, int dwFlags)
- Parameters:
hwnd
- a handle to the layered window. A layered window is created by specifyingUser32.WS_EX_LAYERED
when creating the window with theUser32.CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function or by settingUser32.WS_EX_LAYERED
viaUser32.SetWindowLongPtr(long, int, long)
after the window has been created.crKey
- the transparency color key (0x00bbggrr) to be used when composing the layered window. All pixels painted by the window in this color will be transparent.bAlpha
- the alpha value used to describe the opacity of the layered window. WhenbAlpha
is 0, the window is completely transparent. WhenbAlpha
is 255, the window is opaque.dwFlags
- an action to be taken. One or more of:User32.LWA_COLORKEY
User32.LWA_ALPHA
-
LoadIcon
public static long LoadIcon(long instance, java.nio.ByteBuffer iconName)
Loads the specified icon resource from the executable (.exe) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must beNULL
when a standard icon is being loaded.iconName
- the name of the icon resource to be loaded or one of:User32.IDI_APPLICATION
User32.IDI_HAND
User32.IDI_QUESTION
User32.IDI_EXCLAMATION
User32.IDI_ASTERISK
User32.IDI_WINLOGO
User32.IDI_SHIELD
User32.IDI_WARNING
User32.IDI_ERROR
User32.IDI_INFORMATION
-
LoadIcon
public static long LoadIcon(long instance, java.lang.CharSequence iconName)
Loads the specified icon resource from the executable (.exe) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must beNULL
when a standard icon is being loaded.iconName
- the name of the icon resource to be loaded or one of:User32.IDI_APPLICATION
User32.IDI_HAND
User32.IDI_QUESTION
User32.IDI_EXCLAMATION
User32.IDI_ASTERISK
User32.IDI_WINLOGO
User32.IDI_SHIELD
User32.IDI_WARNING
User32.IDI_ERROR
User32.IDI_INFORMATION
-
LoadCursor
public static long LoadCursor(long instance, java.nio.ByteBuffer cursorName)
Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the cursor to be loaded.cursorName
- the name of the cursor resource to be loaded or one of:
-
LoadCursor
public static long LoadCursor(long instance, java.lang.CharSequence cursorName)
Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the cursor to be loaded.cursorName
- the name of the cursor resource to be loaded or one of:
-
GetDC
public static long GetDC(long hWnd)
Retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. You can use the returned handle in subsequent GDI functions to draw in the DC. The device context is an opaque data structure, whose values are used internally by GDI.- Parameters:
hWnd
- a handle to the window whose DC is to be retrieved. If this value isNULL
, GetDC retrieves the DC for the entire screen.
-
ReleaseDC
public static boolean ReleaseDC(long hWnd, long hDC)
Releases a device context (DC), freeing it for use by other applications. The effect of the ReleaseDC function depends on the type of DC. It frees only common and window DCs. It has no effect on class or private DCs.- Parameters:
hWnd
- a handle to the window whose DC is to be releasedhDC
- a handle to the DC to be released
-
GetSystemMetrics
public static int GetSystemMetrics(int index)
Retrieves the specified system metric or system configuration setting.- Parameters:
index
- the system metric or configuration setting to be retrieved. One of:
-
RegisterTouchWindow
public static boolean RegisterTouchWindow(long hWnd, int ulFlags)
Registers a window as being touch-capable.RegisterTouchWindow
must be called on every window that will be used for touch input. This means that if you have an application that has multiple windows within it,RegisterTouchWindow
must be called on every window in that application that uses touch features. Also, an application can callRegisterTouchWindow
any number of times for the same window if it desires to change the modifier flags. A window can be marked as no longer requiring touch input using theUser32.UnregisterTouchWindow(long)
function.- Parameters:
hWnd
- the handle of the window being registered. The function fails withERROR_ACCESS_DENIED
if the calling thread does not own the specified window.ulFlags
- a set of bit flags that specify optional modifications. This field may contain 0 or one or more of:User32.TWF_FINETOUCH
User32.TWF_WANTPALM
- Since:
- Windows 7 (desktop apps only)
-
UnregisterTouchWindow
public static boolean UnregisterTouchWindow(long hWnd)
Registers a window as no longer being touch-capable.- Parameters:
hWnd
- the handle of the window. The function fails withERROR_ACCESS_DENIED
if the calling thread does not own the specified window.- Since:
- Windows 7 (desktop apps only)
-
IsTouchWindow
public static boolean IsTouchWindow(long hWnd, java.nio.IntBuffer pulFlags)
Checks whether a specified window is touch-capable and, optionally, retrieves the modifier flags set for the window's touch capability.- Parameters:
hWnd
- the handle of the window. The function fails withERROR_ACCESS_DENIED
if the calling thread is not on the same desktop as the specified window.pulFlags
- an optional address of theULONG
variable to receive the modifier flags for the specified window's touch capability.- Since:
- Windows 7 (desktop apps only)
-
GetTouchInputInfo
public static boolean GetTouchInputInfo(long hTouchInput, TOUCHINPUT.Buffer pInputs, int cbSize)
Retrieves detailed information about touch inputs associated with a particular touch input handle.- Parameters:
hTouchInput
- the touch input handle received in theLPARAM
of a touch message. The function fails withERROR_INVALID_HANDLE
if this handle is not valid. Note that the handle is not valid after it has been used in a successful call toUser32.CloseTouchInputHandle(long)
or after it has been passed toUser32.DefWindowProc(long, int, long, long)
,User32.PostMessage(long, int, long, long)
,User32.SendMessage(long, int, long, long)
or one of their variants.pInputs
- a pointer to an array ofTOUCHINPUT
structures to receive information about the touch points associated with the specified touch input handlecbSize
- the size, in bytes, of a singleTOUCHINPUT
structure. IfcbSize
is not the size of a singleTOUCHINPUT
structure, the function fails withERROR_INVALID_PARAMETER
.- Since:
- Windows 7 (desktop apps only)
-
CloseTouchInputHandle
public static boolean CloseTouchInputHandle(long hTouchInput)
Closes a touch input handle, frees process memory associated with it, and invalidates the handle.- Parameters:
hTouchInput
- the touch input handle received in theLPARAM
of a touch message. The function fails withERROR_INVALID_HANDLE
if this handle is not valid. Note that the handle is not valid after it has been used in a successful call toUser32.CloseTouchInputHandle(long)
or after it has been passed toUser32.DefWindowProc(long, int, long, long)
,User32.PostMessage(long, int, long, long)
,User32.SendMessage(long, int, long, long)
or one of their variants.- Since:
- Windows 7 (desktop apps only)
-
MonitorFromWindow
public static long MonitorFromWindow(long hWnd, int dwFlags)
Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.- Parameters:
hWnd
- a handle to the window of interestdwFlags
- determines the function's return value if the window does not intersect any display monitor. One of:User32.MONITOR_DEFAULTTONULL
User32.MONITOR_DEFAULTTOPRIMARY
User32.MONITOR_DEFAULTTONEAREST
-
GetMonitorInfo
public static boolean GetMonitorInfo(long hMonitor, MONITORINFOEX lpmi)
Retrieves information about a display monitor.- Parameters:
hMonitor
- a handle to the display monitor of interestlpmi
- a pointer to aMONITORINFOEX
structure that receives information about the specified display monitor.You must set the
cbSize
member of the structure toMONITORINFOEX.SIZEOF
before calling theGetMonitorInfo
function. Doing so lets the function determine the type of structure you are passing to it.
-
EnumDisplayDevices
public static boolean EnumDisplayDevices(java.nio.ByteBuffer lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags)
Obtains information about the display devices in the current session.- Parameters:
lpDevice
- the device name. IfNULL
, function returns information for the display adapter(s) on the machine, based ondevNum
.iDevNum
- an index value that specifies the display device of interest.The operating system identifies each display device in the current session with an index value. The index values are consecutive integers, starting at 0. If the current session has three display devices, for example, they are specified by the index values 0, 1, and 2.
lpDisplayDevice
- a pointer to aDISPLAY_DEVICE
structure that receives information about the display device specified byiDevNum
.Before calling
EnumDisplayDevices
, you must initialize thecb
member ofDISPLAY_DEVICE
to the size, in bytes, ofDISPLAY_DEVICE
.dwFlags
- set this flag toUser32.EDD_GET_DEVICE_INTERFACE_NAME
to retrieve the device interface name forGUID_DEVINTERFACE_MONITOR
, which is registered by the operating system on a per monitor basis. The value is placed in theDeviceID
member of theDISPLAY_DEVICE
structure returned inlpDisplayDevice
. The resulting device interface name can be used with SetupAPI functions and serves as a link between GDI monitor devices and SetupAPI monitor devices.
-
EnumDisplayDevices
public static boolean EnumDisplayDevices(java.lang.CharSequence lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags)
Obtains information about the display devices in the current session.- Parameters:
lpDevice
- the device name. IfNULL
, function returns information for the display adapter(s) on the machine, based ondevNum
.iDevNum
- an index value that specifies the display device of interest.The operating system identifies each display device in the current session with an index value. The index values are consecutive integers, starting at 0. If the current session has three display devices, for example, they are specified by the index values 0, 1, and 2.
lpDisplayDevice
- a pointer to aDISPLAY_DEVICE
structure that receives information about the display device specified byiDevNum
.Before calling
EnumDisplayDevices
, you must initialize thecb
member ofDISPLAY_DEVICE
to the size, in bytes, ofDISPLAY_DEVICE
.dwFlags
- set this flag toUser32.EDD_GET_DEVICE_INTERFACE_NAME
to retrieve the device interface name forGUID_DEVINTERFACE_MONITOR
, which is registered by the operating system on a per monitor basis. The value is placed in theDeviceID
member of theDISPLAY_DEVICE
structure returned inlpDisplayDevice
. The resulting device interface name can be used with SetupAPI functions and serves as a link between GDI monitor devices and SetupAPI monitor devices.
-
EnumDisplaySettingsEx
public static boolean EnumDisplaySettingsEx(java.nio.ByteBuffer lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags)
Retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes for a display device, make a series of calls to this function.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device about which graphics mode the function will obtain information.This parameter is either
NULL
or aDISPLAY_DEVICE.DeviceName()
returned fromUser32.EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
. ANULL
value specifies the current display device on the computer that the calling thread is running on.iModeNum
- indicates the type of information to be retrieved.Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to
EnumDisplaySettingsEx
, as follows: SetiModeNum
to zero for the first call, and incrementiModeNum
by one for each subsequent call. Continue calling the function until the return value is zero.When you call
EnumDisplaySettingsEx
withiModeNum
set to zero, the operating system initializes and caches information about the display device. When you callEnumDisplaySettingsEx
withiModeNum
set to a nonzero value, the function returns the information that was cached the last time the function was called withiModeNum
set to zero.This value can be a graphics mode index or one of:
User32.ENUM_CURRENT_SETTINGS
User32.ENUM_REGISTRY_SETTINGS
lpDevMode
- a pointer to aDEVMODE
structure into which the function stores information about the specified graphics mode. Before callingEnumDisplaySettingsEx
, set thedmSize
member toDEVMODE.SIZEOF
, and set thedmDriverExtra
member to indicate the size, in bytes, of the additional space available to receive private driver data.The
EnumDisplaySettingsEx
function will populate thedmFields
member of thelpDevMode
and one or more other members of theDEVMODE
structure. To determine which members were set by the call toEnumDisplaySettingsEx
, inspect thedmFields
bitmask.dwFlags
- this parameter can be one of:User32.EDS_RAWMODE
User32.EDS_ROTATEDMODE
-
EnumDisplaySettingsEx
public static boolean EnumDisplaySettingsEx(java.lang.CharSequence lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags)
Retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes for a display device, make a series of calls to this function.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device about which graphics mode the function will obtain information.This parameter is either
NULL
or aDISPLAY_DEVICE.DeviceName()
returned fromUser32.EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
. ANULL
value specifies the current display device on the computer that the calling thread is running on.iModeNum
- indicates the type of information to be retrieved.Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to
EnumDisplaySettingsEx
, as follows: SetiModeNum
to zero for the first call, and incrementiModeNum
by one for each subsequent call. Continue calling the function until the return value is zero.When you call
EnumDisplaySettingsEx
withiModeNum
set to zero, the operating system initializes and caches information about the display device. When you callEnumDisplaySettingsEx
withiModeNum
set to a nonzero value, the function returns the information that was cached the last time the function was called withiModeNum
set to zero.This value can be a graphics mode index or one of:
User32.ENUM_CURRENT_SETTINGS
User32.ENUM_REGISTRY_SETTINGS
lpDevMode
- a pointer to aDEVMODE
structure into which the function stores information about the specified graphics mode. Before callingEnumDisplaySettingsEx
, set thedmSize
member toDEVMODE.SIZEOF
, and set thedmDriverExtra
member to indicate the size, in bytes, of the additional space available to receive private driver data.The
EnumDisplaySettingsEx
function will populate thedmFields
member of thelpDevMode
and one or more other members of theDEVMODE
structure. To determine which members were set by the call toEnumDisplaySettingsEx
, inspect thedmFields
bitmask.dwFlags
- this parameter can be one of:User32.EDS_RAWMODE
User32.EDS_ROTATEDMODE
-
ChangeDisplaySettingsEx
public static int ChangeDisplaySettingsEx(java.nio.ByteBuffer lpszDeviceName, DEVMODE lpDevMode, long hwnd, int dwflags, long lParam)
Changes the settings of the specified display device to the specified graphics mode.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device whose graphics mode will change. Only display device names as returned byUser32.EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
are valid.The
lpszDeviceName
parameter can beNULL
. ANULL
value specifies the default display device. The default device can be determined by callingEnumDisplayDevices
and checking for theGDI32.DISPLAY_DEVICE_PRIMARY_DEVICE
flag.lpDevMode
- a pointer to aDEVMODE
structure that describes the new graphics mode. IflpDevMode
isNULL
, all the values currently in the registry will be used for the display setting. PassingNULL
for thelpDevMode
parameter and 0 for thedwFlags
parameter is the easiest way to return to the default mode after a dynamic mode change.The
dmSize
member must be initialized to the size, in bytes, of theDEVMODE
structure. ThedmDriverExtra
member must be initialized to indicate the number of bytes of private driver data following theDEVMODE
structure.hwnd
- reserved; must beNULL
dwflags
- indicates how the graphics mode should be changed. One of:lParam
- ifflags
isUser32.CDS_VIDEOPARAMETERS
,lParam
is a pointer to aVIDEOPARAMETERS
structure. OtherwiselParam
must beNULL
.- Returns:
- one of the following values:
User32.DISP_CHANGE_SUCCESSFUL
User32.DISP_CHANGE_RESTART
User32.DISP_CHANGE_FAILED
User32.DISP_CHANGE_BADMODE
User32.DISP_CHANGE_NOTUPDATED
User32.DISP_CHANGE_BADFLAGS
User32.DISP_CHANGE_BADPARAM
User32.DISP_CHANGE_BADDUALVIEW
-
ChangeDisplaySettingsEx
public static int ChangeDisplaySettingsEx(java.lang.CharSequence lpszDeviceName, DEVMODE lpDevMode, long hwnd, int dwflags, long lParam)
Changes the settings of the specified display device to the specified graphics mode.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device whose graphics mode will change. Only display device names as returned byUser32.EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
are valid.The
lpszDeviceName
parameter can beNULL
. ANULL
value specifies the default display device. The default device can be determined by callingEnumDisplayDevices
and checking for theGDI32.DISPLAY_DEVICE_PRIMARY_DEVICE
flag.lpDevMode
- a pointer to aDEVMODE
structure that describes the new graphics mode. IflpDevMode
isNULL
, all the values currently in the registry will be used for the display setting. PassingNULL
for thelpDevMode
parameter and 0 for thedwFlags
parameter is the easiest way to return to the default mode after a dynamic mode change.The
dmSize
member must be initialized to the size, in bytes, of theDEVMODE
structure. ThedmDriverExtra
member must be initialized to indicate the number of bytes of private driver data following theDEVMODE
structure.hwnd
- reserved; must beNULL
dwflags
- indicates how the graphics mode should be changed. One of:lParam
- ifflags
isUser32.CDS_VIDEOPARAMETERS
,lParam
is a pointer to aVIDEOPARAMETERS
structure. OtherwiselParam
must beNULL
.- Returns:
- one of the following values:
User32.DISP_CHANGE_SUCCESSFUL
User32.DISP_CHANGE_RESTART
User32.DISP_CHANGE_FAILED
User32.DISP_CHANGE_BADMODE
User32.DISP_CHANGE_NOTUPDATED
User32.DISP_CHANGE_BADFLAGS
User32.DISP_CHANGE_BADPARAM
User32.DISP_CHANGE_BADDUALVIEW
-
GetCursorPos
public static boolean GetCursorPos(POINT point)
Retrieves the position of the mouse cursor, in screen coordinates.- Parameters:
point
- a pointer to aPOINT
structure that receives the screen coordinates of the cursor
-
SetCursorPos
public static boolean SetCursorPos(int X, int Y)
Moves the cursor to the specified screen coordinates. If the new coordinates are not within the screen rectangle set by the most recentUser32.ClipCursor(org.lwjgl.system.windows.RECT)
function call, the system automatically adjusts the coordinates so that the cursor stays within the rectangle.- Parameters:
X
- the new x-coordinate of the cursor, in screen coordinates.Y
- the new y-coordinate of the cursor, in screen coordinates.
-
ClipCursor
public static boolean ClipCursor(RECT rect)
Confines the cursor to a rectangular area on the screen. If a subsequent cursor position (set by theUser32.SetCursorPos(int, int)
function or the mouse) lies outside the rectangle, the system automatically adjusts the position to keep the cursor inside the rectangular area.- Parameters:
rect
- a pointer to the structure that contains the screen coordinates of the upper-left and lower-right corners of the confining rectangle. If this parameter isNULL
, the cursor is free to move anywhere on the screen.
-
ShowCursor
public static int ShowCursor(boolean show)
Displays or hides the cursor.This function sets an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is –1.
- Parameters:
show
- Ifshow
isWinBase.TRUE
, the display count is incremented by one. Ifshow
isWinBase.FALSE
, the display count is decremented by one.- Returns:
- the new display counter
-
SetCursor
public static long SetCursor(long hCursor)
Sets the cursor shape.The cursor is set only if the new cursor is different from the previous cursor; otherwise, the function returns immediately.
The cursor is a shared resource. A window should set the cursor shape only when the cursor is in its client area or when the window is capturing mouse input. In systems without a mouse, the window should restore the previous cursor before the cursor leaves the client area or before it relinquishes control to another window.
If your application must set the cursor while it is in a window, make sure the class cursor for the specified window's class is set to
NULL
. If the class cursor is notNULL
, the system restores the class cursor each time the mouse is moved.The cursor is not shown on the screen if the internal cursor display count is less than zero. This occurs if the application uses the
User32.ShowCursor(boolean)
function to hide the cursor more times than to show the cursor.- Parameters:
hCursor
- a handle to the cursor. The cursor must have been created by the#CreateCursor
function or loaded by theUser32.LoadCursor(long, java.nio.ByteBuffer)
or#LoadImage
function. If this parameter isNULL
, the cursor is removed from the screen.- Returns:
- the handle to the previous cursor, if there was one
-
IsTouchWindow
public static boolean IsTouchWindow(long hWnd, int[] pulFlags)
Array version of:User32.IsTouchWindow(long, java.nio.IntBuffer)
-
-