public class User32
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
User32.Functions
Contains the function pointers loaded from the user32
SharedLibrary. |
| Modifier and Type | Field and Description |
|---|---|
static int |
CDS_DISABLE_UNSAFE_MODES
|
static int |
CDS_ENABLE_UNSAFE_MODES
|
static int |
CDS_FULLSCREEN
|
static int |
CDS_GLOBAL
|
static int |
CDS_NORESET
|
static int |
CDS_RESET
|
static int |
CDS_RESET_EX
|
static int |
CDS_SET_PRIMARY
|
static int |
CDS_TEST
|
static int |
CDS_UPDATEREGISTRY
|
static int |
CDS_VIDEOPARAMETERS
|
static int |
CS_BYTEALIGNCLIENT
Class styles
|
static int |
CS_BYTEALIGNWINDOW
Class styles
|
static int |
CS_CLASSDC
Class styles
|
static int |
CS_DBLCLKS
Class styles
|
static int |
CS_DROPSHADOW
Class styles
|
static int |
CS_GLOBALCLASS
Class styles
|
static int |
CS_HREDRAW
Class styles
|
static int |
CS_IME
Class styles
|
static int |
CS_NOCLOSE
Class styles
|
static int |
CS_OWNDC
Class styles
|
static int |
CS_PARENTDC
Class styles
|
static int |
CS_SAVEBITS
Class styles
|
static int |
CS_VREDRAW
Class styles
|
static int |
CW_USEDEFAULT
May be used in
CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long) for the x, y, width, height parameters. |
static int |
DBT_APPYBEGIN
WM_DEVICECHANGE message wParam params. |
static int |
DBT_APPYEND
WM_DEVICECHANGE message wParam params. |
static int |
DBT_CONFIGCHANGECANCELED
WM_DEVICECHANGE message wParam params. |
static int |
DBT_CONFIGCHANGED
WM_DEVICECHANGE message wParam params. |
static int |
DBT_DEVNODES_CHANGED
WM_DEVICECHANGE message wParam params. |
static int |
DBT_MONITORCHANGE
WM_DEVICECHANGE message wParam params. |
static int |
DBT_QUERYCHANGECONFIG
WM_DEVICECHANGE message wParam params. |
static int |
DISP_CHANGE_BADDUALVIEW
|
static int |
DISP_CHANGE_BADFLAGS
|
static int |
DISP_CHANGE_BADMODE
|
static int |
DISP_CHANGE_BADPARAM
|
static int |
DISP_CHANGE_FAILED
|
static int |
DISP_CHANGE_NOTUPDATED
|
static int |
DISP_CHANGE_RESTART
|
static int |
DISP_CHANGE_SUCCESSFUL
|
static long |
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE
Per monitor DPI aware.
|
static long |
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
Also known as Per Monitor v2.
|
static long |
DPI_AWARENESS_CONTEXT_SYSTEM_AWARE
System DPI aware.
|
static long |
DPI_AWARENESS_CONTEXT_UNAWARE
DPI unaware.
|
static int |
DPI_AWARENESS_INVALID
Identifies the dots per inch (dpi) setting for a thread, process, or window.
|
static int |
DPI_AWARENESS_PER_MONITOR_AWARE
Identifies the dots per inch (dpi) setting for a thread, process, or window.
|
static int |
DPI_AWARENESS_SYSTEM_AWARE
Identifies the dots per inch (dpi) setting for a thread, process, or window.
|
static int |
DPI_AWARENESS_UNAWARE
Identifies the dots per inch (dpi) setting for a thread, process, or window.
|
static int |
EDD_GET_DEVICE_INTERFACE_NAME
|
static int |
EDS_RAWMODE
|
static int |
EDS_ROTATEDMODE
|
static int |
ENUM_CURRENT_SETTINGS
|
static int |
ENUM_REGISTRY_SETTINGS
|
static int |
GCL_CBCLSEXTRA
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_CBWNDEXTRA
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_HBRBACKGROUND
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_HCURSOR
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_HICON
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_HICONSM
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_HMODULE
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_MENUNAME
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_STYLE
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCL_WNDPROC
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GCW_ATOM
Class field offsets for
GetClassLongPtr(long, int). |
static int |
GWL_EXSTYLE
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
GWL_HINSTANCE
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
GWL_HWNDPARENT
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
GWL_ID
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
GWL_STYLE
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
GWL_USERDATA
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
GWL_WNDPROC
Window field offsets for
GetWindowLongPtr(long, int). |
static int |
HTBORDER
Mouse position codes.
|
static int |
HTBOTTOM
Mouse position codes.
|
static int |
HTBOTTOMLEFT
Mouse position codes.
|
static int |
HTBOTTOMRIGHT
Mouse position codes.
|
static int |
HTCAPTION
Mouse position codes.
|
static int |
HTCLIENT
Mouse position codes.
|
static int |
HTCLOSE
Mouse position codes.
|
static int |
HTERROR
Mouse position codes.
|
static int |
HTGROWBOX
Mouse position codes.
|
static int |
HTHELP
Mouse position codes.
|
static int |
HTHSCROLL
Mouse position codes.
|
static int |
HTLEFT
Mouse position codes.
|
static int |
HTMAXBUTTON
Mouse position codes.
|
static int |
HTMENU
Mouse position codes.
|
static int |
HTMINBUTTON
Mouse position codes.
|
static int |
HTNOWHERE
Mouse position codes.
|
static int |
HTOBJECT
Mouse position codes.
|
static int |
HTREDUCE
Mouse position codes.
|
static int |
HTRIGHT
Mouse position codes.
|
static int |
HTSIZE
Mouse position codes.
|
static int |
HTSIZEFIRST
Mouse position codes.
|
static int |
HTSIZELAST
Mouse position codes.
|
static int |
HTSYSMENU
Mouse position codes.
|
static int |
HTTOP
Mouse position codes.
|
static int |
HTTOPLEFT
Mouse position codes.
|
static int |
HTTOPRIGHT
Mouse position codes.
|
static int |
HTTRANSPARENT
Mouse position codes.
|
static int |
HTVSCROLL
Mouse position codes.
|
static int |
HTZOOM
Mouse position codes.
|
static long |
HWND_BOTTOM
Virtual window handles used by the
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument. |
static long |
HWND_BROADCAST
Virtual window handle used by
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. |
static long |
HWND_NOTOPMOST
Virtual window handles used by the
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument. |
static long |
HWND_TOP
Virtual window handles used by the
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument. |
static long |
HWND_TOPMOST
Virtual window handles used by the
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument. |
static int |
IDC_APPSTARTING
Standard Cursor IDs.
|
static int |
IDC_ARROW
Standard Cursor IDs.
|
static int |
IDC_CROSS
Standard Cursor IDs.
|
static int |
IDC_HAND
Standard Cursor IDs.
|
static int |
IDC_HELP
Standard Cursor IDs.
|
static int |
IDC_IBEAM
Standard Cursor IDs.
|
static int |
IDC_ICON
Standard Cursor IDs.
|
static int |
IDC_NO
Standard Cursor IDs.
|
static int |
IDC_SIZE
Standard Cursor IDs.
|
static int |
IDC_SIZEALL
Standard Cursor IDs.
|
static int |
IDC_SIZENESW
Standard Cursor IDs.
|
static int |
IDC_SIZENS
Standard Cursor IDs.
|
static int |
IDC_SIZENWSE
Standard Cursor IDs.
|
static int |
IDC_SIZEWE
Standard Cursor IDs.
|
static int |
IDC_UPARROW
Standard Cursor IDs.
|
static int |
IDC_WAIT
Standard Cursor IDs.
|
static int |
IDI_APPLICATION
Standard Icon IDs.
|
static int |
IDI_ASTERISK
Standard Icon IDs.
|
static int |
IDI_ERROR
Standard Icon IDs.
|
static int |
IDI_EXCLAMATION
Standard Icon IDs.
|
static int |
IDI_HAND
Standard Icon IDs.
|
static int |
IDI_INFORMATION
Standard Icon IDs.
|
static int |
IDI_QUESTION
Standard Icon IDs.
|
static int |
IDI_SHIELD
Standard Icon IDs.
|
static int |
IDI_WARNING
Standard Icon IDs.
|
static int |
IDI_WINLOGO
Standard Icon IDs.
|
static int |
INPUT_HARDWARE
The type of input event.
|
static int |
INPUT_KEYBOARD
The type of input event.
|
static int |
INPUT_MOUSE
The type of input event.
|
static int |
KEYEVENTF_EXTENDEDKEY
KEYBDINPUT flags. |
static int |
KEYEVENTF_KEYUP
KEYBDINPUT flags. |
static int |
KEYEVENTF_SCANCODE
KEYBDINPUT flags. |
static int |
KEYEVENTF_UNICODE
KEYBDINPUT flags. |
static int |
LWA_ALPHA
Actions for
SetLayeredWindowAttributes(long, int, byte, int). |
static int |
LWA_COLORKEY
Actions for
SetLayeredWindowAttributes(long, int, byte, int). |
static int |
MK_CONTROL
Key state masks for mouse messages.
|
static int |
MK_LBUTTON
Key state masks for mouse messages.
|
static int |
MK_MBUTTON
Key state masks for mouse messages.
|
static int |
MK_RBUTTON
Key state masks for mouse messages.
|
static int |
MK_SHIFT
Key state masks for mouse messages.
|
static int |
MK_XBUTTON1
Key state masks for mouse messages.
|
static int |
MK_XBUTTON2
Key state masks for mouse messages.
|
static int |
MN_GETHMENU
Windows messages.
|
static int |
MONITOR_DEFAULTTONEAREST
MonitorFromWindow(long, int) flags. |
static int |
MONITOR_DEFAULTTONULL
MonitorFromWindow(long, int) flags. |
static int |
MONITOR_DEFAULTTOPRIMARY
MonitorFromWindow(long, int) flags. |
static int |
MONITORINFOF_PRIMARY
MONITORINFOEX flags. |
static int |
MOUSEEVENTF_ABSOLUTE
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_HWHEEL
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_LEFTDOWN
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_LEFTUP
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_MIDDLEDOWN
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_MIDDLEUP
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_MOVE
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_MOVE_NOCOALESCE
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_RIGHTDOWN
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_RIGHTUP
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_VIRTUALDESK
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_WHEEL
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_XDOWN
MOUSEINPUT flags. |
static int |
MOUSEEVENTF_XUP
MOUSEINPUT flags. |
static int |
PM_NOREMOVE
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
PM_NOYIELD
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
PM_QS_INPUT
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
PM_QS_PAINT
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
PM_QS_POSTMESSAGE
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
PM_QS_SENDMESSAGE
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
PM_REMOVE
Remove message flags for
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int). |
static int |
QS_ALLEVENTS
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_ALLINPUT
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_ALLPOSTMESSAGE
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_HOTKEY
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_INPUT
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_KEY
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_MOUSE
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_MOUSEBUTTON
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_MOUSEMOVE
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_PAINT
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_POSTMESSAGE
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_RAWINPUT
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_SENDMESSAGE
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
QS_TIMER
Queue status flags for
GetQueueStatus and MsgWaitForMultipleObjects |
static int |
SC_ARRANGE
System menu command values.
|
static int |
SC_CLOSE
System menu command values.
|
static int |
SC_CONTEXTHELP
System menu command values.
|
static int |
SC_DEFAULT
System menu command values.
|
static int |
SC_HOTKEY
System menu command values.
|
static int |
SC_HSCROLL
System menu command values.
|
static int |
SC_KEYMENU
System menu command values.
|
static int |
SC_MAXIMIZE
System menu command values.
|
static int |
SC_MINIMIZE
System menu command values.
|
static int |
SC_MONITORPOWER
System menu command values.
|
static int |
SC_MOUSEMENU
System menu command values.
|
static int |
SC_MOVE
System menu command values.
|
static int |
SC_NEXTWINDOW
System menu command values.
|
static int |
SC_PREVWINDOW
System menu command values.
|
static int |
SC_RESTORE
System menu command values.
|
static int |
SC_SCREENSAVE
System menu command values.
|
static int |
SC_SEPARATOR
System menu command values.
|
static int |
SC_SIZE
System menu command values.
|
static int |
SC_TASKLIST
System menu command values.
|
static int |
SC_VSCROLL
System menu command values.
|
static int |
SIZE_MAXHIDE
WM_SIZE message wParam values. |
static int |
SIZE_MAXIMIZED
WM_SIZE message wParam values. |
static int |
SIZE_MAXSHOW
WM_SIZE message wParam values. |
static int |
SIZE_MINIMIZED
WM_SIZE message wParam values. |
static int |
SIZE_RESTORED
WM_SIZE message wParam values. |
static int |
SM_ARRANGE
GetSystemMetrics(int) codes. |
static int |
SM_CARETBLINKINGENABLED
GetSystemMetrics(int) codes. |
static int |
SM_CLEANBOOT
GetSystemMetrics(int) codes. |
static int |
SM_CMONITORS
GetSystemMetrics(int) codes. |
static int |
SM_CMOUSEBUTTONS
GetSystemMetrics(int) codes. |
static int |
SM_CXBORDER
GetSystemMetrics(int) codes. |
static int |
SM_CXCURSOR
GetSystemMetrics(int) codes. |
static int |
SM_CXDLGFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CXDOUBLECLK
GetSystemMetrics(int) codes. |
static int |
SM_CXDRAG
GetSystemMetrics(int) codes. |
static int |
SM_CXEDGE
GetSystemMetrics(int) codes. |
static int |
SM_CXFIXEDFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CXFOCUSBORDER
GetSystemMetrics(int) codes. |
static int |
SM_CXFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CXFULLSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_CXHSCROLL
GetSystemMetrics(int) codes. |
static int |
SM_CXHTHUMB
GetSystemMetrics(int) codes. |
static int |
SM_CXICON
GetSystemMetrics(int) codes. |
static int |
SM_CXICONSPACING
GetSystemMetrics(int) codes. |
static int |
SM_CXMAXIMIZED
GetSystemMetrics(int) codes. |
static int |
SM_CXMAXTRACK
GetSystemMetrics(int) codes. |
static int |
SM_CXMENUCHECK
GetSystemMetrics(int) codes. |
static int |
SM_CXMENUSIZE
GetSystemMetrics(int) codes. |
static int |
SM_CXMIN
GetSystemMetrics(int) codes. |
static int |
SM_CXMINIMIZED
GetSystemMetrics(int) codes. |
static int |
SM_CXMINSPACING
GetSystemMetrics(int) codes. |
static int |
SM_CXMINTRACK
GetSystemMetrics(int) codes. |
static int |
SM_CXPADDEDBORDER
GetSystemMetrics(int) codes. |
static int |
SM_CXSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_CXSIZE
GetSystemMetrics(int) codes. |
static int |
SM_CXSIZEFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CXSMICON
GetSystemMetrics(int) codes. |
static int |
SM_CXSMSIZE
GetSystemMetrics(int) codes. |
static int |
SM_CXVIRTUALSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_CXVSCROLL
GetSystemMetrics(int) codes. |
static int |
SM_CYBORDER
GetSystemMetrics(int) codes. |
static int |
SM_CYCAPTION
GetSystemMetrics(int) codes. |
static int |
SM_CYCURSOR
GetSystemMetrics(int) codes. |
static int |
SM_CYDLGFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CYDOUBLECLK
GetSystemMetrics(int) codes. |
static int |
SM_CYDRAG
GetSystemMetrics(int) codes. |
static int |
SM_CYEDGE
GetSystemMetrics(int) codes. |
static int |
SM_CYFIXEDFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CYFOCUSBORDER
GetSystemMetrics(int) codes. |
static int |
SM_CYFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CYFULLSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_CYHSCROLL
GetSystemMetrics(int) codes. |
static int |
SM_CYICON
GetSystemMetrics(int) codes. |
static int |
SM_CYICONSPACING
GetSystemMetrics(int) codes. |
static int |
SM_CYKANJIWINDOW
GetSystemMetrics(int) codes. |
static int |
SM_CYMAXIMIZED
GetSystemMetrics(int) codes. |
static int |
SM_CYMAXTRACK
GetSystemMetrics(int) codes. |
static int |
SM_CYMENU
GetSystemMetrics(int) codes. |
static int |
SM_CYMENUCHECK
GetSystemMetrics(int) codes. |
static int |
SM_CYMENUSIZE
GetSystemMetrics(int) codes. |
static int |
SM_CYMIN
GetSystemMetrics(int) codes. |
static int |
SM_CYMINIMIZED
GetSystemMetrics(int) codes. |
static int |
SM_CYMINSPACING
GetSystemMetrics(int) codes. |
static int |
SM_CYMINTRACK
GetSystemMetrics(int) codes. |
static int |
SM_CYSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_CYSIZE
GetSystemMetrics(int) codes. |
static int |
SM_CYSIZEFRAME
GetSystemMetrics(int) codes. |
static int |
SM_CYSMCAPTION
GetSystemMetrics(int) codes. |
static int |
SM_CYSMICON
GetSystemMetrics(int) codes. |
static int |
SM_CYSMSIZE
GetSystemMetrics(int) codes. |
static int |
SM_CYVIRTUALSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_CYVSCROLL
GetSystemMetrics(int) codes. |
static int |
SM_CYVTHUMB
GetSystemMetrics(int) codes. |
static int |
SM_DBCSENABLED
GetSystemMetrics(int) codes. |
static int |
SM_DEBUG
GetSystemMetrics(int) codes. |
static int |
SM_DIGITIZER
GetSystemMetrics(int) codes. |
static int |
SM_IMMENABLED
GetSystemMetrics(int) codes. |
static int |
SM_MAXIMUMTOUCHES
GetSystemMetrics(int) codes. |
static int |
SM_MEDIACENTER
GetSystemMetrics(int) codes. |
static int |
SM_MENUDROPALIGNMENT
GetSystemMetrics(int) codes. |
static int |
SM_MIDEASTENABLED
GetSystemMetrics(int) codes. |
static int |
SM_MOUSEHORIZONTALWHEELPRESENT
GetSystemMetrics(int) codes. |
static int |
SM_MOUSEPRESENT
GetSystemMetrics(int) codes. |
static int |
SM_MOUSEWHEELPRESENT
GetSystemMetrics(int) codes. |
static int |
SM_NETWORK
GetSystemMetrics(int) codes. |
static int |
SM_PENWINDOWS
GetSystemMetrics(int) codes. |
static int |
SM_REMOTECONTROL
GetSystemMetrics(int) codes. |
static int |
SM_REMOTESESSION
GetSystemMetrics(int) codes. |
static int |
SM_RESERVED1
GetSystemMetrics(int) codes. |
static int |
SM_RESERVED2
GetSystemMetrics(int) codes. |
static int |
SM_RESERVED3
GetSystemMetrics(int) codes. |
static int |
SM_RESERVED4
GetSystemMetrics(int) codes. |
static int |
SM_SAMEDISPLAYFORMAT
GetSystemMetrics(int) codes. |
static int |
SM_SECURE
GetSystemMetrics(int) codes. |
static int |
SM_SERVERR2
GetSystemMetrics(int) codes. |
static int |
SM_SHOWSOUNDS
GetSystemMetrics(int) codes. |
static int |
SM_SHUTTINGDOWN
GetSystemMetrics(int) codes. |
static int |
SM_SLOWMACHINE
GetSystemMetrics(int) codes. |
static int |
SM_STARTER
GetSystemMetrics(int) codes. |
static int |
SM_SWAPBUTTON
GetSystemMetrics(int) codes. |
static int |
SM_TABLETPC
GetSystemMetrics(int) codes. |
static int |
SM_XVIRTUALSCREEN
GetSystemMetrics(int) codes. |
static int |
SM_YVIRTUALSCREEN
GetSystemMetrics(int) codes. |
static int |
SW_FORCEMINIMIZE
ShowWindow(long, int) commands. |
static int |
SW_HIDE
ShowWindow(long, int) commands. |
static int |
SW_MAX
ShowWindow(long, int) commands. |
static int |
SW_MAXIMIZE
ShowWindow(long, int) commands. |
static int |
SW_MINIMIZE
ShowWindow(long, int) commands. |
static int |
SW_NORMAL
ShowWindow(long, int) commands. |
static int |
SW_RESTORE
ShowWindow(long, int) commands. |
static int |
SW_SHOW
ShowWindow(long, int) commands. |
static int |
SW_SHOWDEFAULT
ShowWindow(long, int) commands. |
static int |
SW_SHOWMAXIMIZED
ShowWindow(long, int) commands. |
static int |
SW_SHOWMINIMIZED
ShowWindow(long, int) commands. |
static int |
SW_SHOWMINNOACTIVE
ShowWindow(long, int) commands. |
static int |
SW_SHOWNA
ShowWindow(long, int) commands. |
static int |
SW_SHOWNOACTIVATE
ShowWindow(long, int) commands. |
static int |
SW_SHOWNORMAL
ShowWindow(long, int) commands. |
static int |
SWP_ASYNCWINDOWPOS
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_DEFERERASE
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_DRAWFRAME
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_FRAMECHANGED
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_HIDEWINDOW
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOACTIVATE
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOCOPYBITS
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOMOVE
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOOWNERZORDER
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOREDRAW
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOREPOSITION
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOSENDCHANGING
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOSIZE
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_NOZORDER
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
SWP_SHOWWINDOW
Window sizing and positiong flags used by the
SetWindowPos(long, long, int, int, int, int, int) flags argument. |
static int |
TOUCHEVENTF_DOWN
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_INRANGE
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_MOVE
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_NOCOALESCE
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_PALM
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_PEN
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_PRIMARY
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHEVENTF_UP
Touch input flag values (
TOUCHINPUT.dwFlags()). |
static int |
TOUCHINPUTMASKF_CONTACTAREA
Touch input mask values (
TOUCHINPUT.dwMask()). |
static int |
TOUCHINPUTMASKF_EXTRAINFO
Touch input mask values (
TOUCHINPUT.dwMask()). |
static int |
TOUCHINPUTMASKF_TIMEFROMSYSTEM
Touch input mask values (
TOUCHINPUT.dwMask()). |
static int |
TWF_FINETOUCH
|
static int |
TWF_WANTPALM
|
static int |
UNICODE_NOCHAR
Windows messages.
|
static int |
VK_ACCEPT
Virtual Keys.
|
static int |
VK_ADD
Virtual Keys.
|
static int |
VK_APPS
Virtual Keys.
|
static int |
VK_ATTN
Virtual Keys.
|
static int |
VK_BACK
Virtual Keys.
|
static int |
VK_BROWSER_BACK
Virtual Keys.
|
static int |
VK_BROWSER_FAVORITES
Virtual Keys.
|
static int |
VK_BROWSER_FORWARD
Virtual Keys.
|
static int |
VK_BROWSER_HOME
Virtual Keys.
|
static int |
VK_BROWSER_REFRESH
Virtual Keys.
|
static int |
VK_BROWSER_SEARCH
Virtual Keys.
|
static int |
VK_BROWSER_STOP
Virtual Keys.
|
static int |
VK_CANCEL
Virtual Keys.
|
static int |
VK_CAPITAL
Virtual Keys.
|
static int |
VK_CLEAR
Virtual Keys.
|
static int |
VK_CONTROL
Virtual Keys.
|
static int |
VK_CONVERT
Virtual Keys.
|
static int |
VK_CRSEL
Virtual Keys.
|
static int |
VK_DECIMAL
Virtual Keys.
|
static int |
VK_DELETE
Virtual Keys.
|
static int |
VK_DIVIDE
Virtual Keys.
|
static int |
VK_DOWN
Virtual Keys.
|
static int |
VK_END
Virtual Keys.
|
static int |
VK_EREOF
Virtual Keys.
|
static int |
VK_ESCAPE
Virtual Keys.
|
static int |
VK_EXECUTE
Virtual Keys.
|
static int |
VK_EXSEL
Virtual Keys.
|
static int |
VK_F1
Virtual Keys.
|
static int |
VK_F10
Virtual Keys.
|
static int |
VK_F11
Virtual Keys.
|
static int |
VK_F12
Virtual Keys.
|
static int |
VK_F13
Virtual Keys.
|
static int |
VK_F14
Virtual Keys.
|
static int |
VK_F15
Virtual Keys.
|
static int |
VK_F16
Virtual Keys.
|
static int |
VK_F17
Virtual Keys.
|
static int |
VK_F18
Virtual Keys.
|
static int |
VK_F19
Virtual Keys.
|
static int |
VK_F2
Virtual Keys.
|
static int |
VK_F20
Virtual Keys.
|
static int |
VK_F21
Virtual Keys.
|
static int |
VK_F22
Virtual Keys.
|
static int |
VK_F23
Virtual Keys.
|
static int |
VK_F24
Virtual Keys.
|
static int |
VK_F3
Virtual Keys.
|
static int |
VK_F4
Virtual Keys.
|
static int |
VK_F5
Virtual Keys.
|
static int |
VK_F6
Virtual Keys.
|
static int |
VK_F7
Virtual Keys.
|
static int |
VK_F8
Virtual Keys.
|
static int |
VK_F9
Virtual Keys.
|
static int |
VK_FINAL
Virtual Keys.
|
static int |
VK_HANGEUL
Virtual Keys.
|
static int |
VK_HANGUL
Virtual Keys.
|
static int |
VK_HANJA
Virtual Keys.
|
static int |
VK_HELP
Virtual Keys.
|
static int |
VK_HOME
Virtual Keys.
|
static int |
VK_ICO_00
Virtual Keys.
|
static int |
VK_ICO_CLEAR
Virtual Keys.
|
static int |
VK_ICO_HELP
Virtual Keys.
|
static int |
VK_INSERT
Virtual Keys.
|
static int |
VK_JUNJA
Virtual Keys.
|
static int |
VK_KANA
Virtual Keys.
|
static int |
VK_KANJI
Virtual Keys.
|
static int |
VK_LAUNCH_APP1
Virtual Keys.
|
static int |
VK_LAUNCH_APP2
Virtual Keys.
|
static int |
VK_LAUNCH_MAIL
Virtual Keys.
|
static int |
VK_LAUNCH_MEDIA_SELECT
Virtual Keys.
|
static int |
VK_LBUTTON
Virtual Keys.
|
static int |
VK_LCONTROL
Virtual Keys.
|
static int |
VK_LEFT
Virtual Keys.
|
static int |
VK_LMENU
Virtual Keys.
|
static int |
VK_LSHIFT
Virtual Keys.
|
static int |
VK_LWIN
Virtual Keys.
|
static int |
VK_MBUTTON
Virtual Keys.
|
static int |
VK_MEDIA_NEXT_TRACK
Virtual Keys.
|
static int |
VK_MEDIA_PLAY_PAUSE
Virtual Keys.
|
static int |
VK_MEDIA_PREV_TRACK
Virtual Keys.
|
static int |
VK_MEDIA_STOP
Virtual Keys.
|
static int |
VK_MENU
Virtual Keys.
|
static int |
VK_MODECHANGE
Virtual Keys.
|
static int |
VK_MULTIPLY
Virtual Keys.
|
static int |
VK_NEXT
Virtual Keys.
|
static int |
VK_NONAME
Virtual Keys.
|
static int |
VK_NONCONVERT
Virtual Keys.
|
static int |
VK_NUMLOCK
Virtual Keys.
|
static int |
VK_NUMPAD0
Virtual Keys.
|
static int |
VK_NUMPAD1
Virtual Keys.
|
static int |
VK_NUMPAD2
Virtual Keys.
|
static int |
VK_NUMPAD3
Virtual Keys.
|
static int |
VK_NUMPAD4
Virtual Keys.
|
static int |
VK_NUMPAD5
Virtual Keys.
|
static int |
VK_NUMPAD6
Virtual Keys.
|
static int |
VK_NUMPAD7
Virtual Keys.
|
static int |
VK_NUMPAD8
Virtual Keys.
|
static int |
VK_NUMPAD9
Virtual Keys.
|
static int |
VK_OEM_1
Virtual Keys.
|
static int |
VK_OEM_102
Virtual Keys.
|
static int |
VK_OEM_2
Virtual Keys.
|
static int |
VK_OEM_3
Virtual Keys.
|
static int |
VK_OEM_4
Virtual Keys.
|
static int |
VK_OEM_5
Virtual Keys.
|
static int |
VK_OEM_6
Virtual Keys.
|
static int |
VK_OEM_7
Virtual Keys.
|
static int |
VK_OEM_8
Virtual Keys.
|
static int |
VK_OEM_ATTN
Virtual Keys.
|
static int |
VK_OEM_AUTO
Virtual Keys.
|
static int |
VK_OEM_AX
Virtual Keys.
|
static int |
VK_OEM_BACKTAB
Virtual Keys.
|
static int |
VK_OEM_CLEAR
Virtual Keys.
|
static int |
VK_OEM_COMMA
Virtual Keys.
|
static int |
VK_OEM_COPY
Virtual Keys.
|
static int |
VK_OEM_CUSEL
Virtual Keys.
|
static int |
VK_OEM_ENLW
Virtual Keys.
|
static int |
VK_OEM_FINISH
Virtual Keys.
|
static int |
VK_OEM_FJ_JISHO
Virtual Keys.
|
static int |
VK_OEM_FJ_LOYA
Virtual Keys.
|
static int |
VK_OEM_FJ_MASSHOU
Virtual Keys.
|
static int |
VK_OEM_FJ_ROYA
Virtual Keys.
|
static int |
VK_OEM_FJ_TOUROKU
Virtual Keys.
|
static int |
VK_OEM_JUMP
Virtual Keys.
|
static int |
VK_OEM_MINUS
Virtual Keys.
|
static int |
VK_OEM_NEC_EQUAL
Virtual Keys.
|
static int |
VK_OEM_PA1
Virtual Keys.
|
static int |
VK_OEM_PA2
Virtual Keys.
|
static int |
VK_OEM_PA3
Virtual Keys.
|
static int |
VK_OEM_PERIOD
Virtual Keys.
|
static int |
VK_OEM_PLUS
Virtual Keys.
|
static int |
VK_OEM_RESET
Virtual Keys.
|
static int |
VK_OEM_WSCTRL
Virtual Keys.
|
static int |
VK_PA1
Virtual Keys.
|
static int |
VK_PACKET
Virtual Keys.
|
static int |
VK_PAUSE
Virtual Keys.
|
static int |
VK_PLAY
Virtual Keys.
|
static int |
VK_PRINT
Virtual Keys.
|
static int |
VK_PRIOR
Virtual Keys.
|
static int |
VK_PROCESSKEY
Virtual Keys.
|
static int |
VK_RBUTTON
Virtual Keys.
|
static int |
VK_RCONTROL
Virtual Keys.
|
static int |
VK_RETURN
Virtual Keys.
|
static int |
VK_RIGHT
Virtual Keys.
|
static int |
VK_RMENU
Virtual Keys.
|
static int |
VK_RSHIFT
Virtual Keys.
|
static int |
VK_RWIN
Virtual Keys.
|
static int |
VK_SCROLL
Virtual Keys.
|
static int |
VK_SELECT
Virtual Keys.
|
static int |
VK_SEPARATOR
Virtual Keys.
|
static int |
VK_SHIFT
Virtual Keys.
|
static int |
VK_SLEEP
Virtual Keys.
|
static int |
VK_SNAPSHOT
Virtual Keys.
|
static int |
VK_SPACE
Virtual Keys.
|
static int |
VK_SUBTRACT
Virtual Keys.
|
static int |
VK_TAB
Virtual Keys.
|
static int |
VK_UP
Virtual Keys.
|
static int |
VK_VOLUME_DOWN
Virtual Keys.
|
static int |
VK_VOLUME_MUTE
Virtual Keys.
|
static int |
VK_VOLUME_UP
Virtual Keys.
|
static int |
VK_XBUTTON1
Virtual Keys.
|
static int |
VK_XBUTTON2
Virtual Keys.
|
static int |
VK_ZOOM
Virtual Keys.
|
static int |
WA_ACTIVE
WM_ACTIVATE message wParam values. |
static int |
WA_CLICKACTIVE
WM_ACTIVATE message wParam values. |
static int |
WA_INACTIVE
WM_ACTIVATE message wParam values. |
static int |
WHEEL_DELTA
Value for rolling one detent.
|
static int |
WM_ACTIVATE
Windows messages.
|
static int |
WM_ACTIVATEAPP
Windows messages.
|
static int |
WM_AFXFIRST
Windows messages.
|
static int |
WM_AFXLAST
Windows messages.
|
static int |
WM_APP
Windows messages.
|
static int |
WM_APPCOMMAND
Windows messages.
|
static int |
WM_ASKCBFORMATNAME
Windows messages.
|
static int |
WM_CANCELJOURNAL
Windows messages.
|
static int |
WM_CANCELMODE
Windows messages.
|
static int |
WM_CAPTURECHANGED
Windows messages.
|
static int |
WM_CHANGECBCHAIN
Windows messages.
|
static int |
WM_CHANGEUISTATE
Windows messages.
|
static int |
WM_CHAR
Windows messages.
|
static int |
WM_CHARTOITEM
Windows messages.
|
static int |
WM_CHILDACTIVATE
Windows messages.
|
static int |
WM_CLEAR
Windows messages.
|
static int |
WM_CLIPBOARDUPDATE
Windows messages.
|
static int |
WM_CLOSE
Windows messages.
|
static int |
WM_COMMAND
Windows messages.
|
static int |
WM_COMMNOTIFY
Windows messages.
|
static int |
WM_COMPACTING
Windows messages.
|
static int |
WM_COMPAREITEM
Windows messages.
|
static int |
WM_CONTEXTMENU
Windows messages.
|
static int |
WM_COPY
Windows messages.
|
static int |
WM_COPYDATA
Windows messages.
|
static int |
WM_CREATE
Windows messages.
|
static int |
WM_CTLCOLORBTN
Windows messages.
|
static int |
WM_CTLCOLORDLG
Windows messages.
|
static int |
WM_CTLCOLOREDIT
Windows messages.
|
static int |
WM_CTLCOLORLISTBOX
Windows messages.
|
static int |
WM_CTLCOLORMSGBOX
Windows messages.
|
static int |
WM_CTLCOLORSCROLLBAR
Windows messages.
|
static int |
WM_CTLCOLORSTATIC
Windows messages.
|
static int |
WM_CUT
Windows messages.
|
static int |
WM_DEADCHAR
Windows messages.
|
static int |
WM_DELETEITEM
Windows messages.
|
static int |
WM_DESTROY
Windows messages.
|
static int |
WM_DESTROYCLIPBOARD
Windows messages.
|
static int |
WM_DEVICECHANGE
Windows messages.
|
static int |
WM_DEVMODECHANGE
Windows messages.
|
static int |
WM_DISPLAYCHANGE
Windows messages.
|
static int |
WM_DRAWCLIPBOARD
Windows messages.
|
static int |
WM_DRAWITEM
Windows messages.
|
static int |
WM_DROPFILES
Windows messages.
|
static int |
WM_DWMCOLORIZATIONCOLORCHANGED
Windows messages.
|
static int |
WM_DWMCOMPOSITIONCHANGED
Windows messages.
|
static int |
WM_DWMNCRENDERINGCHANGED
Windows messages.
|
static int |
WM_DWMSENDICONICLIVEPREVIEWBITMAP
Windows messages.
|
static int |
WM_DWMSENDICONICTHUMBNAIL
Windows messages.
|
static int |
WM_DWMWINDOWMAXIMIZEDCHANGE
Windows messages.
|
static int |
WM_ENABLE
Windows messages.
|
static int |
WM_ENDSESSION
Windows messages.
|
static int |
WM_ENTERIDLE
Windows messages.
|
static int |
WM_ENTERMENULOOP
Windows messages.
|
static int |
WM_ENTERSIZEMOVE
Windows messages.
|
static int |
WM_ERASEBKGND
Windows messages.
|
static int |
WM_EXITMENULOOP
Windows messages.
|
static int |
WM_EXITSIZEMOVE
Windows messages.
|
static int |
WM_FONTCHANGE
Windows messages.
|
static int |
WM_GESTURE
Windows messages.
|
static int |
WM_GESTURENOTIFY
Windows messages.
|
static int |
WM_GETDLGCODE
Windows messages.
|
static int |
WM_GETFONT
Windows messages.
|
static int |
WM_GETHOTKEY
Windows messages.
|
static int |
WM_GETICON
Windows messages.
|
static int |
WM_GETMINMAXINFO
Windows messages.
|
static int |
WM_GETOBJECT
Windows messages.
|
static int |
WM_GETTEXT
Windows messages.
|
static int |
WM_GETTEXTLENGTH
Windows messages.
|
static int |
WM_GETTITLEBARINFOEX
Windows messages.
|
static int |
WM_HANDHELDFIRST
Windows messages.
|
static int |
WM_HANDHELDLAST
Windows messages.
|
static int |
WM_HELP
Windows messages.
|
static int |
WM_HOTKEY
Windows messages.
|
static int |
WM_HSCROLL
Windows messages.
|
static int |
WM_HSCROLLCLIPBOARD
Windows messages.
|
static int |
WM_ICONERASEBKGND
Windows messages.
|
static int |
WM_IME_CHAR
Windows messages.
|
static int |
WM_IME_COMPOSITION
Windows messages.
|
static int |
WM_IME_COMPOSITIONFULL
Windows messages.
|
static int |
WM_IME_CONTROL
Windows messages.
|
static int |
WM_IME_ENDCOMPOSITION
Windows messages.
|
static int |
WM_IME_KEYDOWN
Windows messages.
|
static int |
WM_IME_KEYLAST
Windows messages.
|
static int |
WM_IME_KEYUP
Windows messages.
|
static int |
WM_IME_NOTIFY
Windows messages.
|
static int |
WM_IME_REQUEST
Windows messages.
|
static int |
WM_IME_SELECT
Windows messages.
|
static int |
WM_IME_SETCONTEXT
Windows messages.
|
static int |
WM_IME_STARTCOMPOSITION
Windows messages.
|
static int |
WM_INITDIALOG
Windows messages.
|
static int |
WM_INITMENU
Windows messages.
|
static int |
WM_INITMENUPOPUP
Windows messages.
|
static int |
WM_INPUT
Windows messages.
|
static int |
WM_INPUT_DEVICE_CHANGE
Windows messages.
|
static int |
WM_INPUTLANGCHANGE
Windows messages.
|
static int |
WM_INPUTLANGCHANGEREQUEST
Windows messages.
|
static int |
WM_KEYDOWN
Windows messages.
|
static int |
WM_KEYFIRST
Windows messages.
|
static int |
WM_KEYUP
Windows messages.
|
static int |
WM_KILLFOCUS
Windows messages.
|
static int |
WM_LBUTTONDBLCLK
Windows messages.
|
static int |
WM_LBUTTONDOWN
Windows messages.
|
static int |
WM_LBUTTONUP
Windows messages.
|
static int |
WM_MBUTTONDBLCLK
Windows messages.
|
static int |
WM_MBUTTONDOWN
Windows messages.
|
static int |
WM_MBUTTONUP
Windows messages.
|
static int |
WM_MDIACTIVATE
Windows messages.
|
static int |
WM_MDICASCADE
Windows messages.
|
static int |
WM_MDICREATE
Windows messages.
|
static int |
WM_MDIDESTROY
Windows messages.
|
static int |
WM_MDIGETACTIVE
Windows messages.
|
static int |
WM_MDIICONARRANGE
Windows messages.
|
static int |
WM_MDIMAXIMIZE
Windows messages.
|
static int |
WM_MDINEXT
Windows messages.
|
static int |
WM_MDIREFRESHMENU
Windows messages.
|
static int |
WM_MDIRESTORE
Windows messages.
|
static int |
WM_MDISETMENU
Windows messages.
|
static int |
WM_MDITILE
Windows messages.
|
static int |
WM_MEASUREITEM
Windows messages.
|
static int |
WM_MENUCHAR
Windows messages.
|
static int |
WM_MENUCOMMAND
Windows messages.
|
static int |
WM_MENUDRAG
Windows messages.
|
static int |
WM_MENUGETOBJECT
Windows messages.
|
static int |
WM_MENURBUTTONUP
Windows messages.
|
static int |
WM_MENUSELECT
Windows messages.
|
static int |
WM_MOUSEACTIVATE
Windows messages.
|
static int |
WM_MOUSEFIRST
Windows messages.
|
static int |
WM_MOUSEHOVER
Windows messages.
|
static int |
WM_MOUSEHWHEEL
Windows messages.
|
static int |
WM_MOUSELEAVE
Windows messages.
|
static int |
WM_MOUSEMOVE
Windows messages.
|
static int |
WM_MOUSEWHEEL
Windows messages.
|
static int |
WM_MOVE
Windows messages.
|
static int |
WM_MOVING
Windows messages.
|
static int |
WM_NCACTIVATE
Windows messages.
|
static int |
WM_NCCALCSIZE
Windows messages.
|
static int |
WM_NCCREATE
Windows messages.
|
static int |
WM_NCDESTROY
Windows messages.
|
static int |
WM_NCHITTEST
Windows messages.
|
static int |
WM_NCLBUTTONDBLCLK
Windows messages.
|
static int |
WM_NCLBUTTONDOWN
Windows messages.
|
static int |
WM_NCLBUTTONUP
Windows messages.
|
static int |
WM_NCMBUTTONDBLCLK
Windows messages.
|
static int |
WM_NCMBUTTONDOWN
Windows messages.
|
static int |
WM_NCMBUTTONUP
Windows messages.
|
static int |
WM_NCMOUSEHOVER
Windows messages.
|
static int |
WM_NCMOUSELEAVE
Windows messages.
|
static int |
WM_NCMOUSEMOVE
Windows messages.
|
static int |
WM_NCPAINT
Windows messages.
|
static int |
WM_NCRBUTTONDBLCLK
Windows messages.
|
static int |
WM_NCRBUTTONDOWN
Windows messages.
|
static int |
WM_NCRBUTTONUP
Windows messages.
|
static int |
WM_NCXBUTTONDBLCLK
Windows messages.
|
static int |
WM_NCXBUTTONDOWN
Windows messages.
|
static int |
WM_NCXBUTTONUP
Windows messages.
|
static int |
WM_NEXTDLGCTL
Windows messages.
|
static int |
WM_NEXTMENU
Windows messages.
|
static int |
WM_NOTIFY
Windows messages.
|
static int |
WM_NOTIFYFORMAT
Windows messages.
|
static int |
WM_NULL
Windows messages.
|
static int |
WM_PAINT
Windows messages.
|
static int |
WM_PAINTCLIPBOARD
Windows messages.
|
static int |
WM_PAINTICON
Windows messages.
|
static int |
WM_PALETTECHANGED
Windows messages.
|
static int |
WM_PALETTEISCHANGING
Windows messages.
|
static int |
WM_PARENTNOTIFY
Windows messages.
|
static int |
WM_PASTE
Windows messages.
|
static int |
WM_PENWINFIRST
Windows messages.
|
static int |
WM_PENWINLAST
Windows messages.
|
static int |
WM_POWER
Windows messages.
|
static int |
WM_POWERBROADCAST
Windows messages.
|
static int |
WM_PRINT
Windows messages.
|
static int |
WM_PRINTCLIENT
Windows messages.
|
static int |
WM_QUERYDRAGICON
Windows messages.
|
static int |
WM_QUERYENDSESSION
Windows messages.
|
static int |
WM_QUERYNEWPALETTE
Windows messages.
|
static int |
WM_QUERYOPEN
Windows messages.
|
static int |
WM_QUERYUISTATE
Windows messages.
|
static int |
WM_QUEUESYNC
Windows messages.
|
static int |
WM_QUIT
Windows messages.
|
static int |
WM_RBUTTONDBLCLK
Windows messages.
|
static int |
WM_RBUTTONDOWN
Windows messages.
|
static int |
WM_RBUTTONUP
Windows messages.
|
static int |
WM_RENDERALLFORMATS
Windows messages.
|
static int |
WM_RENDERFORMAT
Windows messages.
|
static int |
WM_SETCURSOR
Windows messages.
|
static int |
WM_SETFOCUS
Windows messages.
|
static int |
WM_SETFONT
Windows messages.
|
static int |
WM_SETHOTKEY
Windows messages.
|
static int |
WM_SETICON
Windows messages.
|
static int |
WM_SETREDRAW
Windows messages.
|
static int |
WM_SETTEXT
Windows messages.
|
static int |
WM_SETTINGCHANGE
Windows messages.
|
static int |
WM_SHOWWINDOW
Windows messages.
|
static int |
WM_SIZE
Windows messages.
|
static int |
WM_SIZECLIPBOARD
Windows messages.
|
static int |
WM_SIZING
Windows messages.
|
static int |
WM_SPOOLERSTATUS
Windows messages.
|
static int |
WM_STYLECHANGED
Windows messages.
|
static int |
WM_STYLECHANGING
Windows messages.
|
static int |
WM_SYNCPAINT
Windows messages.
|
static int |
WM_SYSCHAR
Windows messages.
|
static int |
WM_SYSCOLORCHANGE
Windows messages.
|
static int |
WM_SYSCOMMAND
Windows messages.
|
static int |
WM_SYSDEADCHAR
Windows messages.
|
static int |
WM_SYSKEYDOWN
Windows messages.
|
static int |
WM_SYSKEYUP
Windows messages.
|
static int |
WM_TABLET_FIRST
Windows messages.
|
static int |
WM_TABLET_LAST
Windows messages.
|
static int |
WM_TCARD
Windows messages.
|
static int |
WM_THEMECHANGED
Windows messages.
|
static int |
WM_TIMECHANGE
Windows messages.
|
static int |
WM_TIMER
Windows messages.
|
static int |
WM_TOUCH
Windows messages.
|
static int |
WM_UNDO
Windows messages.
|
static int |
WM_UNICHAR
Windows messages.
|
static int |
WM_UNINITMENUPOPUP
Windows messages.
|
static int |
WM_UPDATEUISTATE
Windows messages.
|
static int |
WM_USER
Windows messages.
|
static int |
WM_USERCHANGED
Windows messages.
|
static int |
WM_VKEYTOITEM
Windows messages.
|
static int |
WM_VSCROLL
Windows messages.
|
static int |
WM_VSCROLLCLIPBOARD
Windows messages.
|
static int |
WM_WINDOWPOSCHANGED
Windows messages.
|
static int |
WM_WINDOWPOSCHANGING
Windows messages.
|
static int |
WM_WININICHANGE
Windows messages.
|
static int |
WM_WTSSESSION_CHANGE
Windows messages.
|
static int |
WM_XBUTTONDBLCLK
Windows messages.
|
static int |
WM_XBUTTONDOWN
Windows messages.
|
static int |
WM_XBUTTONUP
Windows messages.
|
static int |
WPF_ASYNCWINDOWPLACEMENT
WINDOWPLACEMENT flags. |
static int |
WPF_RESTORETOMAXIMIZED
WINDOWPLACEMENT flags. |
static int |
WPF_SETMINPOSITION
WINDOWPLACEMENT flags. |
static int |
WS_BORDER
Window Styles
|
static int |
WS_CAPTION
Window Styles
|
static int |
WS_CHILD
Window Styles
|
static int |
WS_CHILDWINDOW
Window Styles
|
static int |
WS_CLIPCHILDREN
Window Styles
|
static int |
WS_CLIPSIBLINGS
Window Styles
|
static int |
WS_DISABLED
Window Styles
|
static int |
WS_DLGFRAME
Window Styles
|
static int |
WS_EX_ACCEPTFILES
Extended Window Styles
|
static int |
WS_EX_APPWINDOW
Extended Window Styles
|
static int |
WS_EX_CLIENTEDGE
Extended Window Styles
|
static int |
WS_EX_COMPOSITED
Extended Window Styles
|
static int |
WS_EX_CONTEXTHELP
Extended Window Styles
|
static int |
WS_EX_CONTROLPARENT
Extended Window Styles
|
static int |
WS_EX_DLGMODALFRAME
Extended Window Styles
|
static int |
WS_EX_LAYERED
Extended Window Styles
|
static int |
WS_EX_LAYOUTRTL
Extended Window Styles
|
static int |
WS_EX_LEFT
Extended Window Styles
|
static int |
WS_EX_LEFTSCROLLBAR
Extended Window Styles
|
static int |
WS_EX_LTRREADING
Extended Window Styles
|
static int |
WS_EX_MDICHILD
Extended Window Styles
|
static int |
WS_EX_NOACTIVATE
Extended Window Styles
|
static int |
WS_EX_NOINHERITLAYOUT
Extended Window Styles
|
static int |
WS_EX_NOPARENTNOTIFY
Extended Window Styles
|
static int |
WS_EX_OVERLAPPEDWINDOW
Extended Window Styles
|
static int |
WS_EX_PALETTEWINDOW
Extended Window Styles
|
static int |
WS_EX_RIGHT
Extended Window Styles
|
static int |
WS_EX_RIGHTSCROLLBAR
Extended Window Styles
|
static int |
WS_EX_RTLREADING
Extended Window Styles
|
static int |
WS_EX_STATICEDGE
Extended Window Styles
|
static int |
WS_EX_TOOLWINDOW
Extended Window Styles
|
static int |
WS_EX_TOPMOST
Extended Window Styles
|
static int |
WS_EX_TRANSPARENT
Extended Window Styles
|
static int |
WS_EX_WINDOWEDGE
Extended Window Styles
|
static int |
WS_GROUP
Window Styles
|
static int |
WS_HSCROLL
Window Styles
|
static int |
WS_ICONIC
Window Styles
|
static int |
WS_MAXIMIZE
Window Styles
|
static int |
WS_MAXIMIZEBOX
Window Styles
|
static int |
WS_MINIMIZE
Window Styles
|
static int |
WS_MINIMIZEBOX
Window Styles
|
static int |
WS_OVERLAPPED
Window Styles
|
static int |
WS_OVERLAPPEDWINDOW
Window Styles
|
static int |
WS_POPUP
Window Styles
|
static int |
WS_POPUPWINDOW
Window Styles
|
static int |
WS_SIZEBOX
Window Styles
|
static int |
WS_SYSMENU
Window Styles
|
static int |
WS_TABSTOP
Window Styles
|
static int |
WS_THICKFRAME
Window Styles
|
static int |
WS_TILED
Window Styles
|
static int |
WS_TILEDWINDOW
Window Styles
|
static int |
WS_VISIBLE
Window Styles
|
static int |
WS_VSCROLL
Window Styles
|
static int |
XBUTTON1
XButton values.
|
static int |
XBUTTON2
XButton values.
|
| 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 long |
CallWindowProc(WindowProcI lpPrevWndFunc,
long hWnd,
int Msg,
long wParam,
long lParam)
Passes message information to the specified window procedure.
|
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 |
ClientToScreen(long hWnd,
POINT lpPoint)
Converts the client-area coordinates of a specified point to screen coordinates.
|
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 short |
GetAsyncKeyState(int vKey)
Determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to
GetAsyncKeyState. |
static int |
GetAwarenessFromDpiAwarenessContext(long value)
Retrieves the
DPI_AWARENESS value from a DPI_AWARENESS_CONTEXT. |
static long |
GetClassLongPtr(long hWnd,
int nIndex)
Retrieves the specified value from the
WNDCLASSEX 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 int |
GetDpiForSystem()
Returns the system DPI.
|
static int |
GetDpiForWindow(long hwnd)
Returns the dots per inch (dpi) value for the associated window.
|
static org.lwjgl.system.SharedLibrary |
getLibrary()
Returns the user32
SharedLibrary. |
static boolean |
GetMessage(MSG lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax)
Retrieves a message from the calling thread's message queue.
|
static long |
GetMessageExtraInfo()
Retrieves the extra message information for the current thread.
|
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 long |
GetThreadDpiAwarenessContext()
Gets the
DPI_AWARENESS_CONTEXT for the current thread. |
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 |
GetWindowDpiAwarenessContext(long hwnd)
Returns the
DPI_AWARENESS_CONTEXT associated with a window. |
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:
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 |
IsValidDpiAwarenessContext(long value)
Determines if a specified
DPI_AWARENESS_CONTEXT is valid and supported by the current system. |
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 int |
nAdjustWindowRectEx(long lpRect,
int dwStyle,
int bMenu,
int dwExStyle)
Unsafe version of:
AdjustWindowRectEx(org.lwjgl.system.windows.RECT, int, boolean, int) |
static int |
nAdjustWindowRectEx(long lpRect,
int dwStyle,
int bMenu,
int dwExStyle,
long __functionAddress)
Unsafe version of:
AdjustWindowRectEx(org.lwjgl.system.windows.RECT, int, boolean, int) |
static long |
nCallWindowProc(long lpPrevWndFunc,
long hWnd,
int Msg,
long wParam,
long lParam)
Unsafe version of:
CallWindowProc(org.lwjgl.system.windows.WindowProcI, long, int, long, long) |
static int |
nChangeDisplaySettingsEx(long lpszDeviceName,
long lpDevMode,
long hwnd,
int dwflags,
long lParam)
|
static int |
nClientToScreen(long hWnd,
long lpPoint)
Unsafe version of:
ClientToScreen(long, org.lwjgl.system.windows.POINT) |
static int |
nClipCursor(long rect)
Unsafe version of:
ClipCursor(org.lwjgl.system.windows.RECT) |
static int |
nCloseTouchInputHandle(long hTouchInput,
long __functionAddress)
Unsafe version of:
CloseTouchInputHandle(long) |
static long |
nCreateWindowEx(int dwExStyle,
long lpClassName,
long lpWindowName,
int dwStyle,
int x,
int y,
int nWidth,
int nHeight,
long hWndParent,
long hMenu,
long hInstance,
long lpParam)
|
static long |
nCreateWindowEx(int dwExStyle,
long lpClassName,
long lpWindowName,
int dwStyle,
int x,
int y,
int nWidth,
int nHeight,
long hWndParent,
long hMenu,
long hInstance,
long lpParam,
long __functionAddress)
|
static int |
nDestroyWindow(long hWnd,
long __functionAddress)
Unsafe version of:
DestroyWindow(long) |
static long |
nDispatchMessage(long lpmsg)
Unsafe version of:
DispatchMessage(org.lwjgl.system.windows.MSG) |
static int |
nEnumDisplayDevices(long lpDevice,
int iDevNum,
long lpDisplayDevice,
int dwFlags)
|
static int |
nEnumDisplaySettingsEx(long lpszDeviceName,
int iModeNum,
long lpDevMode,
int dwFlags)
|
static long |
nGetClassLongPtr(long hWnd,
int nIndex,
long __functionAddress)
Unsafe version of:
GetClassLongPtr(long, int) |
static int |
nGetCursorPos(long point)
Unsafe version of:
GetCursorPos(org.lwjgl.system.windows.POINT) |
static int |
nGetMessage(long lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax)
Unsafe version of:
GetMessage(org.lwjgl.system.windows.MSG, long, int, int) |
static int |
nGetMessage(long lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax,
long __functionAddress)
Unsafe version of:
GetMessage(org.lwjgl.system.windows.MSG, long, int, int) |
static int |
nGetMonitorInfo(long hMonitor,
long lpmi)
Unsafe version of:
GetMonitorInfo(long, org.lwjgl.system.windows.MONITORINFOEX) |
static int |
nGetTouchInputInfo(long hTouchInput,
int cInputs,
long pInputs,
int cbSize)
Unsafe version of:
GetTouchInputInfo(long, org.lwjgl.system.windows.TOUCHINPUT.Buffer, int) |
static int |
nGetTouchInputInfo(long hTouchInput,
int cInputs,
long pInputs,
int cbSize,
long __functionAddress)
Unsafe version of:
GetTouchInputInfo(long, org.lwjgl.system.windows.TOUCHINPUT.Buffer, int) |
static long |
nGetWindowLongPtr(long hWnd,
int nIndex,
long __functionAddress)
Unsafe version of:
GetWindowLongPtr(long, int) |
static int |
nGetWindowPlacement(long hWnd,
long lpwndpl)
Unsafe version of:
GetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT) |
static int |
nGetWindowPlacement(long hWnd,
long lpwndpl,
long __functionAddress)
Unsafe version of:
GetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT) |
static int |
nGetWindowRect(long hWnd,
long lpRect)
Unsafe version of:
GetWindowRect(long, org.lwjgl.system.windows.RECT) |
static int |
nGetWindowRect(long hWnd,
long lpRect,
long __functionAddress)
Unsafe version of:
GetWindowRect(long, org.lwjgl.system.windows.RECT) |
static int |
nIsTouchWindow(long hWnd,
long pulFlags)
Unsafe version of:
IsTouchWindow(long, java.nio.IntBuffer) |
static long |
nLoadCursor(long instance,
long cursorName)
Unsafe version of:
LoadCursor(long, java.nio.ByteBuffer) |
static long |
nLoadCursor(long instance,
long cursorName,
long __functionAddress)
Unsafe version of:
LoadCursor(long, java.nio.ByteBuffer) |
static long |
nLoadIcon(long instance,
long iconName)
Unsafe version of:
LoadIcon(long, java.nio.ByteBuffer) |
static long |
nLoadIcon(long instance,
long iconName,
long __functionAddress)
Unsafe version of:
LoadIcon(long, java.nio.ByteBuffer) |
static int |
nMoveWindow(long hWnd,
int X,
int Y,
int nWidth,
int nHeight,
int bRepaint,
long __functionAddress)
Unsafe version of:
MoveWindow(long, int, int, int, int, boolean) |
static int |
nPeekMessage(long lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax,
int wRemoveMsg)
Unsafe version of:
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int) |
static int |
nPostMessage(long hWnd,
int Msg,
long wParam,
long lParam,
long __functionAddress)
Unsafe version of:
PostMessage(long, int, long, long) |
static short |
nRegisterClassEx(long lpwcx)
Unsafe version of:
RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX) |
static short |
nRegisterClassEx(long lpwcx,
long __functionAddress)
Unsafe version of:
RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX) |
static int |
nRegisterTouchWindow(long hWnd,
int ulFlags,
long __functionAddress)
Unsafe version of:
RegisterTouchWindow(long, int) |
static int |
nSendInput(int cInputs,
long pInputs,
int cbSize)
Unsafe version of:
SendInput(org.lwjgl.system.windows.INPUT.Buffer, int) |
static int |
nSendMessage(long hWnd,
int Msg,
long wParam,
long lParam,
long __functionAddress)
Unsafe version of:
SendMessage(long, int, long, long) |
static long |
nSetClassLongPtr(long hWnd,
int nIndex,
long dwNewLong,
long __functionAddress)
Unsafe version of:
SetClassLongPtr(long, int, long) |
static int |
nSetLayeredWindowAttributes(long hwnd,
int crKey,
byte bAlpha,
int dwFlags,
long __functionAddress)
Unsafe version of:
SetLayeredWindowAttributes(long, int, byte, int) |
static long |
nSetWindowLongPtr(long hWnd,
int nIndex,
long dwNewLong,
long __functionAddress)
Unsafe version of:
SetWindowLongPtr(long, int, long) |
static int |
nSetWindowPlacement(long hWnd,
long lpwndpl)
Unsafe version of:
SetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT) |
static int |
nSetWindowPlacement(long hWnd,
long lpwndpl,
long __functionAddress)
Unsafe version of:
SetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT) |
static int |
nSetWindowPos(long hWnd,
long hWndInsertAfter,
int X,
int Y,
int cx,
int cy,
int uFlags,
long __functionAddress)
Unsafe version of:
SetWindowPos(long, long, int, int, int, int, int) |
static int |
nSetWindowText(long hWnd,
long lpString)
Unsafe version of:
SetWindowText(long, java.nio.ByteBuffer) |
static int |
nSetWindowText(long hWnd,
long lpString,
long __functionAddress)
Unsafe version of:
SetWindowText(long, java.nio.ByteBuffer) |
static int |
nTranslateMessage(long lpMsg)
Unsafe version of:
TranslateMessage(org.lwjgl.system.windows.MSG) |
static int |
nUnregisterClass(long lpClassName,
long hInstance)
Unsafe version of:
UnregisterClass(java.nio.ByteBuffer, long) |
static int |
nUnregisterClass(long lpClassName,
long hInstance,
long __functionAddress)
Unsafe version of:
UnregisterClass(java.nio.ByteBuffer, long) |
static int |
nUnregisterTouchWindow(long hWnd,
long __functionAddress)
Unsafe version of:
UnregisterTouchWindow(long) |
static int |
nWaitMessage(long __functionAddress)
Unsafe version of:
WaitMessage() |
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 the
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 int |
SendInput(INPUT.Buffer pInputs,
int cbSize)
Synthesizes keystrokes, mouse motions, and button clicks.
|
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 the
WNDCLASSEX 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 |
SetThreadDpiAwarenessContext(long dpiContext)
Set the DPI awareness for the current thread to the provided value.
|
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 a
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.
|
public static final int WS_OVERLAPPED
public static final int WS_POPUP
public static final int WS_CHILD
public static final int WS_MINIMIZE
public static final int WS_VISIBLE
public static final int WS_DISABLED
public static final int WS_CLIPSIBLINGS
public static final int WS_CLIPCHILDREN
public static final int WS_MAXIMIZE
public static final int WS_CAPTION
public static final int WS_BORDER
public static final int WS_DLGFRAME
public static final int WS_VSCROLL
public static final int WS_HSCROLL
public static final int WS_SYSMENU
public static final int WS_THICKFRAME
public static final int WS_GROUP
public static final int WS_TABSTOP
public static final int WS_MINIMIZEBOX
public static final int WS_MAXIMIZEBOX
public static final int WS_OVERLAPPEDWINDOW
public static final int WS_POPUPWINDOW
public static final int WS_CHILDWINDOW
public static final int WS_TILED
public static final int WS_ICONIC
public static final int WS_SIZEBOX
public static final int WS_TILEDWINDOW
public static final int WS_EX_DLGMODALFRAME
public static final int WS_EX_NOPARENTNOTIFY
public static final int WS_EX_TOPMOST
public static final int WS_EX_ACCEPTFILES
public static final int WS_EX_TRANSPARENT
public static final int WS_EX_MDICHILD
public static final int WS_EX_TOOLWINDOW
public static final int WS_EX_WINDOWEDGE
public static final int WS_EX_CLIENTEDGE
public static final int WS_EX_CONTEXTHELP
public static final int WS_EX_RIGHT
public static final int WS_EX_LEFT
public static final int WS_EX_RTLREADING
public static final int WS_EX_LTRREADING
public static final int WS_EX_LEFTSCROLLBAR
public static final int WS_EX_RIGHTSCROLLBAR
public static final int WS_EX_CONTROLPARENT
public static final int WS_EX_STATICEDGE
public static final int WS_EX_APPWINDOW
public static final int WS_EX_OVERLAPPEDWINDOW
public static final int WS_EX_PALETTEWINDOW
public static final int WS_EX_LAYERED
public static final int WS_EX_NOINHERITLAYOUT
public static final int WS_EX_LAYOUTRTL
public static final int WS_EX_COMPOSITED
public static final int WS_EX_NOACTIVATE
public static final int CW_USEDEFAULT
CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long) for the x, y, width, height parameters.public static final int CS_VREDRAW
public static final int CS_HREDRAW
public static final int CS_DBLCLKS
public static final int CS_OWNDC
public static final int CS_CLASSDC
public static final int CS_PARENTDC
public static final int CS_NOCLOSE
public static final int CS_SAVEBITS
public static final int CS_BYTEALIGNCLIENT
public static final int CS_BYTEALIGNWINDOW
public static final int CS_GLOBALCLASS
public static final int CS_IME
public static final int CS_DROPSHADOW
public static final int WM_NULL
public static final int WM_CREATE
public static final int WM_DESTROY
public static final int WM_MOVE
public static final int WM_SIZE
public static final int WM_ACTIVATE
public static final int WM_SETFOCUS
public static final int WM_KILLFOCUS
public static final int WM_ENABLE
public static final int WM_SETREDRAW
public static final int WM_SETTEXT
public static final int WM_GETTEXT
public static final int WM_GETTEXTLENGTH
public static final int WM_PAINT
public static final int WM_CLOSE
public static final int WM_QUERYENDSESSION
public static final int WM_QUERYOPEN
public static final int WM_ENDSESSION
public static final int WM_QUIT
public static final int WM_ERASEBKGND
public static final int WM_SYSCOLORCHANGE
public static final int WM_SHOWWINDOW
public static final int WM_WININICHANGE
public static final int WM_SETTINGCHANGE
public static final int WM_DEVMODECHANGE
public static final int WM_ACTIVATEAPP
public static final int WM_FONTCHANGE
public static final int WM_TIMECHANGE
public static final int WM_CANCELMODE
public static final int WM_SETCURSOR
public static final int WM_MOUSEACTIVATE
public static final int WM_CHILDACTIVATE
public static final int WM_QUEUESYNC
public static final int WM_GETMINMAXINFO
public static final int WM_PAINTICON
public static final int WM_ICONERASEBKGND
public static final int WM_NEXTDLGCTL
public static final int WM_SPOOLERSTATUS
public static final int WM_DRAWITEM
public static final int WM_MEASUREITEM
public static final int WM_DELETEITEM
public static final int WM_VKEYTOITEM
public static final int WM_CHARTOITEM
public static final int WM_SETFONT
public static final int WM_GETFONT
public static final int WM_SETHOTKEY
public static final int WM_GETHOTKEY
public static final int WM_QUERYDRAGICON
public static final int WM_COMPAREITEM
public static final int WM_GETOBJECT
public static final int WM_COMPACTING
public static final int WM_COMMNOTIFY
public static final int WM_WINDOWPOSCHANGING
public static final int WM_WINDOWPOSCHANGED
public static final int WM_POWER
public static final int WM_COPYDATA
public static final int WM_CANCELJOURNAL
public static final int WM_NOTIFY
public static final int WM_INPUTLANGCHANGEREQUEST
public static final int WM_INPUTLANGCHANGE
public static final int WM_TCARD
public static final int WM_HELP
public static final int WM_USERCHANGED
public static final int WM_NOTIFYFORMAT
public static final int WM_CONTEXTMENU
public static final int WM_STYLECHANGING
public static final int WM_STYLECHANGED
public static final int WM_DISPLAYCHANGE
public static final int WM_GETICON
public static final int WM_SETICON
public static final int WM_NCCREATE
public static final int WM_NCDESTROY
public static final int WM_NCCALCSIZE
public static final int WM_NCHITTEST
public static final int WM_NCPAINT
public static final int WM_NCACTIVATE
public static final int WM_GETDLGCODE
public static final int WM_SYNCPAINT
public static final int WM_NCMOUSEMOVE
public static final int WM_NCLBUTTONDOWN
public static final int WM_NCLBUTTONUP
public static final int WM_NCLBUTTONDBLCLK
public static final int WM_NCRBUTTONDOWN
public static final int WM_NCRBUTTONUP
public static final int WM_NCRBUTTONDBLCLK
public static final int WM_NCMBUTTONDOWN
public static final int WM_NCMBUTTONUP
public static final int WM_NCMBUTTONDBLCLK
public static final int WM_NCXBUTTONDOWN
public static final int WM_NCXBUTTONUP
public static final int WM_NCXBUTTONDBLCLK
public static final int WM_INPUT_DEVICE_CHANGE
public static final int WM_INPUT
public static final int WM_KEYFIRST
public static final int WM_KEYDOWN
public static final int WM_KEYUP
public static final int WM_CHAR
public static final int WM_DEADCHAR
public static final int WM_SYSKEYDOWN
public static final int WM_SYSKEYUP
public static final int WM_SYSCHAR
public static final int WM_SYSDEADCHAR
public static final int WM_UNICHAR
public static final int UNICODE_NOCHAR
public static final int WM_IME_STARTCOMPOSITION
public static final int WM_IME_ENDCOMPOSITION
public static final int WM_IME_COMPOSITION
public static final int WM_IME_KEYLAST
public static final int WM_INITDIALOG
public static final int WM_COMMAND
public static final int WM_SYSCOMMAND
public static final int WM_TIMER
public static final int WM_HSCROLL
public static final int WM_VSCROLL
public static final int WM_INITMENU
public static final int WM_INITMENUPOPUP
public static final int WM_GESTURE
public static final int WM_GESTURENOTIFY
public static final int WM_MENUSELECT
public static final int WM_MENUCHAR
public static final int WM_ENTERIDLE
public static final int WM_MENURBUTTONUP
public static final int WM_MENUDRAG
public static final int WM_MENUGETOBJECT
public static final int WM_UNINITMENUPOPUP
public static final int WM_MENUCOMMAND
public static final int WM_CHANGEUISTATE
public static final int WM_UPDATEUISTATE
public static final int WM_QUERYUISTATE
public static final int WM_CTLCOLORMSGBOX
public static final int WM_CTLCOLOREDIT
public static final int WM_CTLCOLORLISTBOX
public static final int WM_CTLCOLORBTN
public static final int WM_CTLCOLORDLG
public static final int WM_CTLCOLORSCROLLBAR
public static final int WM_CTLCOLORSTATIC
public static final int MN_GETHMENU
public static final int WM_MOUSEFIRST
public static final int WM_MOUSEMOVE
public static final int WM_LBUTTONDOWN
public static final int WM_LBUTTONUP
public static final int WM_LBUTTONDBLCLK
public static final int WM_RBUTTONDOWN
public static final int WM_RBUTTONUP
public static final int WM_RBUTTONDBLCLK
public static final int WM_MBUTTONDOWN
public static final int WM_MBUTTONUP
public static final int WM_MBUTTONDBLCLK
public static final int WM_MOUSEWHEEL
public static final int WM_XBUTTONDOWN
public static final int WM_XBUTTONUP
public static final int WM_XBUTTONDBLCLK
public static final int WM_MOUSEHWHEEL
public static final int WM_PARENTNOTIFY
public static final int WM_ENTERMENULOOP
public static final int WM_EXITMENULOOP
public static final int WM_NEXTMENU
public static final int WM_SIZING
public static final int WM_CAPTURECHANGED
public static final int WM_MOVING
public static final int WM_POWERBROADCAST
public static final int WM_DEVICECHANGE
public static final int WM_MDICREATE
public static final int WM_MDIDESTROY
public static final int WM_MDIACTIVATE
public static final int WM_MDIRESTORE
public static final int WM_MDINEXT
public static final int WM_MDIMAXIMIZE
public static final int WM_MDITILE
public static final int WM_MDICASCADE
public static final int WM_MDIICONARRANGE
public static final int WM_MDIGETACTIVE
public static final int WM_MDISETMENU
public static final int WM_ENTERSIZEMOVE
public static final int WM_EXITSIZEMOVE
public static final int WM_DROPFILES
public static final int WM_MDIREFRESHMENU
public static final int WM_TOUCH
public static final int WM_IME_SETCONTEXT
public static final int WM_IME_NOTIFY
public static final int WM_IME_CONTROL
public static final int WM_IME_COMPOSITIONFULL
public static final int WM_IME_SELECT
public static final int WM_IME_CHAR
public static final int WM_IME_REQUEST
public static final int WM_IME_KEYDOWN
public static final int WM_IME_KEYUP
public static final int WM_MOUSEHOVER
public static final int WM_MOUSELEAVE
public static final int WM_NCMOUSEHOVER
public static final int WM_NCMOUSELEAVE
public static final int WM_WTSSESSION_CHANGE
public static final int WM_TABLET_FIRST
public static final int WM_TABLET_LAST
public static final int WM_CUT
public static final int WM_COPY
public static final int WM_PASTE
public static final int WM_CLEAR
public static final int WM_UNDO
public static final int WM_RENDERFORMAT
public static final int WM_RENDERALLFORMATS
public static final int WM_DESTROYCLIPBOARD
public static final int WM_DRAWCLIPBOARD
public static final int WM_PAINTCLIPBOARD
public static final int WM_VSCROLLCLIPBOARD
public static final int WM_SIZECLIPBOARD
public static final int WM_ASKCBFORMATNAME
public static final int WM_CHANGECBCHAIN
public static final int WM_HSCROLLCLIPBOARD
public static final int WM_QUERYNEWPALETTE
public static final int WM_PALETTEISCHANGING
public static final int WM_PALETTECHANGED
public static final int WM_HOTKEY
public static final int WM_PRINT
public static final int WM_PRINTCLIENT
public static final int WM_APPCOMMAND
public static final int WM_THEMECHANGED
public static final int WM_CLIPBOARDUPDATE
public static final int WM_DWMCOMPOSITIONCHANGED
public static final int WM_DWMNCRENDERINGCHANGED
public static final int WM_DWMCOLORIZATIONCOLORCHANGED
public static final int WM_DWMWINDOWMAXIMIZEDCHANGE
public static final int WM_DWMSENDICONICTHUMBNAIL
public static final int WM_DWMSENDICONICLIVEPREVIEWBITMAP
public static final int WM_GETTITLEBARINFOEX
public static final int WM_HANDHELDFIRST
public static final int WM_HANDHELDLAST
public static final int WM_AFXFIRST
public static final int WM_AFXLAST
public static final int WM_PENWINFIRST
public static final int WM_PENWINLAST
public static final int WM_APP
public static final int WM_USER
public static final int WA_ACTIVE
WM_ACTIVATE message wParam values.public static final int WA_CLICKACTIVE
WM_ACTIVATE message wParam values.public static final int WA_INACTIVE
WM_ACTIVATE message wParam values.public static final int SIZE_RESTORED
WM_SIZE message wParam values.public static final int SIZE_MINIMIZED
WM_SIZE message wParam values.public static final int SIZE_MAXIMIZED
WM_SIZE message wParam values.public static final int SIZE_MAXSHOW
WM_SIZE message wParam values.public static final int SIZE_MAXHIDE
WM_SIZE message wParam values.public static final int DBT_APPYBEGIN
WM_DEVICECHANGE message wParam params.public static final int DBT_APPYEND
WM_DEVICECHANGE message wParam params.public static final int DBT_DEVNODES_CHANGED
WM_DEVICECHANGE message wParam params.public static final int DBT_QUERYCHANGECONFIG
WM_DEVICECHANGE message wParam params.public static final int DBT_CONFIGCHANGED
WM_DEVICECHANGE message wParam params.public static final int DBT_CONFIGCHANGECANCELED
WM_DEVICECHANGE message wParam params.public static final int DBT_MONITORCHANGE
WM_DEVICECHANGE message wParam params.public static final int SC_SIZE
public static final int SC_MOVE
public static final int SC_MINIMIZE
public static final int SC_MAXIMIZE
public static final int SC_NEXTWINDOW
public static final int SC_PREVWINDOW
public static final int SC_CLOSE
public static final int SC_VSCROLL
public static final int SC_HSCROLL
public static final int SC_MOUSEMENU
public static final int SC_KEYMENU
public static final int SC_ARRANGE
public static final int SC_RESTORE
public static final int SC_TASKLIST
public static final int SC_SCREENSAVE
public static final int SC_HOTKEY
public static final int SC_DEFAULT
public static final int SC_MONITORPOWER
public static final int SC_CONTEXTHELP
public static final int SC_SEPARATOR
public static final int MK_LBUTTON
public static final int MK_RBUTTON
public static final int MK_SHIFT
public static final int MK_CONTROL
public static final int MK_MBUTTON
public static final int MK_XBUTTON1
public static final int MK_XBUTTON2
public static final int HTERROR
public static final int HTTRANSPARENT
public static final int HTNOWHERE
public static final int HTCLIENT
public static final int HTCAPTION
public static final int HTSYSMENU
public static final int HTGROWBOX
public static final int HTSIZE
public static final int HTMENU
public static final int HTHSCROLL
public static final int HTVSCROLL
public static final int HTMINBUTTON
public static final int HTMAXBUTTON
public static final int HTLEFT
public static final int HTRIGHT
public static final int HTTOP
public static final int HTTOPLEFT
public static final int HTTOPRIGHT
public static final int HTBOTTOM
public static final int HTBOTTOMLEFT
public static final int HTBOTTOMRIGHT
public static final int HTBORDER
public static final int HTREDUCE
public static final int HTZOOM
public static final int HTSIZEFIRST
public static final int HTSIZELAST
public static final int HTOBJECT
public static final int HTCLOSE
public static final int HTHELP
public static final int GWL_WNDPROC
GetWindowLongPtr(long, int).public static final int GWL_HINSTANCE
GetWindowLongPtr(long, int).public static final int GWL_HWNDPARENT
GetWindowLongPtr(long, int).public static final int GWL_STYLE
GetWindowLongPtr(long, int).public static final int GWL_EXSTYLE
GetWindowLongPtr(long, int).public static final int GWL_USERDATA
GetWindowLongPtr(long, int).public static final int GWL_ID
GetWindowLongPtr(long, int).public static final int SW_HIDE
ShowWindow(long, int) commands.public static final int SW_SHOWNORMAL
ShowWindow(long, int) commands.public static final int SW_NORMAL
ShowWindow(long, int) commands.public static final int SW_SHOWMINIMIZED
ShowWindow(long, int) commands.public static final int SW_SHOWMAXIMIZED
ShowWindow(long, int) commands.public static final int SW_MAXIMIZE
ShowWindow(long, int) commands.public static final int SW_SHOWNOACTIVATE
ShowWindow(long, int) commands.public static final int SW_SHOW
ShowWindow(long, int) commands.public static final int SW_MINIMIZE
ShowWindow(long, int) commands.public static final int SW_SHOWMINNOACTIVE
ShowWindow(long, int) commands.public static final int SW_SHOWNA
ShowWindow(long, int) commands.public static final int SW_RESTORE
ShowWindow(long, int) commands.public static final int SW_SHOWDEFAULT
ShowWindow(long, int) commands.public static final int SW_FORCEMINIMIZE
ShowWindow(long, int) commands.public static final int SW_MAX
ShowWindow(long, int) commands.public static final long HWND_TOP
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument.public static final long HWND_BOTTOM
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument.public static final long HWND_TOPMOST
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument.public static final long HWND_NOTOPMOST
SetWindowPos(long, long, int, int, int, int, int) insertAfter argument.public static final long HWND_BROADCAST
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.public static final int SWP_NOSIZE
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOMOVE
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOZORDER
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOREDRAW
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOACTIVATE
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_FRAMECHANGED
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_SHOWWINDOW
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_HIDEWINDOW
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOCOPYBITS
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOOWNERZORDER
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOSENDCHANGING
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_DRAWFRAME
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_NOREPOSITION
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_DEFERERASE
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int SWP_ASYNCWINDOWPOS
SetWindowPos(long, long, int, int, int, int, int) flags argument.public static final int IDI_APPLICATION
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_HAND
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_QUESTION
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_EXCLAMATION
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_ASTERISK
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_WINLOGO
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_SHIELD
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_WARNING
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_ERROR
LoadIcon(long, java.nio.ByteBuffer).public static final int IDI_INFORMATION
LoadIcon(long, java.nio.ByteBuffer).public static final int IDC_ARROW
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_IBEAM
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_WAIT
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_CROSS
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_UPARROW
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_SIZE
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_ICON
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_SIZENWSE
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_SIZENESW
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_SIZEWE
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_SIZENS
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_SIZEALL
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_NO
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_HAND
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_APPSTARTING
LoadCursor(long, java.nio.ByteBuffer).public static final int IDC_HELP
LoadCursor(long, java.nio.ByteBuffer).public static final int GCL_MENUNAME
GetClassLongPtr(long, int).public static final int GCL_HBRBACKGROUND
GetClassLongPtr(long, int).public static final int GCL_HCURSOR
GetClassLongPtr(long, int).public static final int GCL_HICON
GetClassLongPtr(long, int).public static final int GCL_HMODULE
GetClassLongPtr(long, int).public static final int GCL_CBWNDEXTRA
GetClassLongPtr(long, int).public static final int GCL_CBCLSEXTRA
GetClassLongPtr(long, int).public static final int GCL_WNDPROC
GetClassLongPtr(long, int).public static final int GCL_STYLE
GetClassLongPtr(long, int).public static final int GCW_ATOM
GetClassLongPtr(long, int).public static final int GCL_HICONSM
GetClassLongPtr(long, int).public static final int QS_KEY
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_MOUSEMOVE
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_MOUSEBUTTON
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_POSTMESSAGE
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_TIMER
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_PAINT
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_SENDMESSAGE
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_HOTKEY
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_ALLPOSTMESSAGE
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_RAWINPUT
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_MOUSE
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_INPUT
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_ALLEVENTS
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int QS_ALLINPUT
GetQueueStatus and MsgWaitForMultipleObjectspublic static final int PM_NOREMOVE
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int PM_REMOVE
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int PM_NOYIELD
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int PM_QS_INPUT
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int PM_QS_POSTMESSAGE
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int PM_QS_PAINT
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int PM_QS_SENDMESSAGE
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int).public static final int VK_LBUTTON
public static final int VK_RBUTTON
public static final int VK_CANCEL
public static final int VK_MBUTTON
public static final int VK_XBUTTON1
public static final int VK_XBUTTON2
public static final int VK_BACK
public static final int VK_TAB
public static final int VK_CLEAR
public static final int VK_RETURN
public static final int VK_SHIFT
public static final int VK_CONTROL
public static final int VK_MENU
public static final int VK_PAUSE
public static final int VK_CAPITAL
public static final int VK_KANA
public static final int VK_HANGEUL
public static final int VK_HANGUL
public static final int VK_JUNJA
public static final int VK_FINAL
public static final int VK_HANJA
public static final int VK_KANJI
public static final int VK_ESCAPE
public static final int VK_CONVERT
public static final int VK_NONCONVERT
public static final int VK_ACCEPT
public static final int VK_MODECHANGE
public static final int VK_SPACE
public static final int VK_PRIOR
public static final int VK_NEXT
public static final int VK_END
public static final int VK_HOME
public static final int VK_LEFT
public static final int VK_UP
public static final int VK_RIGHT
public static final int VK_DOWN
public static final int VK_SELECT
public static final int VK_PRINT
public static final int VK_EXECUTE
public static final int VK_SNAPSHOT
public static final int VK_INSERT
public static final int VK_DELETE
public static final int VK_HELP
public static final int VK_LWIN
public static final int VK_RWIN
public static final int VK_APPS
public static final int VK_SLEEP
public static final int VK_NUMPAD0
public static final int VK_NUMPAD1
public static final int VK_NUMPAD2
public static final int VK_NUMPAD3
public static final int VK_NUMPAD4
public static final int VK_NUMPAD5
public static final int VK_NUMPAD6
public static final int VK_NUMPAD7
public static final int VK_NUMPAD8
public static final int VK_NUMPAD9
public static final int VK_MULTIPLY
public static final int VK_ADD
public static final int VK_SEPARATOR
public static final int VK_SUBTRACT
public static final int VK_DECIMAL
public static final int VK_DIVIDE
public static final int VK_F1
public static final int VK_F2
public static final int VK_F3
public static final int VK_F4
public static final int VK_F5
public static final int VK_F6
public static final int VK_F7
public static final int VK_F8
public static final int VK_F9
public static final int VK_F10
public static final int VK_F11
public static final int VK_F12
public static final int VK_F13
public static final int VK_F14
public static final int VK_F15
public static final int VK_F16
public static final int VK_F17
public static final int VK_F18
public static final int VK_F19
public static final int VK_F20
public static final int VK_F21
public static final int VK_F22
public static final int VK_F23
public static final int VK_F24
public static final int VK_NUMLOCK
public static final int VK_SCROLL
public static final int VK_OEM_NEC_EQUAL
public static final int VK_OEM_FJ_JISHO
public static final int VK_OEM_FJ_MASSHOU
public static final int VK_OEM_FJ_TOUROKU
public static final int VK_OEM_FJ_LOYA
public static final int VK_OEM_FJ_ROYA
public static final int VK_LSHIFT
public static final int VK_RSHIFT
public static final int VK_LCONTROL
public static final int VK_RCONTROL
public static final int VK_LMENU
public static final int VK_RMENU
public static final int VK_BROWSER_BACK
public static final int VK_BROWSER_FORWARD
public static final int VK_BROWSER_REFRESH
public static final int VK_BROWSER_STOP
public static final int VK_BROWSER_SEARCH
public static final int VK_BROWSER_FAVORITES
public static final int VK_BROWSER_HOME
public static final int VK_VOLUME_MUTE
public static final int VK_VOLUME_DOWN
public static final int VK_VOLUME_UP
public static final int VK_MEDIA_NEXT_TRACK
public static final int VK_MEDIA_PREV_TRACK
public static final int VK_MEDIA_STOP
public static final int VK_MEDIA_PLAY_PAUSE
public static final int VK_LAUNCH_MAIL
public static final int VK_LAUNCH_MEDIA_SELECT
public static final int VK_LAUNCH_APP1
public static final int VK_LAUNCH_APP2
public static final int VK_OEM_1
public static final int VK_OEM_PLUS
public static final int VK_OEM_COMMA
public static final int VK_OEM_MINUS
public static final int VK_OEM_PERIOD
public static final int VK_OEM_2
public static final int VK_OEM_3
public static final int VK_OEM_4
public static final int VK_OEM_5
public static final int VK_OEM_6
public static final int VK_OEM_7
public static final int VK_OEM_8
public static final int VK_OEM_AX
public static final int VK_OEM_102
public static final int VK_ICO_HELP
public static final int VK_ICO_00
public static final int VK_PROCESSKEY
public static final int VK_ICO_CLEAR
public static final int VK_PACKET
public static final int VK_OEM_RESET
public static final int VK_OEM_JUMP
public static final int VK_OEM_PA1
public static final int VK_OEM_PA2
public static final int VK_OEM_PA3
public static final int VK_OEM_WSCTRL
public static final int VK_OEM_CUSEL
public static final int VK_OEM_ATTN
public static final int VK_OEM_FINISH
public static final int VK_OEM_COPY
public static final int VK_OEM_AUTO
public static final int VK_OEM_ENLW
public static final int VK_OEM_BACKTAB
public static final int VK_ATTN
public static final int VK_CRSEL
public static final int VK_EXSEL
public static final int VK_EREOF
public static final int VK_PLAY
public static final int VK_ZOOM
public static final int VK_NONAME
public static final int VK_PA1
public static final int VK_OEM_CLEAR
public static final int XBUTTON1
public static final int XBUTTON2
public static final int WHEEL_DELTA
public static final int DPI_AWARENESS_INVALID
DPI_AWARENESS)
DPI_AWARENESS_INVALID -
Invalid DPI awareness.
This is an invalid DPI awareness value.
DPI_AWARENESS_UNAWARE -
DPI unaware.
This process does not scale for DPI changes and is always assumed to have a scale factor of 100% (96 DPI). It will be automatically scaled by the system on any other DPI setting.
DPI_AWARENESS_SYSTEM_AWARE -
System DPI aware.
This process does not scale for DPI changes. It will query for the DPI once and use that value for the lifetime of the process. If the DPI changes, the process will not adjust to the new DPI value. It will be automatically scaled up or down by the system when the DPI changes from the system value.
DPI_AWARENESS_PER_MONITOR_AWARE -
Per monitor DPI aware.
This process checks for the DPI when it is created and adjusts the scale factor whenever the DPI changes. These processes are not automatically scaled by the system.
public static final int DPI_AWARENESS_UNAWARE
DPI_AWARENESS)
DPI_AWARENESS_INVALID -
Invalid DPI awareness.
This is an invalid DPI awareness value.
DPI_AWARENESS_UNAWARE -
DPI unaware.
This process does not scale for DPI changes and is always assumed to have a scale factor of 100% (96 DPI). It will be automatically scaled by the system on any other DPI setting.
DPI_AWARENESS_SYSTEM_AWARE -
System DPI aware.
This process does not scale for DPI changes. It will query for the DPI once and use that value for the lifetime of the process. If the DPI changes, the process will not adjust to the new DPI value. It will be automatically scaled up or down by the system when the DPI changes from the system value.
DPI_AWARENESS_PER_MONITOR_AWARE -
Per monitor DPI aware.
This process checks for the DPI when it is created and adjusts the scale factor whenever the DPI changes. These processes are not automatically scaled by the system.
public static final int DPI_AWARENESS_SYSTEM_AWARE
DPI_AWARENESS)
DPI_AWARENESS_INVALID -
Invalid DPI awareness.
This is an invalid DPI awareness value.
DPI_AWARENESS_UNAWARE -
DPI unaware.
This process does not scale for DPI changes and is always assumed to have a scale factor of 100% (96 DPI). It will be automatically scaled by the system on any other DPI setting.
DPI_AWARENESS_SYSTEM_AWARE -
System DPI aware.
This process does not scale for DPI changes. It will query for the DPI once and use that value for the lifetime of the process. If the DPI changes, the process will not adjust to the new DPI value. It will be automatically scaled up or down by the system when the DPI changes from the system value.
DPI_AWARENESS_PER_MONITOR_AWARE -
Per monitor DPI aware.
This process checks for the DPI when it is created and adjusts the scale factor whenever the DPI changes. These processes are not automatically scaled by the system.
public static final int DPI_AWARENESS_PER_MONITOR_AWARE
DPI_AWARENESS)
DPI_AWARENESS_INVALID -
Invalid DPI awareness.
This is an invalid DPI awareness value.
DPI_AWARENESS_UNAWARE -
DPI unaware.
This process does not scale for DPI changes and is always assumed to have a scale factor of 100% (96 DPI). It will be automatically scaled by the system on any other DPI setting.
DPI_AWARENESS_SYSTEM_AWARE -
System DPI aware.
This process does not scale for DPI changes. It will query for the DPI once and use that value for the lifetime of the process. If the DPI changes, the process will not adjust to the new DPI value. It will be automatically scaled up or down by the system when the DPI changes from the system value.
DPI_AWARENESS_PER_MONITOR_AWARE -
Per monitor DPI aware.
This process checks for the DPI when it is created and adjusts the scale factor whenever the DPI changes. These processes are not automatically scaled by the system.
public static final long DPI_AWARENESS_CONTEXT_UNAWARE
This window does not scale for DPI changes and is always assumed to have a scale factor of 100% (96 DPI). It will be automatically scaled by the system on any other DPI setting.
public static final long DPI_AWARENESS_CONTEXT_SYSTEM_AWARE
This window does not scale for DPI changes. It will query for the DPI once and use that value for the lifetime of the process. If the DPI changes, the process will not adjust to the new DPI value. It will be automatically scaled up or down by the system when the DPI changes from the system value.
public static final long DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE
This window checks for the DPI when it is created and adjusts the scale factor whenever the DPI changes. These processes are not automatically scaled by the system.
public static final long DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
An advancement over the original per-monitor DPI awareness mode, which enables applications to access new DPI-related scaling behaviors on a per top-level window basis.
Per Monitor v2 was made available in the Creators Update of Windows 10, and is not available on earlier versions of the operating system.
The additional behaviors introduced are as follows:
EnableNonClientDpiScaling are unnecessary.NTUSER menus created in Per Monitor v2 contexts will be scaling in a per-monitor fashion.comctl32 controls - Various comctl32 controls have improved DPI scaling behavior in Per Monitor v2 contexts.UxTheme handles opened in the context of a Per Monitor v2 window will operate in terms of the DPI associated
with that window.public static final int WPF_SETMINPOSITION
WINDOWPLACEMENT flags.public static final int WPF_RESTORETOMAXIMIZED
WINDOWPLACEMENT flags.public static final int WPF_ASYNCWINDOWPLACEMENT
WINDOWPLACEMENT flags.public static final int LWA_COLORKEY
SetLayeredWindowAttributes(long, int, byte, int).public static final int LWA_ALPHA
SetLayeredWindowAttributes(long, int, byte, int).public static final int SM_CXSCREEN
GetSystemMetrics(int) codes.public static final int SM_CYSCREEN
GetSystemMetrics(int) codes.public static final int SM_CXVSCROLL
GetSystemMetrics(int) codes.public static final int SM_CYHSCROLL
GetSystemMetrics(int) codes.public static final int SM_CYCAPTION
GetSystemMetrics(int) codes.public static final int SM_CXBORDER
GetSystemMetrics(int) codes.public static final int SM_CYBORDER
GetSystemMetrics(int) codes.public static final int SM_CXDLGFRAME
GetSystemMetrics(int) codes.public static final int SM_CYDLGFRAME
GetSystemMetrics(int) codes.public static final int SM_CYVTHUMB
GetSystemMetrics(int) codes.public static final int SM_CXHTHUMB
GetSystemMetrics(int) codes.public static final int SM_CXICON
GetSystemMetrics(int) codes.public static final int SM_CYICON
GetSystemMetrics(int) codes.public static final int SM_CXCURSOR
GetSystemMetrics(int) codes.public static final int SM_CYCURSOR
GetSystemMetrics(int) codes.public static final int SM_CYMENU
GetSystemMetrics(int) codes.public static final int SM_CXFULLSCREEN
GetSystemMetrics(int) codes.public static final int SM_CYFULLSCREEN
GetSystemMetrics(int) codes.public static final int SM_CYKANJIWINDOW
GetSystemMetrics(int) codes.public static final int SM_MOUSEPRESENT
GetSystemMetrics(int) codes.public static final int SM_CYVSCROLL
GetSystemMetrics(int) codes.public static final int SM_CXHSCROLL
GetSystemMetrics(int) codes.public static final int SM_DEBUG
GetSystemMetrics(int) codes.public static final int SM_SWAPBUTTON
GetSystemMetrics(int) codes.public static final int SM_RESERVED1
GetSystemMetrics(int) codes.public static final int SM_RESERVED2
GetSystemMetrics(int) codes.public static final int SM_RESERVED3
GetSystemMetrics(int) codes.public static final int SM_RESERVED4
GetSystemMetrics(int) codes.public static final int SM_CXMIN
GetSystemMetrics(int) codes.public static final int SM_CYMIN
GetSystemMetrics(int) codes.public static final int SM_CXSIZE
GetSystemMetrics(int) codes.public static final int SM_CYSIZE
GetSystemMetrics(int) codes.public static final int SM_CXFRAME
GetSystemMetrics(int) codes.public static final int SM_CYFRAME
GetSystemMetrics(int) codes.public static final int SM_CXMINTRACK
GetSystemMetrics(int) codes.public static final int SM_CYMINTRACK
GetSystemMetrics(int) codes.public static final int SM_CXDOUBLECLK
GetSystemMetrics(int) codes.public static final int SM_CYDOUBLECLK
GetSystemMetrics(int) codes.public static final int SM_CXICONSPACING
GetSystemMetrics(int) codes.public static final int SM_CYICONSPACING
GetSystemMetrics(int) codes.public static final int SM_MENUDROPALIGNMENT
GetSystemMetrics(int) codes.public static final int SM_PENWINDOWS
GetSystemMetrics(int) codes.public static final int SM_DBCSENABLED
GetSystemMetrics(int) codes.public static final int SM_CMOUSEBUTTONS
GetSystemMetrics(int) codes.public static final int SM_CXFIXEDFRAME
GetSystemMetrics(int) codes.public static final int SM_CYFIXEDFRAME
GetSystemMetrics(int) codes.public static final int SM_CXSIZEFRAME
GetSystemMetrics(int) codes.public static final int SM_CYSIZEFRAME
GetSystemMetrics(int) codes.public static final int SM_SECURE
GetSystemMetrics(int) codes.public static final int SM_CXEDGE
GetSystemMetrics(int) codes.public static final int SM_CYEDGE
GetSystemMetrics(int) codes.public static final int SM_CXMINSPACING
GetSystemMetrics(int) codes.public static final int SM_CYMINSPACING
GetSystemMetrics(int) codes.public static final int SM_CXSMICON
GetSystemMetrics(int) codes.public static final int SM_CYSMICON
GetSystemMetrics(int) codes.public static final int SM_CYSMCAPTION
GetSystemMetrics(int) codes.public static final int SM_CXSMSIZE
GetSystemMetrics(int) codes.public static final int SM_CYSMSIZE
GetSystemMetrics(int) codes.public static final int SM_CXMENUSIZE
GetSystemMetrics(int) codes.public static final int SM_CYMENUSIZE
GetSystemMetrics(int) codes.public static final int SM_ARRANGE
GetSystemMetrics(int) codes.public static final int SM_CXMINIMIZED
GetSystemMetrics(int) codes.public static final int SM_CYMINIMIZED
GetSystemMetrics(int) codes.public static final int SM_CXMAXTRACK
GetSystemMetrics(int) codes.public static final int SM_CYMAXTRACK
GetSystemMetrics(int) codes.public static final int SM_CXMAXIMIZED
GetSystemMetrics(int) codes.public static final int SM_CYMAXIMIZED
GetSystemMetrics(int) codes.public static final int SM_NETWORK
GetSystemMetrics(int) codes.public static final int SM_CLEANBOOT
GetSystemMetrics(int) codes.public static final int SM_CXDRAG
GetSystemMetrics(int) codes.public static final int SM_CYDRAG
GetSystemMetrics(int) codes.public static final int SM_SHOWSOUNDS
GetSystemMetrics(int) codes.public static final int SM_CXMENUCHECK
GetSystemMetrics(int) codes.public static final int SM_CYMENUCHECK
GetSystemMetrics(int) codes.public static final int SM_SLOWMACHINE
GetSystemMetrics(int) codes.public static final int SM_MIDEASTENABLED
GetSystemMetrics(int) codes.public static final int SM_MOUSEWHEELPRESENT
GetSystemMetrics(int) codes.public static final int SM_XVIRTUALSCREEN
GetSystemMetrics(int) codes.public static final int SM_YVIRTUALSCREEN
GetSystemMetrics(int) codes.public static final int SM_CXVIRTUALSCREEN
GetSystemMetrics(int) codes.public static final int SM_CYVIRTUALSCREEN
GetSystemMetrics(int) codes.public static final int SM_CMONITORS
GetSystemMetrics(int) codes.public static final int SM_SAMEDISPLAYFORMAT
GetSystemMetrics(int) codes.public static final int SM_IMMENABLED
GetSystemMetrics(int) codes.public static final int SM_REMOTESESSION
GetSystemMetrics(int) codes.public static final int SM_SHUTTINGDOWN
GetSystemMetrics(int) codes.public static final int SM_REMOTECONTROL
GetSystemMetrics(int) codes.public static final int SM_CARETBLINKINGENABLED
GetSystemMetrics(int) codes.public static final int SM_CXFOCUSBORDER
GetSystemMetrics(int) codes.public static final int SM_CYFOCUSBORDER
GetSystemMetrics(int) codes.public static final int SM_TABLETPC
GetSystemMetrics(int) codes.public static final int SM_MEDIACENTER
GetSystemMetrics(int) codes.public static final int SM_STARTER
GetSystemMetrics(int) codes.public static final int SM_SERVERR2
GetSystemMetrics(int) codes.public static final int SM_MOUSEHORIZONTALWHEELPRESENT
GetSystemMetrics(int) codes.public static final int SM_CXPADDEDBORDER
GetSystemMetrics(int) codes.public static final int SM_DIGITIZER
GetSystemMetrics(int) codes.public static final int SM_MAXIMUMTOUCHES
GetSystemMetrics(int) codes.public static final int TWF_FINETOUCH
public static final int TWF_WANTPALM
public static final int TOUCHEVENTF_MOVE
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_DOWN
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_UP
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_INRANGE
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_PRIMARY
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_NOCOALESCE
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_PEN
TOUCHINPUT.dwFlags()).public static final int TOUCHEVENTF_PALM
TOUCHINPUT.dwFlags()).public static final int TOUCHINPUTMASKF_TIMEFROMSYSTEM
TOUCHINPUT.dwMask()).public static final int TOUCHINPUTMASKF_EXTRAINFO
TOUCHINPUT.dwMask()).public static final int TOUCHINPUTMASKF_CONTACTAREA
TOUCHINPUT.dwMask()).public static final int MONITOR_DEFAULTTONULL
MonitorFromWindow(long, int) flags.public static final int MONITOR_DEFAULTTOPRIMARY
MonitorFromWindow(long, int) flags.public static final int MONITOR_DEFAULTTONEAREST
MonitorFromWindow(long, int) flags.public static final int MONITORINFOF_PRIMARY
MONITORINFOEX flags.public static final int EDD_GET_DEVICE_INTERFACE_NAME
EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int).public static final int ENUM_CURRENT_SETTINGS
public static final int ENUM_REGISTRY_SETTINGS
public static final int EDS_RAWMODE
public static final int EDS_ROTATEDMODE
public static final int CDS_UPDATEREGISTRY
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_TEST
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_FULLSCREEN
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_GLOBAL
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_SET_PRIMARY
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_VIDEOPARAMETERS
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_ENABLE_UNSAFE_MODES
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_DISABLE_UNSAFE_MODES
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_RESET
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_RESET_EX
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int CDS_NORESET
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_SUCCESSFUL
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_RESTART
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_FAILED
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_BADMODE
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_NOTUPDATED
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_BADFLAGS
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_BADPARAM
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int DISP_CHANGE_BADDUALVIEW
ChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long).public static final int INPUT_MOUSE
public static final int INPUT_KEYBOARD
public static final int INPUT_HARDWARE
public static final int MOUSEEVENTF_ABSOLUTE
MOUSEINPUT flags.public static final int MOUSEEVENTF_HWHEEL
MOUSEINPUT flags.public static final int MOUSEEVENTF_MOVE
MOUSEINPUT flags.public static final int MOUSEEVENTF_MOVE_NOCOALESCE
MOUSEINPUT flags.public static final int MOUSEEVENTF_LEFTDOWN
MOUSEINPUT flags.public static final int MOUSEEVENTF_LEFTUP
MOUSEINPUT flags.public static final int MOUSEEVENTF_RIGHTDOWN
MOUSEINPUT flags.public static final int MOUSEEVENTF_RIGHTUP
MOUSEINPUT flags.public static final int MOUSEEVENTF_MIDDLEDOWN
MOUSEINPUT flags.public static final int MOUSEEVENTF_MIDDLEUP
MOUSEINPUT flags.public static final int MOUSEEVENTF_VIRTUALDESK
MOUSEINPUT flags.public static final int MOUSEEVENTF_WHEEL
MOUSEINPUT flags.public static final int MOUSEEVENTF_XDOWN
MOUSEINPUT flags.public static final int MOUSEEVENTF_XUP
MOUSEINPUT flags.public static final int KEYEVENTF_EXTENDEDKEY
KEYBDINPUT flags.public static final int KEYEVENTF_KEYUP
KEYBDINPUT flags.public static final int KEYEVENTF_SCANCODE
KEYBDINPUT flags.public static final int KEYEVENTF_UNICODE
KEYBDINPUT flags.public static org.lwjgl.system.SharedLibrary getLibrary()
SharedLibrary.public static short nRegisterClassEx(long lpwcx,
long __functionAddress)
RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)public static short nRegisterClassEx(long lpwcx)
RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)public static short RegisterClassEx(WNDCLASSEX lpwcx)
CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long) function.lpwcx - a WNDCLASSEX structure. You must fill the structure with the appropriate class attributes before passing it to the function.public static int nUnregisterClass(long lpClassName,
long hInstance,
long __functionAddress)
UnregisterClass(java.nio.ByteBuffer, long)public static int nUnregisterClass(long lpClassName,
long hInstance)
UnregisterClass(java.nio.ByteBuffer, long)public static boolean UnregisterClass(java.nio.ByteBuffer lpClassName,
long hInstance)
lpClassName - a null-terminated string or a class atom. If lpClassName is a string, it specifies the window class name. This class name must have been
registered by a previous call to the 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 the RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX) function. The atom must be in the low-order
word of lpClassName; the high-order word must be zero.hInstance - a handle to the instance of the module that created the classpublic static boolean UnregisterClass(java.lang.CharSequence lpClassName,
long hInstance)
lpClassName - a null-terminated string or a class atom. If lpClassName is a string, it specifies the window class name. This class name must have been
registered by a previous call to the 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 the RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX) function. The atom must be in the low-order
word of lpClassName; the high-order word must be zero.hInstance - a handle to the instance of the module that created the classpublic static long nCreateWindowEx(int dwExStyle,
long lpClassName,
long lpWindowName,
int dwStyle,
int x,
int y,
int nWidth,
int nHeight,
long hWndParent,
long hMenu,
long hInstance,
long lpParam,
long __functionAddress)
public static long nCreateWindowEx(int dwExStyle,
long lpClassName,
long lpWindowName,
int dwStyle,
int x,
int y,
int nWidth,
int nHeight,
long hWndParent,
long hMenu,
long hInstance,
long lpParam)
public static long CreateWindowEx(int dwExStyle,
@Nullable
java.nio.ByteBuffer lpClassName,
@Nullable
java.nio.ByteBuffer lpWindowName,
int dwStyle,
int x,
int y,
int nWidth,
int nHeight,
long hWndParent,
long hMenu,
long hInstance,
long lpParam)
dwExStyle - the extended window style of the window being createdlpClassName - a null-terminated string or a class atom created by a previous call to the RegisterClassEx(WNDCLASSEX) function.lpWindowName - the window name. If the window style specifies a title bar, the window title pointed to by lpWindowName 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 the CREATESTRUCT structure (createParams member) pointed to by the lParam param
of the WM_CREATE message.public static long CreateWindowEx(int dwExStyle,
@Nullable
java.lang.CharSequence lpClassName,
@Nullable
java.lang.CharSequence lpWindowName,
int dwStyle,
int x,
int y,
int nWidth,
int nHeight,
long hWndParent,
long hMenu,
long hInstance,
long lpParam)
dwExStyle - the extended window style of the window being createdlpClassName - a null-terminated string or a class atom created by a previous call to the RegisterClassEx(WNDCLASSEX) function.lpWindowName - the window name. If the window style specifies a title bar, the window title pointed to by lpWindowName 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 the CREATESTRUCT structure (createParams member) pointed to by the lParam param
of the WM_CREATE message.public static int nDestroyWindow(long hWnd,
long __functionAddress)
DestroyWindow(long)public static boolean DestroyWindow(long hWnd)
WM_DESTROY and 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.
hWnd - a handle to the window to be destroyedpublic static long DefWindowProc(long hWnd,
int Msg,
long wParam,
long lParam)
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 the Msg parameter.lParam - additional message information. The content of this parameter depends on the value of the Msg parameter.public static long nCallWindowProc(long lpPrevWndFunc,
long hWnd,
int Msg,
long wParam,
long lParam)
CallWindowProc(org.lwjgl.system.windows.WindowProcI, long, int, long, long)public static long CallWindowProc(WindowProcI lpPrevWndFunc, long hWnd, int Msg, long wParam, long lParam)
lpPrevWndFunc - the previous window procedure.
If this value is obtained by calling the GetWindowLongPtr(long, int) function with the nIndex parameter set to GWL_WNDPROC or DWL_DLGPROC,
it is actually either the address of a window or dialog box procedure, or a special internal value meaningful only to CallWindowProc.
hWnd - a handle to the window procedure to receive the messageMsg - the messagewParam - additional message information. The content of this parameter depends on the value of the Msg parameter.lParam - additional message information. The content of this parameter depends on the value of the Msg parameter.public static boolean ShowWindow(long hWnd,
int nCmdShow)
hWnd - a handle to the windownCmdShow - controls how the window is to be shown. This parameter is ignored the first time an application calls ShowWindow, if the program that
launched the application provides a STARTUPINFO structure. Otherwise, the first time ShowWindow is called, the value should be the
value obtained by the WinMain function in its nCmdShow parameter. In subsequent calls, this parameter can be one of:SW_HIDE | SW_SHOWNORMAL | SW_NORMAL | SW_SHOWMINIMIZED | SW_SHOWMAXIMIZED | SW_MAXIMIZE |
SW_SHOWNOACTIVATE | SW_SHOW | SW_MINIMIZE | SW_SHOWMINNOACTIVE | SW_SHOWNA | SW_RESTORE |
SW_SHOWDEFAULT | SW_FORCEMINIMIZE | SW_MAX |
public static boolean UpdateWindow(long hWnd)
WM_PAINT message to the window if the window's update region is not empty. The function
sends a 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.hWnd - handle to the window to be updatedpublic static int nSetWindowPos(long hWnd,
long hWndInsertAfter,
int X,
int Y,
int cx,
int cy,
int uFlags,
long __functionAddress)
SetWindowPos(long, long, int, int, int, int, int)public static boolean SetWindowPos(long hWnd,
long hWndInsertAfter,
int X,
int Y,
int cx,
int cy,
int uFlags)
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:HWND_TOP | HWND_BOTTOM | HWND_TOPMOST | 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:public static int nSetWindowText(long hWnd,
long lpString,
long __functionAddress)
SetWindowText(long, java.nio.ByteBuffer)public static int nSetWindowText(long hWnd,
long lpString)
SetWindowText(long, java.nio.ByteBuffer)public static boolean SetWindowText(long hWnd,
java.nio.ByteBuffer lpString)
SetWindowText cannot change the text of a control in another application.hWnd - a handle to the window or control whose text is to be changedlpString - the new title or control textpublic static boolean SetWindowText(long hWnd,
java.lang.CharSequence lpString)
SetWindowText cannot change the text of a control in another application.hWnd - a handle to the window or control whose text is to be changedlpString - the new title or control textpublic static int nGetMessage(long lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax,
long __functionAddress)
GetMessage(org.lwjgl.system.windows.MSG, long, int, int)public static int nGetMessage(long lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax)
GetMessage(org.lwjgl.system.windows.MSG, long, int, int)public static boolean GetMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax)
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int) function does not wait for a message to be posted before returning.lpMsg - a pointer to an MSG 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 is NULL, GetMessage retrieves messages for any window that belongs to the current thread, and any messages on the current
thread's message queue whose hwnd value is NULL (see the MSG structure). Therefore if hWnd is NULL, both window messages and
thread messages are processed.
If hWnd is -1, GetMessage retrieves only messages on the current thread's message queue whose hwnd value is NULL, that is,
thread messages as posted by PostMessage(long, int, long, long) (when the hWnd parameter is NULL) or PostThreadMessage.
wMsgFilterMin - the integer value of the lowest message value to be retrievedwMsgFilterMax - the integer value of the highest message value to be retrievedpublic static int nPeekMessage(long lpMsg,
long hWnd,
int wMsgFilterMin,
int wMsgFilterMax,
int wRemoveMsg)
PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)public static boolean PeekMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg)
lpMsg - a pointer to an MSG 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 is NULL, GetMessage retrieves messages for any window that belongs to the current thread, and any messages on the current
thread's message queue whose hwnd value is NULL (see the MSG structure). Therefore if hWnd is NULL, both window messages and
thread messages are processed.
If hWnd is -1, GetMessage retrieves only messages on the current thread's message queue whose hwnd value is NULL, that is,
thread messages as posted by PostMessage(long, int, long, long) (when the hWnd parameter is NULL) or PostThreadMessage.
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:PM_NOREMOVE | PM_REMOVE | PM_NOYIELD |
public static int nTranslateMessage(long lpMsg)
TranslateMessage(org.lwjgl.system.windows.MSG)public static boolean TranslateMessage(MSG lpMsg)
GetMessage(org.lwjgl.system.windows.MSG, long, int, int) or PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int) function.lpMsg - an MSG structure that contains message information retrieved from the calling thread's message queue by using the GetMessage(org.lwjgl.system.windows.MSG, long, int, int) or PeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function.public static int nWaitMessage(long __functionAddress)
WaitMessage()public static boolean WaitMessage()
public static long nDispatchMessage(long lpmsg)
DispatchMessage(org.lwjgl.system.windows.MSG)public static long DispatchMessage(MSG lpmsg)
GetMessage(org.lwjgl.system.windows.MSG, long, int, int) function.lpmsg - a pointer to a structure that contains the message.public static int nPostMessage(long hWnd,
int Msg,
long wParam,
long lParam,
long __functionAddress)
PostMessage(long, int, long, long)public static boolean PostMessage(long hWnd,
int Msg,
long wParam,
long lParam)
hWnd - a handle to the window whose window procedure is to receive the message. The following values have special meanings:
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 informationpublic static int nSendMessage(long hWnd,
int Msg,
long wParam,
long lParam,
long __functionAddress)
SendMessage(long, int, long, long)public static boolean SendMessage(long hWnd,
int Msg,
long wParam,
long lParam)
SendMessage function calls the window procedure for the specified window and does not
return until the window procedure has processed the message.hWnd - a handle to the window whose window procedure will receive the message. If this parameter is 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 informationpublic static int nAdjustWindowRectEx(long lpRect,
int dwStyle,
int bMenu,
int dwExStyle,
long __functionAddress)
AdjustWindowRectEx(org.lwjgl.system.windows.RECT, int, boolean, int)public static int nAdjustWindowRectEx(long lpRect,
int dwStyle,
int bMenu,
int dwExStyle)
AdjustWindowRectEx(org.lwjgl.system.windows.RECT, int, boolean, int)public static boolean AdjustWindowRectEx(RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle)
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.lpRect - a pointer to a RECT 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 the WS_OVERLAPPED style.bMenu - indicates whether the window has a menudwExStyle - the extended window style of the window whose required size is to be calculatedpublic static int nGetWindowRect(long hWnd,
long lpRect,
long __functionAddress)
GetWindowRect(long, org.lwjgl.system.windows.RECT)public static int nGetWindowRect(long hWnd,
long lpRect)
GetWindowRect(long, org.lwjgl.system.windows.RECT)public static boolean GetWindowRect(long hWnd,
RECT lpRect)
hWnd - a handle to the windowlpRect - a pointer to a RECT structure that receives the screen coordinates of the upper-left and lower-right corners of the windowpublic static int nMoveWindow(long hWnd,
int X,
int Y,
int nWidth,
int nHeight,
int bRepaint,
long __functionAddress)
MoveWindow(long, int, int, int, int, boolean)public static boolean MoveWindow(long hWnd,
int X,
int Y,
int nWidth,
int nHeight,
boolean bRepaint)
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.public static int nGetWindowPlacement(long hWnd,
long lpwndpl,
long __functionAddress)
GetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)public static int nGetWindowPlacement(long hWnd,
long lpwndpl)
GetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)public static boolean GetWindowPlacement(long hWnd,
WINDOWPLACEMENT lpwndpl)
hWnd - a handle to the windowlpwndpl - a pointer to the WINDOWPLACEMENT structure that receives the show state and position information.
Before calling GetWindowPlacement, set the length member to WINDOWPLACEMENT.SIZEOF. GetWindowPlacement fails if
lpwndpl->length is not set correctly.
public static int nSetWindowPlacement(long hWnd,
long lpwndpl,
long __functionAddress)
SetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)public static int nSetWindowPlacement(long hWnd,
long lpwndpl)
SetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)public static boolean SetWindowPlacement(long hWnd,
WINDOWPLACEMENT lpwndpl)
hWnd - a handle to the windowlpwndpl - a pointer to the WINDOWPLACEMENT structure that specifies the new show state and window positions.
Before calling SetWindowPlacement, set the length member of the WINDOWPLACEMENT structure to WINDOWPLACEMENT.SIZEOF.
SetWindowPlacement fails if the length member is not set correctly.
public static boolean IsWindowVisible(long hWnd)
hWnd - a handle to the window to be testedpublic static boolean IsIconic(long hWnd)
hWnd - a handle to the window to be testedpublic static boolean IsZoomed(long hWnd)
hWnd - a handle to the window to be testedpublic static boolean BringWindowToTop(long hWnd)
hWnd - a handle to the window to bring to the top of the Z orderpublic static long nSetWindowLongPtr(long hWnd,
int nIndex,
long dwNewLong,
long __functionAddress)
SetWindowLongPtr(long, int, long)public static long SetWindowLongPtr(long hWnd,
int nIndex,
long dwNewLong)
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:GWL_WNDPROC | GWL_HINSTANCE | GWL_HWNDPARENT | GWL_STYLE | GWL_EXSTYLE | GWL_USERDATA | GWL_ID |
dwNewLong - the replacement valueindexpublic static long nGetWindowLongPtr(long hWnd,
int nIndex,
long __functionAddress)
GetWindowLongPtr(long, int)public static long GetWindowLongPtr(long hWnd,
int nIndex)
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:GWL_WNDPROC | GWL_HINSTANCE | GWL_HWNDPARENT | GWL_STYLE | GWL_EXSTYLE | GWL_USERDATA | GWL_ID |
public static long nSetClassLongPtr(long hWnd,
int nIndex,
long dwNewLong,
long __functionAddress)
SetClassLongPtr(long, int, long)public static long SetClassLongPtr(long hWnd,
int nIndex,
long dwNewLong)
WNDCLASSEX structure for the class to which the specified
window belongs.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 the WNDCLASSEX structure, specify one of:GCL_MENUNAME | GCL_HBRBACKGROUND | GCL_HCURSOR | GCL_HICON | GCL_HMODULE | GCL_CBWNDEXTRA |
GCL_CBCLSEXTRA | GCL_WNDPROC | GCL_STYLE | GCW_ATOM | GCL_HICONSM |
dwNewLong - the replacement valueIf the function fails, the return value is zero. To get extended error information, call WinBase.getLastError().
public static long nGetClassLongPtr(long hWnd,
int nIndex,
long __functionAddress)
GetClassLongPtr(long, int)public static long GetClassLongPtr(long hWnd,
int nIndex)
WNDCLASSEX structure associated with the specified window.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 the WNDCLASSEX
structure, specify one of:GCL_MENUNAME | GCL_HBRBACKGROUND | GCL_HCURSOR | GCL_HICON | GCL_HMODULE | GCL_CBWNDEXTRA |
GCL_CBCLSEXTRA | GCL_WNDPROC | GCL_STYLE | GCW_ATOM | GCL_HICONSM |
public static int nSetLayeredWindowAttributes(long hwnd,
int crKey,
byte bAlpha,
int dwFlags,
long __functionAddress)
SetLayeredWindowAttributes(long, int, byte, int)public static boolean SetLayeredWindowAttributes(long hwnd,
int crKey,
byte bAlpha,
int dwFlags)
hwnd - a handle to the layered window. A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function or by setting WS_EX_LAYERED via 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. When bAlpha is 0, the window is completely transparent. When
bAlpha is 255, the window is opaque.dwFlags - an action to be taken. One or more of:LWA_COLORKEY | LWA_ALPHA |
public static long nLoadIcon(long instance,
long iconName,
long __functionAddress)
LoadIcon(long, java.nio.ByteBuffer)public static long nLoadIcon(long instance,
long iconName)
LoadIcon(long, java.nio.ByteBuffer)public static long LoadIcon(long instance,
java.nio.ByteBuffer iconName)
instance - a handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must be NULL when a standard icon is
being loaded.iconName - the name of the icon resource to be loaded or one of:IDI_APPLICATION | IDI_HAND | IDI_QUESTION | IDI_EXCLAMATION | IDI_ASTERISK | IDI_WINLOGO |
IDI_SHIELD | IDI_WARNING | IDI_ERROR | IDI_INFORMATION |
public static long LoadIcon(long instance,
java.lang.CharSequence iconName)
instance - a handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must be NULL when a standard icon is
being loaded.iconName - the name of the icon resource to be loaded or one of:IDI_APPLICATION | IDI_HAND | IDI_QUESTION | IDI_EXCLAMATION | IDI_ASTERISK | IDI_WINLOGO |
IDI_SHIELD | IDI_WARNING | IDI_ERROR | IDI_INFORMATION |
public static long nLoadCursor(long instance,
long cursorName,
long __functionAddress)
LoadCursor(long, java.nio.ByteBuffer)public static long nLoadCursor(long instance,
long cursorName)
LoadCursor(long, java.nio.ByteBuffer)public static long LoadCursor(long instance,
java.nio.ByteBuffer cursorName)
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:IDC_ARROW | IDC_IBEAM | IDC_WAIT | IDC_CROSS | IDC_UPARROW | IDC_SIZE | IDC_ICON | IDC_SIZENWSE |
IDC_SIZENESW | IDC_SIZEWE | IDC_SIZENS | IDC_SIZEALL | IDC_NO | IDC_HAND | IDC_APPSTARTING | IDC_HELP |
public static long LoadCursor(long instance,
java.lang.CharSequence cursorName)
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:IDC_ARROW | IDC_IBEAM | IDC_WAIT | IDC_CROSS | IDC_UPARROW | IDC_SIZE | IDC_ICON | IDC_SIZENWSE |
IDC_SIZENESW | IDC_SIZEWE | IDC_SIZENS | IDC_SIZEALL | IDC_NO | IDC_HAND | IDC_APPSTARTING | IDC_HELP |
public static long GetDC(long hWnd)
hWnd - a handle to the window whose DC is to be retrieved. If this value is NULL, GetDC retrieves the DC for the entire screen.public static boolean ReleaseDC(long hWnd,
long hDC)
hWnd - a handle to the window whose DC is to be releasedhDC - a handle to the DC to be releasedpublic static int GetSystemMetrics(int index)
index - the system metric or configuration setting to be retrieved. One of:public static int nRegisterTouchWindow(long hWnd,
int ulFlags,
long __functionAddress)
RegisterTouchWindow(long, int)public static boolean RegisterTouchWindow(long hWnd,
int ulFlags)
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 call RegisterTouchWindow 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 the UnregisterTouchWindow(long) function.
hWnd - the handle of the window being registered. The function fails with ERROR_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:TWF_FINETOUCH | TWF_WANTPALM |
public static int nUnregisterTouchWindow(long hWnd,
long __functionAddress)
UnregisterTouchWindow(long)public static boolean UnregisterTouchWindow(long hWnd)
hWnd - the handle of the window. The function fails with ERROR_ACCESS_DENIED if the calling thread does not own the specified window.public static int nIsTouchWindow(long hWnd,
long pulFlags)
IsTouchWindow(long, java.nio.IntBuffer)public static boolean IsTouchWindow(long hWnd,
@Nullable
java.nio.IntBuffer pulFlags)
hWnd - the handle of the window. The function fails with ERROR_ACCESS_DENIED if the calling thread is not on the same desktop as the specified
window.pulFlags - an optional address of the ULONG variable to receive the modifier flags for the specified window's touch capability.public static int nGetTouchInputInfo(long hTouchInput,
int cInputs,
long pInputs,
int cbSize,
long __functionAddress)
GetTouchInputInfo(long, org.lwjgl.system.windows.TOUCHINPUT.Buffer, int)cInputs - The number of structures in the pInputs array. This should ideally be at least equal to the number of touch points associated with the
message as indicated in the message WPARAM. If cInputs is less than the number of touch points, the function will still succeed and
populate the pInputs buffer with information about cInputs touch points.public static int nGetTouchInputInfo(long hTouchInput,
int cInputs,
long pInputs,
int cbSize)
GetTouchInputInfo(long, org.lwjgl.system.windows.TOUCHINPUT.Buffer, int)cInputs - The number of structures in the pInputs array. This should ideally be at least equal to the number of touch points associated with the
message as indicated in the message WPARAM. If cInputs is less than the number of touch points, the function will still succeed and
populate the pInputs buffer with information about cInputs touch points.public static boolean GetTouchInputInfo(long hTouchInput,
TOUCHINPUT.Buffer pInputs,
int cbSize)
hTouchInput - the touch input handle received in the LPARAM of a touch message. The function fails with ERROR_INVALID_HANDLE if this handle is
not valid. Note that the handle is not valid after it has been used in a successful call to CloseTouchInputHandle(long) or after it has been passed to
DefWindowProc(long, int, long, long), PostMessage(long, int, long, long), SendMessage(long, int, long, long) or one of their variants.pInputs - a pointer to an array of TOUCHINPUT structures to receive information about the touch points associated with the specified touch input handlecbSize - the size, in bytes, of a single TOUCHINPUT structure. If cbSize is not the size of a single TOUCHINPUT structure, the function
fails with ERROR_INVALID_PARAMETER.public static int nCloseTouchInputHandle(long hTouchInput,
long __functionAddress)
CloseTouchInputHandle(long)public static boolean CloseTouchInputHandle(long hTouchInput)
hTouchInput - the touch input handle received in the LPARAM of a touch message. The function fails with ERROR_INVALID_HANDLE if this handle is
not valid. Note that the handle is not valid after it has been used in a successful call to CloseTouchInputHandle(long) or after it has been passed to
DefWindowProc(long, int, long, long), PostMessage(long, int, long, long), SendMessage(long, int, long, long) or one of their variants.public static long MonitorFromWindow(long hWnd,
int dwFlags)
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:MONITOR_DEFAULTTONULL | MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST |
public static int nGetMonitorInfo(long hMonitor,
long lpmi)
GetMonitorInfo(long, org.lwjgl.system.windows.MONITORINFOEX)public static boolean GetMonitorInfo(long hMonitor,
MONITORINFOEX lpmi)
hMonitor - a handle to the display monitor of interestlpmi - a pointer to a MONITORINFOEX structure that receives information about the specified display monitor.
You must set the cbSize member of the structure to MONITORINFOEX.SIZEOF before calling the GetMonitorInfo function. Doing so lets
the function determine the type of structure you are passing to it.
public static int nEnumDisplayDevices(long lpDevice,
int iDevNum,
long lpDisplayDevice,
int dwFlags)
public static boolean EnumDisplayDevices(@Nullable
java.nio.ByteBuffer lpDevice,
int iDevNum,
DISPLAY_DEVICE lpDisplayDevice,
int dwFlags)
lpDevice - the device name. If NULL, function returns information for the display adapter(s) on the machine, based on devNum.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 a DISPLAY_DEVICE structure that receives information about the display device specified by iDevNum.
Before calling EnumDisplayDevices, you must initialize the cb member of DISPLAY_DEVICE to the size, in bytes, of
DISPLAY_DEVICE.
dwFlags - set this flag to EDD_GET_DEVICE_INTERFACE_NAME to retrieve the device interface name for GUID_DEVINTERFACE_MONITOR, which is registered by
the operating system on a per monitor basis. The value is placed in the DeviceID member of the DISPLAY_DEVICE structure returned in
lpDisplayDevice. The resulting device interface name can be used with SetupAPI functions and serves as a link between GDI monitor devices
and SetupAPI monitor devices.public static boolean EnumDisplayDevices(@Nullable
java.lang.CharSequence lpDevice,
int iDevNum,
DISPLAY_DEVICE lpDisplayDevice,
int dwFlags)
lpDevice - the device name. If NULL, function returns information for the display adapter(s) on the machine, based on devNum.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 a DISPLAY_DEVICE structure that receives information about the display device specified by iDevNum.
Before calling EnumDisplayDevices, you must initialize the cb member of DISPLAY_DEVICE to the size, in bytes, of
DISPLAY_DEVICE.
dwFlags - set this flag to EDD_GET_DEVICE_INTERFACE_NAME to retrieve the device interface name for GUID_DEVINTERFACE_MONITOR, which is registered by
the operating system on a per monitor basis. The value is placed in the DeviceID member of the DISPLAY_DEVICE structure returned in
lpDisplayDevice. The resulting device interface name can be used with SetupAPI functions and serves as a link between GDI monitor devices
and SetupAPI monitor devices.public static int nEnumDisplaySettingsEx(long lpszDeviceName,
int iModeNum,
long lpDevMode,
int dwFlags)
public static boolean EnumDisplaySettingsEx(@Nullable
java.nio.ByteBuffer lpszDeviceName,
int iModeNum,
DEVMODE lpDevMode,
int dwFlags)
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 a DISPLAY_DEVICE.DeviceName() returned from EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int). A NULL 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: Set iModeNum to zero for the first call, and increment iModeNum by one for each
subsequent call. Continue calling the function until the return value is zero.
When you call EnumDisplaySettingsEx with iModeNum set to zero, the operating system initializes and caches information about the
display device. When you call EnumDisplaySettingsEx with iModeNum set to a nonzero value, the function returns the information that
was cached the last time the function was called with iModeNum set to zero.
This value can be a graphics mode index or one of:
ENUM_CURRENT_SETTINGS | ENUM_REGISTRY_SETTINGS |
lpDevMode - a pointer to a DEVMODE structure into which the function stores information about the specified graphics mode. Before calling
EnumDisplaySettingsEx, set the dmSize member to DEVMODE.SIZEOF, and set the dmDriverExtra member to indicate the size, in
bytes, of the additional space available to receive private driver data.
The EnumDisplaySettingsEx function will populate the dmFields member of the lpDevMode and one or more other members of the
DEVMODE structure. To determine which members were set by the call to EnumDisplaySettingsEx, inspect the dmFields bitmask.
dwFlags - this parameter can be one of:EDS_RAWMODE | EDS_ROTATEDMODE |
public static boolean EnumDisplaySettingsEx(@Nullable
java.lang.CharSequence lpszDeviceName,
int iModeNum,
DEVMODE lpDevMode,
int dwFlags)
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 a DISPLAY_DEVICE.DeviceName() returned from EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int). A NULL 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: Set iModeNum to zero for the first call, and increment iModeNum by one for each
subsequent call. Continue calling the function until the return value is zero.
When you call EnumDisplaySettingsEx with iModeNum set to zero, the operating system initializes and caches information about the
display device. When you call EnumDisplaySettingsEx with iModeNum set to a nonzero value, the function returns the information that
was cached the last time the function was called with iModeNum set to zero.
This value can be a graphics mode index or one of:
ENUM_CURRENT_SETTINGS | ENUM_REGISTRY_SETTINGS |
lpDevMode - a pointer to a DEVMODE structure into which the function stores information about the specified graphics mode. Before calling
EnumDisplaySettingsEx, set the dmSize member to DEVMODE.SIZEOF, and set the dmDriverExtra member to indicate the size, in
bytes, of the additional space available to receive private driver data.
The EnumDisplaySettingsEx function will populate the dmFields member of the lpDevMode and one or more other members of the
DEVMODE structure. To determine which members were set by the call to EnumDisplaySettingsEx, inspect the dmFields bitmask.
dwFlags - this parameter can be one of:EDS_RAWMODE | EDS_ROTATEDMODE |
public static int nChangeDisplaySettingsEx(long lpszDeviceName,
long lpDevMode,
long hwnd,
int dwflags,
long lParam)
public static int ChangeDisplaySettingsEx(@Nullable
java.nio.ByteBuffer lpszDeviceName,
@Nullable
DEVMODE lpDevMode,
long hwnd,
int dwflags,
long lParam)
lpszDeviceName - a pointer to a null-terminated string that specifies the display device whose graphics mode will change. Only display device names as returned by
EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int) are valid.
The lpszDeviceName parameter can be NULL. A NULL value specifies the default display device. The default device can be determined by
calling EnumDisplayDevices and checking for the GDI32.DISPLAY_DEVICE_PRIMARY_DEVICE flag.
lpDevMode - a pointer to a DEVMODE structure that describes the new graphics mode. If lpDevMode is NULL, all the values currently in the registry
will be used for the display setting. Passing NULL for the lpDevMode parameter and 0 for the dwFlags 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 the DEVMODE structure. The dmDriverExtra member must be
initialized to indicate the number of bytes of private driver data following the DEVMODE structure.
hwnd - reserved; must be NULLdwflags - indicates how the graphics mode should be changed. One of:CDS_UPDATEREGISTRY | CDS_TEST | CDS_FULLSCREEN | CDS_GLOBAL | CDS_SET_PRIMARY |
CDS_VIDEOPARAMETERS | CDS_ENABLE_UNSAFE_MODES | CDS_DISABLE_UNSAFE_MODES | CDS_RESET | CDS_RESET_EX |
CDS_NORESET |
lParam - if flags is CDS_VIDEOPARAMETERS, lParam is a pointer to a VIDEOPARAMETERS structure. Otherwise lParam must be NULL.DISP_CHANGE_SUCCESSFUL DISP_CHANGE_RESTART DISP_CHANGE_FAILED DISP_CHANGE_BADMODE DISP_CHANGE_NOTUPDATED DISP_CHANGE_BADFLAGS DISP_CHANGE_BADPARAM DISP_CHANGE_BADDUALVIEWpublic static int ChangeDisplaySettingsEx(@Nullable
java.lang.CharSequence lpszDeviceName,
@Nullable
DEVMODE lpDevMode,
long hwnd,
int dwflags,
long lParam)
lpszDeviceName - a pointer to a null-terminated string that specifies the display device whose graphics mode will change. Only display device names as returned by
EnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int) are valid.
The lpszDeviceName parameter can be NULL. A NULL value specifies the default display device. The default device can be determined by
calling EnumDisplayDevices and checking for the GDI32.DISPLAY_DEVICE_PRIMARY_DEVICE flag.
lpDevMode - a pointer to a DEVMODE structure that describes the new graphics mode. If lpDevMode is NULL, all the values currently in the registry
will be used for the display setting. Passing NULL for the lpDevMode parameter and 0 for the dwFlags 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 the DEVMODE structure. The dmDriverExtra member must be
initialized to indicate the number of bytes of private driver data following the DEVMODE structure.
hwnd - reserved; must be NULLdwflags - indicates how the graphics mode should be changed. One of:CDS_UPDATEREGISTRY | CDS_TEST | CDS_FULLSCREEN | CDS_GLOBAL | CDS_SET_PRIMARY |
CDS_VIDEOPARAMETERS | CDS_ENABLE_UNSAFE_MODES | CDS_DISABLE_UNSAFE_MODES | CDS_RESET | CDS_RESET_EX |
CDS_NORESET |
lParam - if flags is CDS_VIDEOPARAMETERS, lParam is a pointer to a VIDEOPARAMETERS structure. Otherwise lParam must be NULL.DISP_CHANGE_SUCCESSFUL DISP_CHANGE_RESTART DISP_CHANGE_FAILED DISP_CHANGE_BADMODE DISP_CHANGE_NOTUPDATED DISP_CHANGE_BADFLAGS DISP_CHANGE_BADPARAM DISP_CHANGE_BADDUALVIEWpublic static int nGetCursorPos(long point)
GetCursorPos(org.lwjgl.system.windows.POINT)public static boolean GetCursorPos(POINT point)
point - a pointer to a POINT structure that receives the screen coordinates of the cursorpublic static boolean SetCursorPos(int X,
int Y)
ClipCursor(org.lwjgl.system.windows.RECT)
function call, the system automatically adjusts the coordinates so that the cursor stays within the rectangle.X - the new x-coordinate of the cursor, in screen coordinates.Y - the new y-coordinate of the cursor, in screen coordinates.public static int nClipCursor(long rect)
ClipCursor(org.lwjgl.system.windows.RECT)public static boolean ClipCursor(@Nullable
RECT rect)
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.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 is NULL, the cursor is free to move anywhere on the screen.public static int ShowCursor(boolean show)
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.
show - If show is WinBase.TRUE, the display count is incremented by one. If show is WinBase.FALSE, the display count is decremented by one.public static long SetCursor(long hCursor)
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 not NULL, 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 ShowCursor(boolean)
function to hide the cursor more times than to show the cursor.
hCursor - a handle to the cursor. The cursor must have been created by the CreateCursor function or loaded by the LoadCursor(long, java.nio.ByteBuffer) or LoadImage
function. If this parameter is NULL, the cursor is removed from the screen.public static int nClientToScreen(long hWnd,
long lpPoint)
ClientToScreen(long, org.lwjgl.system.windows.POINT)public static boolean ClientToScreen(long hWnd,
POINT lpPoint)
The ClientToScreen function replaces the client-area coordinates in the POINT structure with the screen coordinates. The screen coordinates
are relative to the upper-left corner of the screen. Note, a screen-coordinate point that is above the window's client area has a negative
y-coordinate. Similarly, a screen coordinate to the left of a client area has a negative x-coordinate.
All coordinates are device coordinates.
hWnd - a handle to the window whose client area is used for the conversionlpPoint - a pointer to a POINT structure that contains the client coordinates to be converted. The new screen coordinates are copied into this
structure if the function succeeds.public static short GetAsyncKeyState(int vKey)
GetAsyncKeyState.
The GetAsyncKeyState function works with mouse buttons. However, it checks on the state of the physical mouse buttons, not on the logical mouse
buttons that the physical buttons are mapped to. For example, the call GetAsyncKeyState(VK_LBUTTON) always returns the state of the left
physical mouse button, regardless of whether it is mapped to the left or right logical mouse button. You can determine the system's current mapping of
physical mouse buttons to logical mouse buttons by calling GetSystemMetrics(SM_SWAPBUTTON) which returns WinBase.TRUE if the mouse buttons have been
swapped.
Although the least significant bit of the return value indicates whether the key has been pressed since the last query, due to the pre-emptive
multitasking nature of Windows, another application can call GetAsyncKeyState and receive the "recently pressed" bit instead of your
application. The behavior of the least significant bit of the return value is retained strictly for compatibility with 16-bit Windows applications
(which are non-preemptive) and should not be relied upon.
You can use the virtual-key code constants VK_SHIFT, VK_CONTROL, and VK_MENU as values for the vKey parameter. This gives the state of the
SHIFT, CTRL, or ALT keys without distinguishing between left and right.
vKey - the virtual-key code. You can use left- and right-distinguishing constants to specify certain keys.GetAsyncKeyState, and whether the key
is currently up or down. If the most significant bit is set, the key is down, and if the least significant bit is set, the key was pressed after the
previous call to GetAsyncKeyState. However, you should not rely on this last behavior; for more information, see the Remarks.
The return value is zero for the following cases:
public static long GetMessageExtraInfo()
Extra message information is an application- or driver-defined value associated with the current thread's message queue.
public static int nSendInput(int cInputs,
long pInputs,
int cbSize)
SendInput(org.lwjgl.system.windows.INPUT.Buffer, int)cInputs - the number of structures in the pInputs arraypublic static int SendInput(INPUT.Buffer pInputs, int cbSize)
This function is subject to UIPI. Applications are permitted to inject input only into applications that are at an equal or lesser integrity level.
The SendInput function inserts the events in the INPUT structures serially into the keyboard or mouse input stream. These events are not
interspersed with other keyboard or mouse input events inserted either by the user (with the keyboard or mouse) or by calls to keybd_event,
mouse_event, or other calls to SendInput.
This function does not reset the keyboard's current state. Any keys that are already pressed when the function is called might interfere with the
events that this function generates. To avoid this problem, check the keyboard's state with the GetAsyncKeyState(int) function and correct as necessary.
Because the touch keyboard uses the surrogate macros defined in winnls.h to send input to the system, a listener on the keyboard event hook
must decode input originating from the touch keyboard.
An accessibility application can use SendInput to inject keystrokes corresponding to application launch shortcut keys that are handled by the
shell. This functionality is not guaranteed to work for other types of applications.
pInputs - an array of INPUT structures. Each structure represents an event to be inserted into the keyboard or mouse input stream.cbSize - the size, in bytes, of an INPUT structure. If cbSize is not the size of an INPUT structure, the function fails.WinBase.GetLastError().
This function fails when it is blocked by UIPI. Note that neither GetLastError nor the return value will indicate the failure was caused by UIPI blocking.
public static int GetDpiForSystem()
The return value will be dependent based upon the calling context. If the current thread has a DPI_AWARENESS value of DPI_AWARENESS_UNAWARE,
the return value will be 96. That is because the current context always assumes a DPI of 96. For any other DPI_AWARENESS value, the return
value will be the actual system DPI.
You should not cache the system DPI, but should use GetDpiForSystem whenever you need the system DPI value.
public static int GetDpiForWindow(long hwnd)
hwnd - the window you want to get information aboutDPI_AWARENESS of the window. An invalid hwnd value will result in a return value of 0.public static int GetAwarenessFromDpiAwarenessContext(long value)
DPI_AWARENESS value from a DPI_AWARENESS_CONTEXT.value - the DPI_AWARENESS_CONTEXT you want to examineDPI_AWARENESS. If the provided value is null or invalid, this method will return DPI_AWARENESS_INVALID.public static long GetThreadDpiAwarenessContext()
DPI_AWARENESS_CONTEXT for the current thread.
If SetThreadDpiAwarenessContext(long) was never called for this thread, then the return value will equal the default DPI_AWARENESS_CONTEXT for the
process.
DPI_AWARENESS_CONTEXT for the thread.public static long GetWindowDpiAwarenessContext(long hwnd)
DPI_AWARENESS_CONTEXT associated with a window.hwnd - the window to queryDPI_AWARENESS_CONTEXT for the provided window. If the window is not valid, the return value is NULL.public static boolean IsValidDpiAwarenessContext(long value)
DPI_AWARENESS_CONTEXT is valid and supported by the current system.value - the context that you want to determine if it is supportedWinBase.TRUE if the provided context is supported, otherwise WinBase.FALSEpublic static long SetThreadDpiAwarenessContext(long dpiContext)
dpiContext - the DPI awareness value to setDPI_AWARENESS_CONTEXT for the thread. If the dpiContext is invalid, the thread will not be updated and the return value will be
NULL. You can use this value to restore the old DPI_AWARENESS_CONTEXT after overriding it with a predefined value.public static boolean IsTouchWindow(long hWnd,
@Nullable
int[] pulFlags)
IsTouchWindow(long, java.nio.IntBuffer)Copyright LWJGL. All Rights Reserved. License terms.