Class User32
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded from the user32SharedLibrary
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
Class stylesstatic final int
May be used inCreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
for the x, y, width, height parameters.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
WM_DEVICECHANGE
messagewParam
params.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final long
Per monitor DPI aware.static final long
Also known as Per Monitor v2.static final long
System DPI aware.static final long
DPI unaware.static final int
Identifies the dots per inch (dpi) setting for a thread, process, or window.static final int
Identifies the dots per inch (dpi) setting for a thread, process, or window.static final int
Identifies the dots per inch (dpi) setting for a thread, process, or window.static final int
Identifies the dots per inch (dpi) setting for a thread, process, or window.static final int
static final int
static final int
static final int
static final int
static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Class field offsets forGetClassLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Window field offsets forGetWindowLongPtr(long, int)
.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final int
Mouse position codes.static final long
Virtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.static final long
Virtual window handle used byPostMessage(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 final long
Virtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.static final long
Virtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.static final long
Virtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Cursor IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
Standard Icon IDs.static final int
The type of input event.static final int
The type of input event.static final int
The type of input event.static final int
KEYBDINPUT
flags.static final int
KEYBDINPUT
flags.static final int
KEYBDINPUT
flags.static final int
KEYBDINPUT
flags.static final int
Actions forSetLayeredWindowAttributes(long, int, byte, int)
.static final int
Actions forSetLayeredWindowAttributes(long, int, byte, int)
.static final int
Key state masks for mouse messages.static final int
Key state masks for mouse messages.static final int
Key state masks for mouse messages.static final int
Key state masks for mouse messages.static final int
Key state masks for mouse messages.static final int
Key state masks for mouse messages.static final int
Key state masks for mouse messages.static final int
Windows messages.static final int
MonitorFromWindow(long, int)
flags.static final int
MonitorFromWindow(long, int)
flags.static final int
MonitorFromWindow(long, int)
flags.static final int
MONITORINFOEX
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
MOUSEINPUT
flags.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Remove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
Queue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
System menu command values.static final int
WM_SIZE
messagewParam
values.static final int
WM_SIZE
messagewParam
values.static final int
WM_SIZE
messagewParam
values.static final int
WM_SIZE
messagewParam
values.static final int
WM_SIZE
messagewParam
values.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
GetSystemMetrics(int)
codes.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
ShowWindow(long, int)
commands.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Window sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input flag values (TOUCHINPUT.dwFlags()
).static final int
Touch input mask values (TOUCHINPUT.dwMask()
).static final int
Touch input mask values (TOUCHINPUT.dwMask()
).static final int
Touch input mask values (TOUCHINPUT.dwMask()
).static final int
static final int
static final int
Windows messages.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
Virtual Keys.static final int
WM_ACTIVATE
messagewParam
values.static final int
WM_ACTIVATE
messagewParam
values.static final int
WM_ACTIVATE
messagewParam
values.static final int
Value for rolling one detent.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
Windows messages.static final int
WINDOWPLACEMENT
flags.static final int
WINDOWPLACEMENT
flags.static final int
WINDOWPLACEMENT
flags.static final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Extended Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
Window Stylesstatic final int
XButton values.static final int
XButton values. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
(CharSequence 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
(ByteBuffer 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, CharSequence lpClassName, 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
CreateWindowEx
(int dwExStyle, ByteBuffer lpClassName, 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
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
(CharSequence lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags) Obtains information about the display devices in the current session.static boolean
EnumDisplayDevices
(ByteBuffer lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags) Obtains information about the display devices in the current session.static boolean
EnumDisplaySettingsEx
(CharSequence lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags) Retrieves information about one of the graphics modes for a display device.static boolean
EnumDisplaySettingsEx
(ByteBuffer 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 toGetAsyncKeyState
.static int
GetAwarenessFromDpiAwarenessContext
(long value) Retrieves theDPI_AWARENESS
value from aDPI_AWARENESS_CONTEXT
.static long
GetClassLongPtr
(long hWnd, int nIndex) Retrieves the specified value from theWNDCLASSEX
structure associated with the specified window.static boolean
GetCursorPos
(POINT point) Retrieves the position of the mouse cursor, in screen coordinates.static long
GetDC
(long hWnd) Retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen.static int
Returns the system DPI.static int
GetDpiForWindow
(long hwnd) Returns the dots per inch (dpi) value for the associated window.static SharedLibrary
Returns the user32SharedLibrary
.static boolean
GetMessage
(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax) Retrieves a message from the calling thread's message queue.static long
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
Gets theDPI_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 theDPI_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, 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 specifiedDPI_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, CharSequence cursorName) Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.static long
LoadCursor
(long instance, ByteBuffer cursorName) Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.static long
LoadIcon
(long instance, CharSequence iconName) Loads the specified icon resource from the executable (.exe) file associated with an application instance.static long
LoadIcon
(long instance, ByteBuffer 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 theCreateWindowEx(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 theWNDCLASSEX
structure for the class to which the specified window belongs.static long
SetCursor
(long hCursor) Sets the cursor shape.static boolean
SetCursorPos
(int X, int Y) Moves the cursor to the specified screen coordinates.static boolean
SetLayeredWindowAttributes
(long hwnd, int crKey, byte bAlpha, int dwFlags) static long
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, CharSequence lpString) Changes the text of the specified window's title bar (if it has one).static boolean
SetWindowText
(long hWnd, ByteBuffer 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
(CharSequence lpClassName, long hInstance) Unregisters a window class, freeing the memory required for the class.static boolean
UnregisterClass
(ByteBuffer 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 aWM_PAINT
message to the window if the window's update region is not empty.static boolean
Yields control to other threads when a thread has no other messages in its message queue.
-
Field Details
-
WS_OVERLAPPED
public static final int WS_OVERLAPPEDWindow Styles- See Also:
-
WS_POPUP
public static final int WS_POPUPWindow Styles- See Also:
-
WS_CHILD
public static final int WS_CHILDWindow Styles- See Also:
-
WS_MINIMIZE
public static final int WS_MINIMIZEWindow Styles- See Also:
-
WS_VISIBLE
public static final int WS_VISIBLEWindow Styles- See Also:
-
WS_DISABLED
public static final int WS_DISABLEDWindow Styles- See Also:
-
WS_CLIPSIBLINGS
public static final int WS_CLIPSIBLINGSWindow Styles- See Also:
-
WS_CLIPCHILDREN
public static final int WS_CLIPCHILDRENWindow Styles- See Also:
-
WS_MAXIMIZE
public static final int WS_MAXIMIZEWindow Styles- See Also:
-
WS_CAPTION
public static final int WS_CAPTIONWindow Styles- See Also:
-
WS_BORDER
public static final int WS_BORDERWindow Styles- See Also:
-
WS_DLGFRAME
public static final int WS_DLGFRAMEWindow Styles- See Also:
-
WS_VSCROLL
public static final int WS_VSCROLLWindow Styles- See Also:
-
WS_HSCROLL
public static final int WS_HSCROLLWindow Styles- See Also:
-
WS_SYSMENU
public static final int WS_SYSMENUWindow Styles- See Also:
-
WS_THICKFRAME
public static final int WS_THICKFRAMEWindow Styles- See Also:
-
WS_GROUP
public static final int WS_GROUPWindow Styles- See Also:
-
WS_TABSTOP
public static final int WS_TABSTOPWindow Styles- See Also:
-
WS_MINIMIZEBOX
public static final int WS_MINIMIZEBOXWindow Styles- See Also:
-
WS_MAXIMIZEBOX
public static final int WS_MAXIMIZEBOXWindow Styles- See Also:
-
WS_OVERLAPPEDWINDOW
public static final int WS_OVERLAPPEDWINDOWWindow Styles- See Also:
-
WS_POPUPWINDOW
public static final int WS_POPUPWINDOWWindow Styles- See Also:
-
WS_CHILDWINDOW
public static final int WS_CHILDWINDOWWindow Styles- See Also:
-
WS_TILED
public static final int WS_TILEDWindow Styles- See Also:
-
WS_ICONIC
public static final int WS_ICONICWindow Styles- See Also:
-
WS_SIZEBOX
public static final int WS_SIZEBOXWindow Styles- See Also:
-
WS_TILEDWINDOW
public static final int WS_TILEDWINDOWWindow Styles- See Also:
-
WS_EX_DLGMODALFRAME
public static final int WS_EX_DLGMODALFRAMEExtended Window Styles- See Also:
-
WS_EX_NOPARENTNOTIFY
public static final int WS_EX_NOPARENTNOTIFYExtended Window Styles- See Also:
-
WS_EX_TOPMOST
public static final int WS_EX_TOPMOSTExtended Window Styles- See Also:
-
WS_EX_ACCEPTFILES
public static final int WS_EX_ACCEPTFILESExtended Window Styles- See Also:
-
WS_EX_TRANSPARENT
public static final int WS_EX_TRANSPARENTExtended Window Styles- See Also:
-
WS_EX_MDICHILD
public static final int WS_EX_MDICHILDExtended Window Styles- See Also:
-
WS_EX_TOOLWINDOW
public static final int WS_EX_TOOLWINDOWExtended Window Styles- See Also:
-
WS_EX_WINDOWEDGE
public static final int WS_EX_WINDOWEDGEExtended Window Styles- See Also:
-
WS_EX_CLIENTEDGE
public static final int WS_EX_CLIENTEDGEExtended Window Styles- See Also:
-
WS_EX_CONTEXTHELP
public static final int WS_EX_CONTEXTHELPExtended Window Styles- See Also:
-
WS_EX_RIGHT
public static final int WS_EX_RIGHTExtended Window Styles- See Also:
-
WS_EX_LEFT
public static final int WS_EX_LEFTExtended Window Styles- See Also:
-
WS_EX_RTLREADING
public static final int WS_EX_RTLREADINGExtended Window Styles- See Also:
-
WS_EX_LTRREADING
public static final int WS_EX_LTRREADINGExtended Window Styles- See Also:
-
WS_EX_LEFTSCROLLBAR
public static final int WS_EX_LEFTSCROLLBARExtended Window Styles- See Also:
-
WS_EX_RIGHTSCROLLBAR
public static final int WS_EX_RIGHTSCROLLBARExtended Window Styles- See Also:
-
WS_EX_CONTROLPARENT
public static final int WS_EX_CONTROLPARENTExtended Window Styles- See Also:
-
WS_EX_STATICEDGE
public static final int WS_EX_STATICEDGEExtended Window Styles- See Also:
-
WS_EX_APPWINDOW
public static final int WS_EX_APPWINDOWExtended Window Styles- See Also:
-
WS_EX_OVERLAPPEDWINDOW
public static final int WS_EX_OVERLAPPEDWINDOWExtended Window Styles- See Also:
-
WS_EX_PALETTEWINDOW
public static final int WS_EX_PALETTEWINDOWExtended Window Styles- See Also:
-
WS_EX_LAYERED
public static final int WS_EX_LAYEREDExtended Window Styles- See Also:
-
WS_EX_NOINHERITLAYOUT
public static final int WS_EX_NOINHERITLAYOUTExtended Window Styles- See Also:
-
WS_EX_LAYOUTRTL
public static final int WS_EX_LAYOUTRTLExtended Window Styles- See Also:
-
WS_EX_COMPOSITED
public static final int WS_EX_COMPOSITEDExtended Window Styles- See Also:
-
WS_EX_NOACTIVATE
public static final int WS_EX_NOACTIVATEExtended Window Styles- See Also:
-
CW_USEDEFAULT
public static final int CW_USEDEFAULTMay be used inCreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
for the x, y, width, height parameters.- See Also:
-
CS_VREDRAW
public static final int CS_VREDRAWClass styles- See Also:
-
CS_HREDRAW
public static final int CS_HREDRAWClass styles- See Also:
-
CS_DBLCLKS
public static final int CS_DBLCLKSClass styles- See Also:
-
CS_OWNDC
public static final int CS_OWNDCClass styles- See Also:
-
CS_CLASSDC
public static final int CS_CLASSDCClass styles- See Also:
-
CS_PARENTDC
public static final int CS_PARENTDCClass styles- See Also:
-
CS_NOCLOSE
public static final int CS_NOCLOSEClass styles- See Also:
-
CS_SAVEBITS
public static final int CS_SAVEBITSClass styles- See Also:
-
CS_BYTEALIGNCLIENT
public static final int CS_BYTEALIGNCLIENTClass styles- See Also:
-
CS_BYTEALIGNWINDOW
public static final int CS_BYTEALIGNWINDOWClass styles- See Also:
-
CS_GLOBALCLASS
public static final int CS_GLOBALCLASSClass styles- See Also:
-
CS_IME
public static final int CS_IMEClass styles- See Also:
-
CS_DROPSHADOW
public static final int CS_DROPSHADOWClass styles- See Also:
-
WM_NULL
public static final int WM_NULLWindows messages.- See Also:
-
WM_CREATE
public static final int WM_CREATEWindows messages.- See Also:
-
WM_DESTROY
public static final int WM_DESTROYWindows messages.- See Also:
-
WM_MOVE
public static final int WM_MOVEWindows messages.- See Also:
-
WM_SIZE
public static final int WM_SIZEWindows messages.- See Also:
-
WM_ACTIVATE
public static final int WM_ACTIVATEWindows messages.- See Also:
-
WM_SETFOCUS
public static final int WM_SETFOCUSWindows messages.- See Also:
-
WM_KILLFOCUS
public static final int WM_KILLFOCUSWindows messages.- See Also:
-
WM_ENABLE
public static final int WM_ENABLEWindows messages.- See Also:
-
WM_SETREDRAW
public static final int WM_SETREDRAWWindows messages.- See Also:
-
WM_SETTEXT
public static final int WM_SETTEXTWindows messages.- See Also:
-
WM_GETTEXT
public static final int WM_GETTEXTWindows messages.- See Also:
-
WM_GETTEXTLENGTH
public static final int WM_GETTEXTLENGTHWindows messages.- See Also:
-
WM_PAINT
public static final int WM_PAINTWindows messages.- See Also:
-
WM_CLOSE
public static final int WM_CLOSEWindows messages.- See Also:
-
WM_QUERYENDSESSION
public static final int WM_QUERYENDSESSIONWindows messages.- See Also:
-
WM_QUERYOPEN
public static final int WM_QUERYOPENWindows messages.- See Also:
-
WM_ENDSESSION
public static final int WM_ENDSESSIONWindows messages.- See Also:
-
WM_QUIT
public static final int WM_QUITWindows messages.- See Also:
-
WM_ERASEBKGND
public static final int WM_ERASEBKGNDWindows messages.- See Also:
-
WM_SYSCOLORCHANGE
public static final int WM_SYSCOLORCHANGEWindows messages.- See Also:
-
WM_SHOWWINDOW
public static final int WM_SHOWWINDOWWindows messages.- See Also:
-
WM_WININICHANGE
public static final int WM_WININICHANGEWindows messages.- See Also:
-
WM_SETTINGCHANGE
public static final int WM_SETTINGCHANGEWindows messages.- See Also:
-
WM_DEVMODECHANGE
public static final int WM_DEVMODECHANGEWindows messages.- See Also:
-
WM_ACTIVATEAPP
public static final int WM_ACTIVATEAPPWindows messages.- See Also:
-
WM_FONTCHANGE
public static final int WM_FONTCHANGEWindows messages.- See Also:
-
WM_TIMECHANGE
public static final int WM_TIMECHANGEWindows messages.- See Also:
-
WM_CANCELMODE
public static final int WM_CANCELMODEWindows messages.- See Also:
-
WM_SETCURSOR
public static final int WM_SETCURSORWindows messages.- See Also:
-
WM_MOUSEACTIVATE
public static final int WM_MOUSEACTIVATEWindows messages.- See Also:
-
WM_CHILDACTIVATE
public static final int WM_CHILDACTIVATEWindows messages.- See Also:
-
WM_QUEUESYNC
public static final int WM_QUEUESYNCWindows messages.- See Also:
-
WM_GETMINMAXINFO
public static final int WM_GETMINMAXINFOWindows messages.- See Also:
-
WM_PAINTICON
public static final int WM_PAINTICONWindows messages.- See Also:
-
WM_ICONERASEBKGND
public static final int WM_ICONERASEBKGNDWindows messages.- See Also:
-
WM_NEXTDLGCTL
public static final int WM_NEXTDLGCTLWindows messages.- See Also:
-
WM_SPOOLERSTATUS
public static final int WM_SPOOLERSTATUSWindows messages.- See Also:
-
WM_DRAWITEM
public static final int WM_DRAWITEMWindows messages.- See Also:
-
WM_MEASUREITEM
public static final int WM_MEASUREITEMWindows messages.- See Also:
-
WM_DELETEITEM
public static final int WM_DELETEITEMWindows messages.- See Also:
-
WM_VKEYTOITEM
public static final int WM_VKEYTOITEMWindows messages.- See Also:
-
WM_CHARTOITEM
public static final int WM_CHARTOITEMWindows messages.- See Also:
-
WM_SETFONT
public static final int WM_SETFONTWindows messages.- See Also:
-
WM_GETFONT
public static final int WM_GETFONTWindows messages.- See Also:
-
WM_SETHOTKEY
public static final int WM_SETHOTKEYWindows messages.- See Also:
-
WM_GETHOTKEY
public static final int WM_GETHOTKEYWindows messages.- See Also:
-
WM_QUERYDRAGICON
public static final int WM_QUERYDRAGICONWindows messages.- See Also:
-
WM_COMPAREITEM
public static final int WM_COMPAREITEMWindows messages.- See Also:
-
WM_GETOBJECT
public static final int WM_GETOBJECTWindows messages.- See Also:
-
WM_COMPACTING
public static final int WM_COMPACTINGWindows messages.- See Also:
-
WM_COMMNOTIFY
public static final int WM_COMMNOTIFYWindows messages.- See Also:
-
WM_WINDOWPOSCHANGING
public static final int WM_WINDOWPOSCHANGINGWindows messages.- See Also:
-
WM_WINDOWPOSCHANGED
public static final int WM_WINDOWPOSCHANGEDWindows messages.- See Also:
-
WM_POWER
public static final int WM_POWERWindows messages.- See Also:
-
WM_COPYDATA
public static final int WM_COPYDATAWindows messages.- See Also:
-
WM_CANCELJOURNAL
public static final int WM_CANCELJOURNALWindows messages.- See Also:
-
WM_NOTIFY
public static final int WM_NOTIFYWindows messages.- See Also:
-
WM_INPUTLANGCHANGEREQUEST
public static final int WM_INPUTLANGCHANGEREQUESTWindows messages.- See Also:
-
WM_INPUTLANGCHANGE
public static final int WM_INPUTLANGCHANGEWindows messages.- See Also:
-
WM_TCARD
public static final int WM_TCARDWindows messages.- See Also:
-
WM_HELP
public static final int WM_HELPWindows messages.- See Also:
-
WM_USERCHANGED
public static final int WM_USERCHANGEDWindows messages.- See Also:
-
WM_NOTIFYFORMAT
public static final int WM_NOTIFYFORMATWindows messages.- See Also:
-
WM_CONTEXTMENU
public static final int WM_CONTEXTMENUWindows messages.- See Also:
-
WM_STYLECHANGING
public static final int WM_STYLECHANGINGWindows messages.- See Also:
-
WM_STYLECHANGED
public static final int WM_STYLECHANGEDWindows messages.- See Also:
-
WM_DISPLAYCHANGE
public static final int WM_DISPLAYCHANGEWindows messages.- See Also:
-
WM_GETICON
public static final int WM_GETICONWindows messages.- See Also:
-
WM_SETICON
public static final int WM_SETICONWindows messages.- See Also:
-
WM_NCCREATE
public static final int WM_NCCREATEWindows messages.- See Also:
-
WM_NCDESTROY
public static final int WM_NCDESTROYWindows messages.- See Also:
-
WM_NCCALCSIZE
public static final int WM_NCCALCSIZEWindows messages.- See Also:
-
WM_NCHITTEST
public static final int WM_NCHITTESTWindows messages.- See Also:
-
WM_NCPAINT
public static final int WM_NCPAINTWindows messages.- See Also:
-
WM_NCACTIVATE
public static final int WM_NCACTIVATEWindows messages.- See Also:
-
WM_GETDLGCODE
public static final int WM_GETDLGCODEWindows messages.- See Also:
-
WM_SYNCPAINT
public static final int WM_SYNCPAINTWindows messages.- See Also:
-
WM_NCMOUSEMOVE
public static final int WM_NCMOUSEMOVEWindows messages.- See Also:
-
WM_NCLBUTTONDOWN
public static final int WM_NCLBUTTONDOWNWindows messages.- See Also:
-
WM_NCLBUTTONUP
public static final int WM_NCLBUTTONUPWindows messages.- See Also:
-
WM_NCLBUTTONDBLCLK
public static final int WM_NCLBUTTONDBLCLKWindows messages.- See Also:
-
WM_NCRBUTTONDOWN
public static final int WM_NCRBUTTONDOWNWindows messages.- See Also:
-
WM_NCRBUTTONUP
public static final int WM_NCRBUTTONUPWindows messages.- See Also:
-
WM_NCRBUTTONDBLCLK
public static final int WM_NCRBUTTONDBLCLKWindows messages.- See Also:
-
WM_NCMBUTTONDOWN
public static final int WM_NCMBUTTONDOWNWindows messages.- See Also:
-
WM_NCMBUTTONUP
public static final int WM_NCMBUTTONUPWindows messages.- See Also:
-
WM_NCMBUTTONDBLCLK
public static final int WM_NCMBUTTONDBLCLKWindows messages.- See Also:
-
WM_NCXBUTTONDOWN
public static final int WM_NCXBUTTONDOWNWindows messages.- See Also:
-
WM_NCXBUTTONUP
public static final int WM_NCXBUTTONUPWindows messages.- See Also:
-
WM_NCXBUTTONDBLCLK
public static final int WM_NCXBUTTONDBLCLKWindows messages.- See Also:
-
WM_INPUT_DEVICE_CHANGE
public static final int WM_INPUT_DEVICE_CHANGEWindows messages.- See Also:
-
WM_INPUT
public static final int WM_INPUTWindows messages.- See Also:
-
WM_KEYFIRST
public static final int WM_KEYFIRSTWindows messages.- See Also:
-
WM_KEYDOWN
public static final int WM_KEYDOWNWindows messages.- See Also:
-
WM_KEYUP
public static final int WM_KEYUPWindows messages.- See Also:
-
WM_CHAR
public static final int WM_CHARWindows messages.- See Also:
-
WM_DEADCHAR
public static final int WM_DEADCHARWindows messages.- See Also:
-
WM_SYSKEYDOWN
public static final int WM_SYSKEYDOWNWindows messages.- See Also:
-
WM_SYSKEYUP
public static final int WM_SYSKEYUPWindows messages.- See Also:
-
WM_SYSCHAR
public static final int WM_SYSCHARWindows messages.- See Also:
-
WM_SYSDEADCHAR
public static final int WM_SYSDEADCHARWindows messages.- See Also:
-
WM_UNICHAR
public static final int WM_UNICHARWindows messages.- See Also:
-
UNICODE_NOCHAR
public static final int UNICODE_NOCHARWindows messages.- See Also:
-
WM_IME_STARTCOMPOSITION
public static final int WM_IME_STARTCOMPOSITIONWindows messages.- See Also:
-
WM_IME_ENDCOMPOSITION
public static final int WM_IME_ENDCOMPOSITIONWindows messages.- See Also:
-
WM_IME_COMPOSITION
public static final int WM_IME_COMPOSITIONWindows messages.- See Also:
-
WM_IME_KEYLAST
public static final int WM_IME_KEYLASTWindows messages.- See Also:
-
WM_INITDIALOG
public static final int WM_INITDIALOGWindows messages.- See Also:
-
WM_COMMAND
public static final int WM_COMMANDWindows messages.- See Also:
-
WM_SYSCOMMAND
public static final int WM_SYSCOMMANDWindows messages.- See Also:
-
WM_TIMER
public static final int WM_TIMERWindows messages.- See Also:
-
WM_HSCROLL
public static final int WM_HSCROLLWindows messages.- See Also:
-
WM_VSCROLL
public static final int WM_VSCROLLWindows messages.- See Also:
-
WM_INITMENU
public static final int WM_INITMENUWindows messages.- See Also:
-
WM_INITMENUPOPUP
public static final int WM_INITMENUPOPUPWindows messages.- See Also:
-
WM_GESTURE
public static final int WM_GESTUREWindows messages.- See Also:
-
WM_GESTURENOTIFY
public static final int WM_GESTURENOTIFYWindows messages.- See Also:
-
WM_MENUSELECT
public static final int WM_MENUSELECTWindows messages.- See Also:
-
WM_MENUCHAR
public static final int WM_MENUCHARWindows messages.- See Also:
-
WM_ENTERIDLE
public static final int WM_ENTERIDLEWindows messages.- See Also:
-
WM_MENURBUTTONUP
public static final int WM_MENURBUTTONUPWindows messages.- See Also:
-
WM_MENUDRAG
public static final int WM_MENUDRAGWindows messages.- See Also:
-
WM_MENUGETOBJECT
public static final int WM_MENUGETOBJECTWindows messages.- See Also:
-
WM_UNINITMENUPOPUP
public static final int WM_UNINITMENUPOPUPWindows messages.- See Also:
-
WM_MENUCOMMAND
public static final int WM_MENUCOMMANDWindows messages.- See Also:
-
WM_CHANGEUISTATE
public static final int WM_CHANGEUISTATEWindows messages.- See Also:
-
WM_UPDATEUISTATE
public static final int WM_UPDATEUISTATEWindows messages.- See Also:
-
WM_QUERYUISTATE
public static final int WM_QUERYUISTATEWindows messages.- See Also:
-
WM_CTLCOLORMSGBOX
public static final int WM_CTLCOLORMSGBOXWindows messages.- See Also:
-
WM_CTLCOLOREDIT
public static final int WM_CTLCOLOREDITWindows messages.- See Also:
-
WM_CTLCOLORLISTBOX
public static final int WM_CTLCOLORLISTBOXWindows messages.- See Also:
-
WM_CTLCOLORBTN
public static final int WM_CTLCOLORBTNWindows messages.- See Also:
-
WM_CTLCOLORDLG
public static final int WM_CTLCOLORDLGWindows messages.- See Also:
-
WM_CTLCOLORSCROLLBAR
public static final int WM_CTLCOLORSCROLLBARWindows messages.- See Also:
-
WM_CTLCOLORSTATIC
public static final int WM_CTLCOLORSTATICWindows messages.- See Also:
-
MN_GETHMENU
public static final int MN_GETHMENUWindows messages.- See Also:
-
WM_MOUSEFIRST
public static final int WM_MOUSEFIRSTWindows messages.- See Also:
-
WM_MOUSEMOVE
public static final int WM_MOUSEMOVEWindows messages.- See Also:
-
WM_LBUTTONDOWN
public static final int WM_LBUTTONDOWNWindows messages.- See Also:
-
WM_LBUTTONUP
public static final int WM_LBUTTONUPWindows messages.- See Also:
-
WM_LBUTTONDBLCLK
public static final int WM_LBUTTONDBLCLKWindows messages.- See Also:
-
WM_RBUTTONDOWN
public static final int WM_RBUTTONDOWNWindows messages.- See Also:
-
WM_RBUTTONUP
public static final int WM_RBUTTONUPWindows messages.- See Also:
-
WM_RBUTTONDBLCLK
public static final int WM_RBUTTONDBLCLKWindows messages.- See Also:
-
WM_MBUTTONDOWN
public static final int WM_MBUTTONDOWNWindows messages.- See Also:
-
WM_MBUTTONUP
public static final int WM_MBUTTONUPWindows messages.- See Also:
-
WM_MBUTTONDBLCLK
public static final int WM_MBUTTONDBLCLKWindows messages.- See Also:
-
WM_MOUSEWHEEL
public static final int WM_MOUSEWHEELWindows messages.- See Also:
-
WM_XBUTTONDOWN
public static final int WM_XBUTTONDOWNWindows messages.- See Also:
-
WM_XBUTTONUP
public static final int WM_XBUTTONUPWindows messages.- See Also:
-
WM_XBUTTONDBLCLK
public static final int WM_XBUTTONDBLCLKWindows messages.- See Also:
-
WM_MOUSEHWHEEL
public static final int WM_MOUSEHWHEELWindows messages.- See Also:
-
WM_PARENTNOTIFY
public static final int WM_PARENTNOTIFYWindows messages.- See Also:
-
WM_ENTERMENULOOP
public static final int WM_ENTERMENULOOPWindows messages.- See Also:
-
WM_EXITMENULOOP
public static final int WM_EXITMENULOOPWindows messages.- See Also:
-
WM_NEXTMENU
public static final int WM_NEXTMENUWindows messages.- See Also:
-
WM_SIZING
public static final int WM_SIZINGWindows messages.- See Also:
-
WM_CAPTURECHANGED
public static final int WM_CAPTURECHANGEDWindows messages.- See Also:
-
WM_MOVING
public static final int WM_MOVINGWindows messages.- See Also:
-
WM_POWERBROADCAST
public static final int WM_POWERBROADCASTWindows messages.- See Also:
-
WM_DEVICECHANGE
public static final int WM_DEVICECHANGEWindows messages.- See Also:
-
WM_MDICREATE
public static final int WM_MDICREATEWindows messages.- See Also:
-
WM_MDIDESTROY
public static final int WM_MDIDESTROYWindows messages.- See Also:
-
WM_MDIACTIVATE
public static final int WM_MDIACTIVATEWindows messages.- See Also:
-
WM_MDIRESTORE
public static final int WM_MDIRESTOREWindows messages.- See Also:
-
WM_MDINEXT
public static final int WM_MDINEXTWindows messages.- See Also:
-
WM_MDIMAXIMIZE
public static final int WM_MDIMAXIMIZEWindows messages.- See Also:
-
WM_MDITILE
public static final int WM_MDITILEWindows messages.- See Also:
-
WM_MDICASCADE
public static final int WM_MDICASCADEWindows messages.- See Also:
-
WM_MDIICONARRANGE
public static final int WM_MDIICONARRANGEWindows messages.- See Also:
-
WM_MDIGETACTIVE
public static final int WM_MDIGETACTIVEWindows messages.- See Also:
-
WM_MDISETMENU
public static final int WM_MDISETMENUWindows messages.- See Also:
-
WM_ENTERSIZEMOVE
public static final int WM_ENTERSIZEMOVEWindows messages.- See Also:
-
WM_EXITSIZEMOVE
public static final int WM_EXITSIZEMOVEWindows messages.- See Also:
-
WM_DROPFILES
public static final int WM_DROPFILESWindows messages.- See Also:
-
WM_MDIREFRESHMENU
public static final int WM_MDIREFRESHMENUWindows messages.- See Also:
-
WM_TOUCH
public static final int WM_TOUCHWindows messages.- See Also:
-
WM_IME_SETCONTEXT
public static final int WM_IME_SETCONTEXTWindows messages.- See Also:
-
WM_IME_NOTIFY
public static final int WM_IME_NOTIFYWindows messages.- See Also:
-
WM_IME_CONTROL
public static final int WM_IME_CONTROLWindows messages.- See Also:
-
WM_IME_COMPOSITIONFULL
public static final int WM_IME_COMPOSITIONFULLWindows messages.- See Also:
-
WM_IME_SELECT
public static final int WM_IME_SELECTWindows messages.- See Also:
-
WM_IME_CHAR
public static final int WM_IME_CHARWindows messages.- See Also:
-
WM_IME_REQUEST
public static final int WM_IME_REQUESTWindows messages.- See Also:
-
WM_IME_KEYDOWN
public static final int WM_IME_KEYDOWNWindows messages.- See Also:
-
WM_IME_KEYUP
public static final int WM_IME_KEYUPWindows messages.- See Also:
-
WM_MOUSEHOVER
public static final int WM_MOUSEHOVERWindows messages.- See Also:
-
WM_MOUSELEAVE
public static final int WM_MOUSELEAVEWindows messages.- See Also:
-
WM_NCMOUSEHOVER
public static final int WM_NCMOUSEHOVERWindows messages.- See Also:
-
WM_NCMOUSELEAVE
public static final int WM_NCMOUSELEAVEWindows messages.- See Also:
-
WM_WTSSESSION_CHANGE
public static final int WM_WTSSESSION_CHANGEWindows messages.- See Also:
-
WM_TABLET_FIRST
public static final int WM_TABLET_FIRSTWindows messages.- See Also:
-
WM_TABLET_LAST
public static final int WM_TABLET_LASTWindows messages.- See Also:
-
WM_CUT
public static final int WM_CUTWindows messages.- See Also:
-
WM_COPY
public static final int WM_COPYWindows messages.- See Also:
-
WM_PASTE
public static final int WM_PASTEWindows messages.- See Also:
-
WM_CLEAR
public static final int WM_CLEARWindows messages.- See Also:
-
WM_UNDO
public static final int WM_UNDOWindows messages.- See Also:
-
WM_RENDERFORMAT
public static final int WM_RENDERFORMATWindows messages.- See Also:
-
WM_RENDERALLFORMATS
public static final int WM_RENDERALLFORMATSWindows messages.- See Also:
-
WM_DESTROYCLIPBOARD
public static final int WM_DESTROYCLIPBOARDWindows messages.- See Also:
-
WM_DRAWCLIPBOARD
public static final int WM_DRAWCLIPBOARDWindows messages.- See Also:
-
WM_PAINTCLIPBOARD
public static final int WM_PAINTCLIPBOARDWindows messages.- See Also:
-
WM_VSCROLLCLIPBOARD
public static final int WM_VSCROLLCLIPBOARDWindows messages.- See Also:
-
WM_SIZECLIPBOARD
public static final int WM_SIZECLIPBOARDWindows messages.- See Also:
-
WM_ASKCBFORMATNAME
public static final int WM_ASKCBFORMATNAMEWindows messages.- See Also:
-
WM_CHANGECBCHAIN
public static final int WM_CHANGECBCHAINWindows messages.- See Also:
-
WM_HSCROLLCLIPBOARD
public static final int WM_HSCROLLCLIPBOARDWindows messages.- See Also:
-
WM_QUERYNEWPALETTE
public static final int WM_QUERYNEWPALETTEWindows messages.- See Also:
-
WM_PALETTEISCHANGING
public static final int WM_PALETTEISCHANGINGWindows messages.- See Also:
-
WM_PALETTECHANGED
public static final int WM_PALETTECHANGEDWindows messages.- See Also:
-
WM_HOTKEY
public static final int WM_HOTKEYWindows messages.- See Also:
-
WM_PRINT
public static final int WM_PRINTWindows messages.- See Also:
-
WM_PRINTCLIENT
public static final int WM_PRINTCLIENTWindows messages.- See Also:
-
WM_APPCOMMAND
public static final int WM_APPCOMMANDWindows messages.- See Also:
-
WM_THEMECHANGED
public static final int WM_THEMECHANGEDWindows messages.- See Also:
-
WM_CLIPBOARDUPDATE
public static final int WM_CLIPBOARDUPDATEWindows messages.- See Also:
-
WM_DWMCOMPOSITIONCHANGED
public static final int WM_DWMCOMPOSITIONCHANGEDWindows messages.- See Also:
-
WM_DWMNCRENDERINGCHANGED
public static final int WM_DWMNCRENDERINGCHANGEDWindows messages.- See Also:
-
WM_DWMCOLORIZATIONCOLORCHANGED
public static final int WM_DWMCOLORIZATIONCOLORCHANGEDWindows messages.- See Also:
-
WM_DWMWINDOWMAXIMIZEDCHANGE
public static final int WM_DWMWINDOWMAXIMIZEDCHANGEWindows messages.- See Also:
-
WM_DWMSENDICONICTHUMBNAIL
public static final int WM_DWMSENDICONICTHUMBNAILWindows messages.- See Also:
-
WM_DWMSENDICONICLIVEPREVIEWBITMAP
public static final int WM_DWMSENDICONICLIVEPREVIEWBITMAPWindows messages.- See Also:
-
WM_GETTITLEBARINFOEX
public static final int WM_GETTITLEBARINFOEXWindows messages.- See Also:
-
WM_HANDHELDFIRST
public static final int WM_HANDHELDFIRSTWindows messages.- See Also:
-
WM_HANDHELDLAST
public static final int WM_HANDHELDLASTWindows messages.- See Also:
-
WM_AFXFIRST
public static final int WM_AFXFIRSTWindows messages.- See Also:
-
WM_AFXLAST
public static final int WM_AFXLASTWindows messages.- See Also:
-
WM_PENWINFIRST
public static final int WM_PENWINFIRSTWindows messages.- See Also:
-
WM_PENWINLAST
public static final int WM_PENWINLASTWindows messages.- See Also:
-
WM_APP
public static final int WM_APPWindows messages.- See Also:
-
WM_USER
public static final int WM_USERWindows messages.- See Also:
-
WA_ACTIVE
public static final int WA_ACTIVEWM_ACTIVATE
messagewParam
values.- See Also:
-
WA_CLICKACTIVE
public static final int WA_CLICKACTIVEWM_ACTIVATE
messagewParam
values.- See Also:
-
WA_INACTIVE
public static final int WA_INACTIVEWM_ACTIVATE
messagewParam
values.- See Also:
-
SIZE_RESTORED
public static final int SIZE_RESTOREDWM_SIZE
messagewParam
values.- See Also:
-
SIZE_MINIMIZED
public static final int SIZE_MINIMIZEDWM_SIZE
messagewParam
values.- See Also:
-
SIZE_MAXIMIZED
public static final int SIZE_MAXIMIZEDWM_SIZE
messagewParam
values.- See Also:
-
SIZE_MAXSHOW
public static final int SIZE_MAXSHOWWM_SIZE
messagewParam
values.- See Also:
-
SIZE_MAXHIDE
public static final int SIZE_MAXHIDEWM_SIZE
messagewParam
values.- See Also:
-
DBT_APPYBEGIN
public static final int DBT_APPYBEGINWM_DEVICECHANGE
messagewParam
params.- See Also:
-
DBT_APPYEND
public static final int DBT_APPYENDWM_DEVICECHANGE
messagewParam
params.- See Also:
-
DBT_DEVNODES_CHANGED
public static final int DBT_DEVNODES_CHANGEDWM_DEVICECHANGE
messagewParam
params.- See Also:
-
DBT_QUERYCHANGECONFIG
public static final int DBT_QUERYCHANGECONFIGWM_DEVICECHANGE
messagewParam
params.- See Also:
-
DBT_CONFIGCHANGED
public static final int DBT_CONFIGCHANGEDWM_DEVICECHANGE
messagewParam
params.- See Also:
-
DBT_CONFIGCHANGECANCELED
public static final int DBT_CONFIGCHANGECANCELEDWM_DEVICECHANGE
messagewParam
params.- See Also:
-
DBT_MONITORCHANGE
public static final int DBT_MONITORCHANGEWM_DEVICECHANGE
messagewParam
params.- See Also:
-
SC_SIZE
public static final int SC_SIZESystem menu command values.- See Also:
-
SC_MOVE
public static final int SC_MOVESystem menu command values.- See Also:
-
SC_MINIMIZE
public static final int SC_MINIMIZESystem menu command values.- See Also:
-
SC_MAXIMIZE
public static final int SC_MAXIMIZESystem menu command values.- See Also:
-
SC_NEXTWINDOW
public static final int SC_NEXTWINDOWSystem menu command values.- See Also:
-
SC_PREVWINDOW
public static final int SC_PREVWINDOWSystem menu command values.- See Also:
-
SC_CLOSE
public static final int SC_CLOSESystem menu command values.- See Also:
-
SC_VSCROLL
public static final int SC_VSCROLLSystem menu command values.- See Also:
-
SC_HSCROLL
public static final int SC_HSCROLLSystem menu command values.- See Also:
-
SC_MOUSEMENU
public static final int SC_MOUSEMENUSystem menu command values.- See Also:
-
SC_KEYMENU
public static final int SC_KEYMENUSystem menu command values.- See Also:
-
SC_ARRANGE
public static final int SC_ARRANGESystem menu command values.- See Also:
-
SC_RESTORE
public static final int SC_RESTORESystem menu command values.- See Also:
-
SC_TASKLIST
public static final int SC_TASKLISTSystem menu command values.- See Also:
-
SC_SCREENSAVE
public static final int SC_SCREENSAVESystem menu command values.- See Also:
-
SC_HOTKEY
public static final int SC_HOTKEYSystem menu command values.- See Also:
-
SC_DEFAULT
public static final int SC_DEFAULTSystem menu command values.- See Also:
-
SC_MONITORPOWER
public static final int SC_MONITORPOWERSystem menu command values.- See Also:
-
SC_CONTEXTHELP
public static final int SC_CONTEXTHELPSystem menu command values.- See Also:
-
SC_SEPARATOR
public static final int SC_SEPARATORSystem menu command values.- See Also:
-
MK_LBUTTON
public static final int MK_LBUTTONKey state masks for mouse messages.- See Also:
-
MK_RBUTTON
public static final int MK_RBUTTONKey state masks for mouse messages.- See Also:
-
MK_SHIFT
public static final int MK_SHIFTKey state masks for mouse messages.- See Also:
-
MK_CONTROL
public static final int MK_CONTROLKey state masks for mouse messages.- See Also:
-
MK_MBUTTON
public static final int MK_MBUTTONKey state masks for mouse messages.- See Also:
-
MK_XBUTTON1
public static final int MK_XBUTTON1Key state masks for mouse messages.- See Also:
-
MK_XBUTTON2
public static final int MK_XBUTTON2Key state masks for mouse messages.- See Also:
-
HTERROR
public static final int HTERRORMouse position codes.- See Also:
-
HTTRANSPARENT
public static final int HTTRANSPARENTMouse position codes.- See Also:
-
HTNOWHERE
public static final int HTNOWHEREMouse position codes.- See Also:
-
HTCLIENT
public static final int HTCLIENTMouse position codes.- See Also:
-
HTCAPTION
public static final int HTCAPTIONMouse position codes.- See Also:
-
HTSYSMENU
public static final int HTSYSMENUMouse position codes.- See Also:
-
HTGROWBOX
public static final int HTGROWBOXMouse position codes.- See Also:
-
HTSIZE
public static final int HTSIZEMouse position codes.- See Also:
-
HTMENU
public static final int HTMENUMouse position codes.- See Also:
-
HTHSCROLL
public static final int HTHSCROLLMouse position codes.- See Also:
-
HTVSCROLL
public static final int HTVSCROLLMouse position codes.- See Also:
-
HTMINBUTTON
public static final int HTMINBUTTONMouse position codes.- See Also:
-
HTMAXBUTTON
public static final int HTMAXBUTTONMouse position codes.- See Also:
-
HTLEFT
public static final int HTLEFTMouse position codes.- See Also:
-
HTRIGHT
public static final int HTRIGHTMouse position codes.- See Also:
-
HTTOP
public static final int HTTOPMouse position codes.- See Also:
-
HTTOPLEFT
public static final int HTTOPLEFTMouse position codes.- See Also:
-
HTTOPRIGHT
public static final int HTTOPRIGHTMouse position codes.- See Also:
-
HTBOTTOM
public static final int HTBOTTOMMouse position codes.- See Also:
-
HTBOTTOMLEFT
public static final int HTBOTTOMLEFTMouse position codes.- See Also:
-
HTBOTTOMRIGHT
public static final int HTBOTTOMRIGHTMouse position codes.- See Also:
-
HTBORDER
public static final int HTBORDERMouse position codes.- See Also:
-
HTREDUCE
public static final int HTREDUCEMouse position codes.- See Also:
-
HTZOOM
public static final int HTZOOMMouse position codes.- See Also:
-
HTSIZEFIRST
public static final int HTSIZEFIRSTMouse position codes.- See Also:
-
HTSIZELAST
public static final int HTSIZELASTMouse position codes.- See Also:
-
HTOBJECT
public static final int HTOBJECTMouse position codes.- See Also:
-
HTCLOSE
public static final int HTCLOSEMouse position codes.- See Also:
-
HTHELP
public static final int HTHELPMouse position codes.- See Also:
-
GWL_WNDPROC
public static final int GWL_WNDPROCWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
GWL_HINSTANCE
public static final int GWL_HINSTANCEWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
GWL_HWNDPARENT
public static final int GWL_HWNDPARENTWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
GWL_STYLE
public static final int GWL_STYLEWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
GWL_EXSTYLE
public static final int GWL_EXSTYLEWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
GWL_USERDATA
public static final int GWL_USERDATAWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
GWL_ID
public static final int GWL_IDWindow field offsets forGetWindowLongPtr(long, int)
.- See Also:
-
SW_HIDE
public static final int SW_HIDEShowWindow(long, int)
commands.- See Also:
-
SW_SHOWNORMAL
public static final int SW_SHOWNORMALShowWindow(long, int)
commands.- See Also:
-
SW_NORMAL
public static final int SW_NORMALShowWindow(long, int)
commands.- See Also:
-
SW_SHOWMINIMIZED
public static final int SW_SHOWMINIMIZEDShowWindow(long, int)
commands.- See Also:
-
SW_SHOWMAXIMIZED
public static final int SW_SHOWMAXIMIZEDShowWindow(long, int)
commands.- See Also:
-
SW_MAXIMIZE
public static final int SW_MAXIMIZEShowWindow(long, int)
commands.- See Also:
-
SW_SHOWNOACTIVATE
public static final int SW_SHOWNOACTIVATEShowWindow(long, int)
commands.- See Also:
-
SW_SHOW
public static final int SW_SHOWShowWindow(long, int)
commands.- See Also:
-
SW_MINIMIZE
public static final int SW_MINIMIZEShowWindow(long, int)
commands.- See Also:
-
SW_SHOWMINNOACTIVE
public static final int SW_SHOWMINNOACTIVEShowWindow(long, int)
commands.- See Also:
-
SW_SHOWNA
public static final int SW_SHOWNAShowWindow(long, int)
commands.- See Also:
-
SW_RESTORE
public static final int SW_RESTOREShowWindow(long, int)
commands.- See Also:
-
SW_SHOWDEFAULT
public static final int SW_SHOWDEFAULTShowWindow(long, int)
commands.- See Also:
-
SW_FORCEMINIMIZE
public static final int SW_FORCEMINIMIZEShowWindow(long, int)
commands.- See Also:
-
SW_MAX
public static final int SW_MAXShowWindow(long, int)
commands.- See Also:
-
HWND_TOP
public static final long HWND_TOPVirtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
-
HWND_BOTTOM
public static final long HWND_BOTTOMVirtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
-
HWND_TOPMOST
public static final long HWND_TOPMOSTVirtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
-
HWND_NOTOPMOST
public static final long HWND_NOTOPMOSTVirtual window handles used by theSetWindowPos(long, long, int, int, int, int, int)
insertAfter argument.- See Also:
-
HWND_BROADCAST
public static final long HWND_BROADCASTVirtual window handle used byPostMessage(long, int, long, long)
that matches all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows.- See Also:
-
SWP_NOSIZE
public static final int SWP_NOSIZEWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOMOVE
public static final int SWP_NOMOVEWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOZORDER
public static final int SWP_NOZORDERWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOREDRAW
public static final int SWP_NOREDRAWWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOACTIVATE
public static final int SWP_NOACTIVATEWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_FRAMECHANGED
public static final int SWP_FRAMECHANGEDWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_SHOWWINDOW
public static final int SWP_SHOWWINDOWWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_HIDEWINDOW
public static final int SWP_HIDEWINDOWWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOCOPYBITS
public static final int SWP_NOCOPYBITSWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOOWNERZORDER
public static final int SWP_NOOWNERZORDERWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOSENDCHANGING
public static final int SWP_NOSENDCHANGINGWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_DRAWFRAME
public static final int SWP_DRAWFRAMEWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_NOREPOSITION
public static final int SWP_NOREPOSITIONWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_DEFERERASE
public static final int SWP_DEFERERASEWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
SWP_ASYNCWINDOWPOS
public static final int SWP_ASYNCWINDOWPOSWindow sizing and positiong flags used by theSetWindowPos(long, long, int, int, int, int, int)
flags argument.- See Also:
-
IDI_APPLICATION
public static final int IDI_APPLICATIONStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_HAND
public static final int IDI_HANDStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_QUESTION
public static final int IDI_QUESTIONStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_EXCLAMATION
public static final int IDI_EXCLAMATIONStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_ASTERISK
public static final int IDI_ASTERISKStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_WINLOGO
public static final int IDI_WINLOGOStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_SHIELD
public static final int IDI_SHIELDStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_WARNING
public static final int IDI_WARNINGStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_ERROR
public static final int IDI_ERRORStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDI_INFORMATION
public static final int IDI_INFORMATIONStandard Icon IDs. Use withLoadIcon(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_ARROW
public static final int IDC_ARROWStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_IBEAM
public static final int IDC_IBEAMStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_WAIT
public static final int IDC_WAITStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_CROSS
public static final int IDC_CROSSStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_UPARROW
public static final int IDC_UPARROWStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_SIZE
public static final int IDC_SIZEStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_ICON
public static final int IDC_ICONStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_SIZENWSE
public static final int IDC_SIZENWSEStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_SIZENESW
public static final int IDC_SIZENESWStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_SIZEWE
public static final int IDC_SIZEWEStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_SIZENS
public static final int IDC_SIZENSStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_SIZEALL
public static final int IDC_SIZEALLStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_NO
public static final int IDC_NOStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_HAND
public static final int IDC_HANDStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_APPSTARTING
public static final int IDC_APPSTARTINGStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
IDC_HELP
public static final int IDC_HELPStandard Cursor IDs. Use withLoadCursor(long, java.nio.ByteBuffer)
.- See Also:
-
GCL_MENUNAME
public static final int GCL_MENUNAMEClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_HBRBACKGROUND
public static final int GCL_HBRBACKGROUNDClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_HCURSOR
public static final int GCL_HCURSORClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_HICON
public static final int GCL_HICONClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_HMODULE
public static final int GCL_HMODULEClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_CBWNDEXTRA
public static final int GCL_CBWNDEXTRAClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_CBCLSEXTRA
public static final int GCL_CBCLSEXTRAClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_WNDPROC
public static final int GCL_WNDPROCClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_STYLE
public static final int GCL_STYLEClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCW_ATOM
public static final int GCW_ATOMClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
GCL_HICONSM
public static final int GCL_HICONSMClass field offsets forGetClassLongPtr(long, int)
.- See Also:
-
QS_KEY
public static final int QS_KEYQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_MOUSEMOVE
public static final int QS_MOUSEMOVEQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_MOUSEBUTTON
public static final int QS_MOUSEBUTTONQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_POSTMESSAGE
public static final int QS_POSTMESSAGEQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_TIMER
public static final int QS_TIMERQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_PAINT
public static final int QS_PAINTQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_SENDMESSAGE
public static final int QS_SENDMESSAGEQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_HOTKEY
public static final int QS_HOTKEYQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_ALLPOSTMESSAGE
public static final int QS_ALLPOSTMESSAGEQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_RAWINPUT
public static final int QS_RAWINPUTQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_MOUSE
public static final int QS_MOUSEQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_INPUT
public static final int QS_INPUTQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_ALLEVENTS
public static final int QS_ALLEVENTSQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
QS_ALLINPUT
public static final int QS_ALLINPUTQueue status flags forGetQueueStatus
andMsgWaitForMultipleObjects
- See Also:
-
PM_NOREMOVE
public static final int PM_NOREMOVERemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
PM_REMOVE
public static final int PM_REMOVERemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
PM_NOYIELD
public static final int PM_NOYIELDRemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
PM_QS_INPUT
public static final int PM_QS_INPUTRemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
PM_QS_POSTMESSAGE
public static final int PM_QS_POSTMESSAGERemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
PM_QS_PAINT
public static final int PM_QS_PAINTRemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
PM_QS_SENDMESSAGE
public static final int PM_QS_SENDMESSAGERemove message flags forPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
.- See Also:
-
VK_LBUTTON
public static final int VK_LBUTTONVirtual Keys.- See Also:
-
VK_RBUTTON
public static final int VK_RBUTTONVirtual Keys.- See Also:
-
VK_CANCEL
public static final int VK_CANCELVirtual Keys.- See Also:
-
VK_MBUTTON
public static final int VK_MBUTTONVirtual Keys.- See Also:
-
VK_XBUTTON1
public static final int VK_XBUTTON1Virtual Keys.- See Also:
-
VK_XBUTTON2
public static final int VK_XBUTTON2Virtual Keys.- See Also:
-
VK_BACK
public static final int VK_BACKVirtual Keys.- See Also:
-
VK_TAB
public static final int VK_TABVirtual Keys.- See Also:
-
VK_CLEAR
public static final int VK_CLEARVirtual Keys.- See Also:
-
VK_RETURN
public static final int VK_RETURNVirtual Keys.- See Also:
-
VK_SHIFT
public static final int VK_SHIFTVirtual Keys.- See Also:
-
VK_CONTROL
public static final int VK_CONTROLVirtual Keys.- See Also:
-
VK_MENU
public static final int VK_MENUVirtual Keys.- See Also:
-
VK_PAUSE
public static final int VK_PAUSEVirtual Keys.- See Also:
-
VK_CAPITAL
public static final int VK_CAPITALVirtual Keys.- See Also:
-
VK_KANA
public static final int VK_KANAVirtual Keys.- See Also:
-
VK_HANGEUL
public static final int VK_HANGEULVirtual Keys.- See Also:
-
VK_HANGUL
public static final int VK_HANGULVirtual Keys.- See Also:
-
VK_JUNJA
public static final int VK_JUNJAVirtual Keys.- See Also:
-
VK_FINAL
public static final int VK_FINALVirtual Keys.- See Also:
-
VK_HANJA
public static final int VK_HANJAVirtual Keys.- See Also:
-
VK_KANJI
public static final int VK_KANJIVirtual Keys.- See Also:
-
VK_ESCAPE
public static final int VK_ESCAPEVirtual Keys.- See Also:
-
VK_CONVERT
public static final int VK_CONVERTVirtual Keys.- See Also:
-
VK_NONCONVERT
public static final int VK_NONCONVERTVirtual Keys.- See Also:
-
VK_ACCEPT
public static final int VK_ACCEPTVirtual Keys.- See Also:
-
VK_MODECHANGE
public static final int VK_MODECHANGEVirtual Keys.- See Also:
-
VK_SPACE
public static final int VK_SPACEVirtual Keys.- See Also:
-
VK_PRIOR
public static final int VK_PRIORVirtual Keys.- See Also:
-
VK_NEXT
public static final int VK_NEXTVirtual Keys.- See Also:
-
VK_END
public static final int VK_ENDVirtual Keys.- See Also:
-
VK_HOME
public static final int VK_HOMEVirtual Keys.- See Also:
-
VK_LEFT
public static final int VK_LEFTVirtual Keys.- See Also:
-
VK_UP
public static final int VK_UPVirtual Keys.- See Also:
-
VK_RIGHT
public static final int VK_RIGHTVirtual Keys.- See Also:
-
VK_DOWN
public static final int VK_DOWNVirtual Keys.- See Also:
-
VK_SELECT
public static final int VK_SELECTVirtual Keys.- See Also:
-
VK_PRINT
public static final int VK_PRINTVirtual Keys.- See Also:
-
VK_EXECUTE
public static final int VK_EXECUTEVirtual Keys.- See Also:
-
VK_SNAPSHOT
public static final int VK_SNAPSHOTVirtual Keys.- See Also:
-
VK_INSERT
public static final int VK_INSERTVirtual Keys.- See Also:
-
VK_DELETE
public static final int VK_DELETEVirtual Keys.- See Also:
-
VK_HELP
public static final int VK_HELPVirtual Keys.- See Also:
-
VK_LWIN
public static final int VK_LWINVirtual Keys.- See Also:
-
VK_RWIN
public static final int VK_RWINVirtual Keys.- See Also:
-
VK_APPS
public static final int VK_APPSVirtual Keys.- See Also:
-
VK_SLEEP
public static final int VK_SLEEPVirtual Keys.- See Also:
-
VK_NUMPAD0
public static final int VK_NUMPAD0Virtual Keys.- See Also:
-
VK_NUMPAD1
public static final int VK_NUMPAD1Virtual Keys.- See Also:
-
VK_NUMPAD2
public static final int VK_NUMPAD2Virtual Keys.- See Also:
-
VK_NUMPAD3
public static final int VK_NUMPAD3Virtual Keys.- See Also:
-
VK_NUMPAD4
public static final int VK_NUMPAD4Virtual Keys.- See Also:
-
VK_NUMPAD5
public static final int VK_NUMPAD5Virtual Keys.- See Also:
-
VK_NUMPAD6
public static final int VK_NUMPAD6Virtual Keys.- See Also:
-
VK_NUMPAD7
public static final int VK_NUMPAD7Virtual Keys.- See Also:
-
VK_NUMPAD8
public static final int VK_NUMPAD8Virtual Keys.- See Also:
-
VK_NUMPAD9
public static final int VK_NUMPAD9Virtual Keys.- See Also:
-
VK_MULTIPLY
public static final int VK_MULTIPLYVirtual Keys.- See Also:
-
VK_ADD
public static final int VK_ADDVirtual Keys.- See Also:
-
VK_SEPARATOR
public static final int VK_SEPARATORVirtual Keys.- See Also:
-
VK_SUBTRACT
public static final int VK_SUBTRACTVirtual Keys.- See Also:
-
VK_DECIMAL
public static final int VK_DECIMALVirtual Keys.- See Also:
-
VK_DIVIDE
public static final int VK_DIVIDEVirtual Keys.- See Also:
-
VK_F1
public static final int VK_F1Virtual Keys.- See Also:
-
VK_F2
public static final int VK_F2Virtual Keys.- See Also:
-
VK_F3
public static final int VK_F3Virtual Keys.- See Also:
-
VK_F4
public static final int VK_F4Virtual Keys.- See Also:
-
VK_F5
public static final int VK_F5Virtual Keys.- See Also:
-
VK_F6
public static final int VK_F6Virtual Keys.- See Also:
-
VK_F7
public static final int VK_F7Virtual Keys.- See Also:
-
VK_F8
public static final int VK_F8Virtual Keys.- See Also:
-
VK_F9
public static final int VK_F9Virtual Keys.- See Also:
-
VK_F10
public static final int VK_F10Virtual Keys.- See Also:
-
VK_F11
public static final int VK_F11Virtual Keys.- See Also:
-
VK_F12
public static final int VK_F12Virtual Keys.- See Also:
-
VK_F13
public static final int VK_F13Virtual Keys.- See Also:
-
VK_F14
public static final int VK_F14Virtual Keys.- See Also:
-
VK_F15
public static final int VK_F15Virtual Keys.- See Also:
-
VK_F16
public static final int VK_F16Virtual Keys.- See Also:
-
VK_F17
public static final int VK_F17Virtual Keys.- See Also:
-
VK_F18
public static final int VK_F18Virtual Keys.- See Also:
-
VK_F19
public static final int VK_F19Virtual Keys.- See Also:
-
VK_F20
public static final int VK_F20Virtual Keys.- See Also:
-
VK_F21
public static final int VK_F21Virtual Keys.- See Also:
-
VK_F22
public static final int VK_F22Virtual Keys.- See Also:
-
VK_F23
public static final int VK_F23Virtual Keys.- See Also:
-
VK_F24
public static final int VK_F24Virtual Keys.- See Also:
-
VK_NUMLOCK
public static final int VK_NUMLOCKVirtual Keys.- See Also:
-
VK_SCROLL
public static final int VK_SCROLLVirtual Keys.- See Also:
-
VK_OEM_NEC_EQUAL
public static final int VK_OEM_NEC_EQUALVirtual Keys.- See Also:
-
VK_OEM_FJ_JISHO
public static final int VK_OEM_FJ_JISHOVirtual Keys.- See Also:
-
VK_OEM_FJ_MASSHOU
public static final int VK_OEM_FJ_MASSHOUVirtual Keys.- See Also:
-
VK_OEM_FJ_TOUROKU
public static final int VK_OEM_FJ_TOUROKUVirtual Keys.- See Also:
-
VK_OEM_FJ_LOYA
public static final int VK_OEM_FJ_LOYAVirtual Keys.- See Also:
-
VK_OEM_FJ_ROYA
public static final int VK_OEM_FJ_ROYAVirtual Keys.- See Also:
-
VK_LSHIFT
public static final int VK_LSHIFTVirtual Keys.- See Also:
-
VK_RSHIFT
public static final int VK_RSHIFTVirtual Keys.- See Also:
-
VK_LCONTROL
public static final int VK_LCONTROLVirtual Keys.- See Also:
-
VK_RCONTROL
public static final int VK_RCONTROLVirtual Keys.- See Also:
-
VK_LMENU
public static final int VK_LMENUVirtual Keys.- See Also:
-
VK_RMENU
public static final int VK_RMENUVirtual Keys.- See Also:
-
VK_BROWSER_BACK
public static final int VK_BROWSER_BACKVirtual Keys.- See Also:
-
VK_BROWSER_FORWARD
public static final int VK_BROWSER_FORWARDVirtual Keys.- See Also:
-
VK_BROWSER_REFRESH
public static final int VK_BROWSER_REFRESHVirtual Keys.- See Also:
-
VK_BROWSER_STOP
public static final int VK_BROWSER_STOPVirtual Keys.- See Also:
-
VK_BROWSER_SEARCH
public static final int VK_BROWSER_SEARCHVirtual Keys.- See Also:
-
VK_BROWSER_FAVORITES
public static final int VK_BROWSER_FAVORITESVirtual Keys.- See Also:
-
VK_BROWSER_HOME
public static final int VK_BROWSER_HOMEVirtual Keys.- See Also:
-
VK_VOLUME_MUTE
public static final int VK_VOLUME_MUTEVirtual Keys.- See Also:
-
VK_VOLUME_DOWN
public static final int VK_VOLUME_DOWNVirtual Keys.- See Also:
-
VK_VOLUME_UP
public static final int VK_VOLUME_UPVirtual Keys.- See Also:
-
VK_MEDIA_NEXT_TRACK
public static final int VK_MEDIA_NEXT_TRACKVirtual Keys.- See Also:
-
VK_MEDIA_PREV_TRACK
public static final int VK_MEDIA_PREV_TRACKVirtual Keys.- See Also:
-
VK_MEDIA_STOP
public static final int VK_MEDIA_STOPVirtual Keys.- See Also:
-
VK_MEDIA_PLAY_PAUSE
public static final int VK_MEDIA_PLAY_PAUSEVirtual Keys.- See Also:
-
VK_LAUNCH_MAIL
public static final int VK_LAUNCH_MAILVirtual Keys.- See Also:
-
VK_LAUNCH_MEDIA_SELECT
public static final int VK_LAUNCH_MEDIA_SELECTVirtual Keys.- See Also:
-
VK_LAUNCH_APP1
public static final int VK_LAUNCH_APP1Virtual Keys.- See Also:
-
VK_LAUNCH_APP2
public static final int VK_LAUNCH_APP2Virtual Keys.- See Also:
-
VK_OEM_1
public static final int VK_OEM_1Virtual Keys.- See Also:
-
VK_OEM_PLUS
public static final int VK_OEM_PLUSVirtual Keys.- See Also:
-
VK_OEM_COMMA
public static final int VK_OEM_COMMAVirtual Keys.- See Also:
-
VK_OEM_MINUS
public static final int VK_OEM_MINUSVirtual Keys.- See Also:
-
VK_OEM_PERIOD
public static final int VK_OEM_PERIODVirtual Keys.- See Also:
-
VK_OEM_2
public static final int VK_OEM_2Virtual Keys.- See Also:
-
VK_OEM_3
public static final int VK_OEM_3Virtual Keys.- See Also:
-
VK_OEM_4
public static final int VK_OEM_4Virtual Keys.- See Also:
-
VK_OEM_5
public static final int VK_OEM_5Virtual Keys.- See Also:
-
VK_OEM_6
public static final int VK_OEM_6Virtual Keys.- See Also:
-
VK_OEM_7
public static final int VK_OEM_7Virtual Keys.- See Also:
-
VK_OEM_8
public static final int VK_OEM_8Virtual Keys.- See Also:
-
VK_OEM_AX
public static final int VK_OEM_AXVirtual Keys.- See Also:
-
VK_OEM_102
public static final int VK_OEM_102Virtual Keys.- See Also:
-
VK_ICO_HELP
public static final int VK_ICO_HELPVirtual Keys.- See Also:
-
VK_ICO_00
public static final int VK_ICO_00Virtual Keys.- See Also:
-
VK_PROCESSKEY
public static final int VK_PROCESSKEYVirtual Keys.- See Also:
-
VK_ICO_CLEAR
public static final int VK_ICO_CLEARVirtual Keys.- See Also:
-
VK_PACKET
public static final int VK_PACKETVirtual Keys.- See Also:
-
VK_OEM_RESET
public static final int VK_OEM_RESETVirtual Keys.- See Also:
-
VK_OEM_JUMP
public static final int VK_OEM_JUMPVirtual Keys.- See Also:
-
VK_OEM_PA1
public static final int VK_OEM_PA1Virtual Keys.- See Also:
-
VK_OEM_PA2
public static final int VK_OEM_PA2Virtual Keys.- See Also:
-
VK_OEM_PA3
public static final int VK_OEM_PA3Virtual Keys.- See Also:
-
VK_OEM_WSCTRL
public static final int VK_OEM_WSCTRLVirtual Keys.- See Also:
-
VK_OEM_CUSEL
public static final int VK_OEM_CUSELVirtual Keys.- See Also:
-
VK_OEM_ATTN
public static final int VK_OEM_ATTNVirtual Keys.- See Also:
-
VK_OEM_FINISH
public static final int VK_OEM_FINISHVirtual Keys.- See Also:
-
VK_OEM_COPY
public static final int VK_OEM_COPYVirtual Keys.- See Also:
-
VK_OEM_AUTO
public static final int VK_OEM_AUTOVirtual Keys.- See Also:
-
VK_OEM_ENLW
public static final int VK_OEM_ENLWVirtual Keys.- See Also:
-
VK_OEM_BACKTAB
public static final int VK_OEM_BACKTABVirtual Keys.- See Also:
-
VK_ATTN
public static final int VK_ATTNVirtual Keys.- See Also:
-
VK_CRSEL
public static final int VK_CRSELVirtual Keys.- See Also:
-
VK_EXSEL
public static final int VK_EXSELVirtual Keys.- See Also:
-
VK_EREOF
public static final int VK_EREOFVirtual Keys.- See Also:
-
VK_PLAY
public static final int VK_PLAYVirtual Keys.- See Also:
-
VK_ZOOM
public static final int VK_ZOOMVirtual Keys.- See Also:
-
VK_NONAME
public static final int VK_NONAMEVirtual Keys.- See Also:
-
VK_PA1
public static final int VK_PA1Virtual Keys.- See Also:
-
VK_OEM_CLEAR
public static final int VK_OEM_CLEARVirtual Keys.- See Also:
-
XBUTTON1
public static final int XBUTTON1XButton values.- See Also:
-
XBUTTON2
public static final int XBUTTON2XButton values.- See Also:
-
WHEEL_DELTA
public static final int WHEEL_DELTAValue for rolling one detent.- See Also:
-
DPI_AWARENESS_INVALID
public static final int DPI_AWARENESS_INVALIDIdentifies the dots per inch (dpi) setting for a thread, process, or window. (DPI_AWARENESS
)Enum values:
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.
- See Also:
-
DPI_AWARENESS_UNAWARE
public static final int DPI_AWARENESS_UNAWAREIdentifies the dots per inch (dpi) setting for a thread, process, or window. (DPI_AWARENESS
)Enum values:
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.
- See Also:
-
DPI_AWARENESS_SYSTEM_AWARE
public static final int DPI_AWARENESS_SYSTEM_AWAREIdentifies the dots per inch (dpi) setting for a thread, process, or window. (DPI_AWARENESS
)Enum values:
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.
- See Also:
-
DPI_AWARENESS_PER_MONITOR_AWARE
public static final int DPI_AWARENESS_PER_MONITOR_AWAREIdentifies the dots per inch (dpi) setting for a thread, process, or window. (DPI_AWARENESS
)Enum values:
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.
- See Also:
-
DPI_AWARENESS_CONTEXT_UNAWARE
public static final long DPI_AWARENESS_CONTEXT_UNAWAREDPI 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.
- See Also:
-
DPI_AWARENESS_CONTEXT_SYSTEM_AWARE
public static final long DPI_AWARENESS_CONTEXT_SYSTEM_AWARESystem DPI 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.
- See Also:
-
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE
public static final long DPI_AWARENESS_CONTEXT_PER_MONITOR_AWAREPer monitor DPI 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.
- See Also:
-
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
public static final long DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2Also known as Per Monitor 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:
- Child window DPI change notifications - In Per Monitor v2 contexts, the entire window tree is notified of any DPI changes that occur.
- Scaling of non-client area - All windows will automatically have their non-client area drawn in a DPI sensitive fashion. Calls to
EnableNonClientDpiScaling
are unnecessary. - Scaling of Win32 menus - All
NTUSER
menus created in Per Monitor v2 contexts will be scaling in a per-monitor fashion. - Dialog Scaling - Win32 dialogs created in Per Monitor v2 contexts will automatically respond to DPI changes.
- Improved scaling of
comctl32
controls - Variouscomctl32
controls have improved DPI scaling behavior in Per Monitor v2 contexts. - Improved theming behavior -
UxTheme
handles opened in the context of a Per Monitor v2 window will operate in terms of the DPI associated with that window.
- See Also:
-
WPF_SETMINPOSITION
public static final int WPF_SETMINPOSITIONWINDOWPLACEMENT
flags.- See Also:
-
WPF_RESTORETOMAXIMIZED
public static final int WPF_RESTORETOMAXIMIZEDWINDOWPLACEMENT
flags.- See Also:
-
WPF_ASYNCWINDOWPLACEMENT
public static final int WPF_ASYNCWINDOWPLACEMENTWINDOWPLACEMENT
flags.- See Also:
-
LWA_COLORKEY
public static final int LWA_COLORKEYActions forSetLayeredWindowAttributes(long, int, byte, int)
.- See Also:
-
LWA_ALPHA
public static final int LWA_ALPHAActions forSetLayeredWindowAttributes(long, int, byte, int)
.- See Also:
-
SM_CXSCREEN
public static final int SM_CXSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CYSCREEN
public static final int SM_CYSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CXVSCROLL
public static final int SM_CXVSCROLLGetSystemMetrics(int)
codes.- See Also:
-
SM_CYHSCROLL
public static final int SM_CYHSCROLLGetSystemMetrics(int)
codes.- See Also:
-
SM_CYCAPTION
public static final int SM_CYCAPTIONGetSystemMetrics(int)
codes.- See Also:
-
SM_CXBORDER
public static final int SM_CXBORDERGetSystemMetrics(int)
codes.- See Also:
-
SM_CYBORDER
public static final int SM_CYBORDERGetSystemMetrics(int)
codes.- See Also:
-
SM_CXDLGFRAME
public static final int SM_CXDLGFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYDLGFRAME
public static final int SM_CYDLGFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYVTHUMB
public static final int SM_CYVTHUMBGetSystemMetrics(int)
codes.- See Also:
-
SM_CXHTHUMB
public static final int SM_CXHTHUMBGetSystemMetrics(int)
codes.- See Also:
-
SM_CXICON
public static final int SM_CXICONGetSystemMetrics(int)
codes.- See Also:
-
SM_CYICON
public static final int SM_CYICONGetSystemMetrics(int)
codes.- See Also:
-
SM_CXCURSOR
public static final int SM_CXCURSORGetSystemMetrics(int)
codes.- See Also:
-
SM_CYCURSOR
public static final int SM_CYCURSORGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMENU
public static final int SM_CYMENUGetSystemMetrics(int)
codes.- See Also:
-
SM_CXFULLSCREEN
public static final int SM_CXFULLSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CYFULLSCREEN
public static final int SM_CYFULLSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CYKANJIWINDOW
public static final int SM_CYKANJIWINDOWGetSystemMetrics(int)
codes.- See Also:
-
SM_MOUSEPRESENT
public static final int SM_MOUSEPRESENTGetSystemMetrics(int)
codes.- See Also:
-
SM_CYVSCROLL
public static final int SM_CYVSCROLLGetSystemMetrics(int)
codes.- See Also:
-
SM_CXHSCROLL
public static final int SM_CXHSCROLLGetSystemMetrics(int)
codes.- See Also:
-
SM_DEBUG
public static final int SM_DEBUGGetSystemMetrics(int)
codes.- See Also:
-
SM_SWAPBUTTON
public static final int SM_SWAPBUTTONGetSystemMetrics(int)
codes.- See Also:
-
SM_RESERVED1
public static final int SM_RESERVED1GetSystemMetrics(int)
codes.- See Also:
-
SM_RESERVED2
public static final int SM_RESERVED2GetSystemMetrics(int)
codes.- See Also:
-
SM_RESERVED3
public static final int SM_RESERVED3GetSystemMetrics(int)
codes.- See Also:
-
SM_RESERVED4
public static final int SM_RESERVED4GetSystemMetrics(int)
codes.- See Also:
-
SM_CXMIN
public static final int SM_CXMINGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMIN
public static final int SM_CYMINGetSystemMetrics(int)
codes.- See Also:
-
SM_CXSIZE
public static final int SM_CXSIZEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYSIZE
public static final int SM_CYSIZEGetSystemMetrics(int)
codes.- See Also:
-
SM_CXFRAME
public static final int SM_CXFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYFRAME
public static final int SM_CYFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMINTRACK
public static final int SM_CXMINTRACKGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMINTRACK
public static final int SM_CYMINTRACKGetSystemMetrics(int)
codes.- See Also:
-
SM_CXDOUBLECLK
public static final int SM_CXDOUBLECLKGetSystemMetrics(int)
codes.- See Also:
-
SM_CYDOUBLECLK
public static final int SM_CYDOUBLECLKGetSystemMetrics(int)
codes.- See Also:
-
SM_CXICONSPACING
public static final int SM_CXICONSPACINGGetSystemMetrics(int)
codes.- See Also:
-
SM_CYICONSPACING
public static final int SM_CYICONSPACINGGetSystemMetrics(int)
codes.- See Also:
-
SM_MENUDROPALIGNMENT
public static final int SM_MENUDROPALIGNMENTGetSystemMetrics(int)
codes.- See Also:
-
SM_PENWINDOWS
public static final int SM_PENWINDOWSGetSystemMetrics(int)
codes.- See Also:
-
SM_DBCSENABLED
public static final int SM_DBCSENABLEDGetSystemMetrics(int)
codes.- See Also:
-
SM_CMOUSEBUTTONS
public static final int SM_CMOUSEBUTTONSGetSystemMetrics(int)
codes.- See Also:
-
SM_CXFIXEDFRAME
public static final int SM_CXFIXEDFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYFIXEDFRAME
public static final int SM_CYFIXEDFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CXSIZEFRAME
public static final int SM_CXSIZEFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYSIZEFRAME
public static final int SM_CYSIZEFRAMEGetSystemMetrics(int)
codes.- See Also:
-
SM_SECURE
public static final int SM_SECUREGetSystemMetrics(int)
codes.- See Also:
-
SM_CXEDGE
public static final int SM_CXEDGEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYEDGE
public static final int SM_CYEDGEGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMINSPACING
public static final int SM_CXMINSPACINGGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMINSPACING
public static final int SM_CYMINSPACINGGetSystemMetrics(int)
codes.- See Also:
-
SM_CXSMICON
public static final int SM_CXSMICONGetSystemMetrics(int)
codes.- See Also:
-
SM_CYSMICON
public static final int SM_CYSMICONGetSystemMetrics(int)
codes.- See Also:
-
SM_CYSMCAPTION
public static final int SM_CYSMCAPTIONGetSystemMetrics(int)
codes.- See Also:
-
SM_CXSMSIZE
public static final int SM_CXSMSIZEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYSMSIZE
public static final int SM_CYSMSIZEGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMENUSIZE
public static final int SM_CXMENUSIZEGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMENUSIZE
public static final int SM_CYMENUSIZEGetSystemMetrics(int)
codes.- See Also:
-
SM_ARRANGE
public static final int SM_ARRANGEGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMINIMIZED
public static final int SM_CXMINIMIZEDGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMINIMIZED
public static final int SM_CYMINIMIZEDGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMAXTRACK
public static final int SM_CXMAXTRACKGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMAXTRACK
public static final int SM_CYMAXTRACKGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMAXIMIZED
public static final int SM_CXMAXIMIZEDGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMAXIMIZED
public static final int SM_CYMAXIMIZEDGetSystemMetrics(int)
codes.- See Also:
-
SM_NETWORK
public static final int SM_NETWORKGetSystemMetrics(int)
codes.- See Also:
-
SM_CLEANBOOT
public static final int SM_CLEANBOOTGetSystemMetrics(int)
codes.- See Also:
-
SM_CXDRAG
public static final int SM_CXDRAGGetSystemMetrics(int)
codes.- See Also:
-
SM_CYDRAG
public static final int SM_CYDRAGGetSystemMetrics(int)
codes.- See Also:
-
SM_SHOWSOUNDS
public static final int SM_SHOWSOUNDSGetSystemMetrics(int)
codes.- See Also:
-
SM_CXMENUCHECK
public static final int SM_CXMENUCHECKGetSystemMetrics(int)
codes.- See Also:
-
SM_CYMENUCHECK
public static final int SM_CYMENUCHECKGetSystemMetrics(int)
codes.- See Also:
-
SM_SLOWMACHINE
public static final int SM_SLOWMACHINEGetSystemMetrics(int)
codes.- See Also:
-
SM_MIDEASTENABLED
public static final int SM_MIDEASTENABLEDGetSystemMetrics(int)
codes.- See Also:
-
SM_MOUSEWHEELPRESENT
public static final int SM_MOUSEWHEELPRESENTGetSystemMetrics(int)
codes.- See Also:
-
SM_XVIRTUALSCREEN
public static final int SM_XVIRTUALSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_YVIRTUALSCREEN
public static final int SM_YVIRTUALSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CXVIRTUALSCREEN
public static final int SM_CXVIRTUALSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CYVIRTUALSCREEN
public static final int SM_CYVIRTUALSCREENGetSystemMetrics(int)
codes.- See Also:
-
SM_CMONITORS
public static final int SM_CMONITORSGetSystemMetrics(int)
codes.- See Also:
-
SM_SAMEDISPLAYFORMAT
public static final int SM_SAMEDISPLAYFORMATGetSystemMetrics(int)
codes.- See Also:
-
SM_IMMENABLED
public static final int SM_IMMENABLEDGetSystemMetrics(int)
codes.- See Also:
-
SM_REMOTESESSION
public static final int SM_REMOTESESSIONGetSystemMetrics(int)
codes.- See Also:
-
SM_SHUTTINGDOWN
public static final int SM_SHUTTINGDOWNGetSystemMetrics(int)
codes.- See Also:
-
SM_REMOTECONTROL
public static final int SM_REMOTECONTROLGetSystemMetrics(int)
codes.- See Also:
-
SM_CARETBLINKINGENABLED
public static final int SM_CARETBLINKINGENABLEDGetSystemMetrics(int)
codes.- See Also:
-
SM_CXFOCUSBORDER
public static final int SM_CXFOCUSBORDERGetSystemMetrics(int)
codes.- See Also:
-
SM_CYFOCUSBORDER
public static final int SM_CYFOCUSBORDERGetSystemMetrics(int)
codes.- See Also:
-
SM_TABLETPC
public static final int SM_TABLETPCGetSystemMetrics(int)
codes.- See Also:
-
SM_MEDIACENTER
public static final int SM_MEDIACENTERGetSystemMetrics(int)
codes.- See Also:
-
SM_STARTER
public static final int SM_STARTERGetSystemMetrics(int)
codes.- See Also:
-
SM_SERVERR2
public static final int SM_SERVERR2GetSystemMetrics(int)
codes.- See Also:
-
SM_MOUSEHORIZONTALWHEELPRESENT
public static final int SM_MOUSEHORIZONTALWHEELPRESENTGetSystemMetrics(int)
codes.- See Also:
-
SM_CXPADDEDBORDER
public static final int SM_CXPADDEDBORDERGetSystemMetrics(int)
codes.- See Also:
-
SM_DIGITIZER
public static final int SM_DIGITIZERGetSystemMetrics(int)
codes.- See Also:
-
SM_MAXIMUMTOUCHES
public static final int SM_MAXIMUMTOUCHESGetSystemMetrics(int)
codes.- See Also:
-
TWF_FINETOUCH
public static final int TWF_FINETOUCH- See Also:
-
TWF_WANTPALM
public static final int TWF_WANTPALM- See Also:
-
TOUCHEVENTF_MOVE
public static final int TOUCHEVENTF_MOVETouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_DOWN
public static final int TOUCHEVENTF_DOWNTouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_UP
public static final int TOUCHEVENTF_UPTouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_INRANGE
public static final int TOUCHEVENTF_INRANGETouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_PRIMARY
public static final int TOUCHEVENTF_PRIMARYTouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_NOCOALESCE
public static final int TOUCHEVENTF_NOCOALESCETouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_PEN
public static final int TOUCHEVENTF_PENTouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHEVENTF_PALM
public static final int TOUCHEVENTF_PALMTouch input flag values (TOUCHINPUT.dwFlags()
).- See Also:
-
TOUCHINPUTMASKF_TIMEFROMSYSTEM
public static final int TOUCHINPUTMASKF_TIMEFROMSYSTEMTouch input mask values (TOUCHINPUT.dwMask()
).- See Also:
-
TOUCHINPUTMASKF_EXTRAINFO
public static final int TOUCHINPUTMASKF_EXTRAINFOTouch input mask values (TOUCHINPUT.dwMask()
).- See Also:
-
TOUCHINPUTMASKF_CONTACTAREA
public static final int TOUCHINPUTMASKF_CONTACTAREATouch input mask values (TOUCHINPUT.dwMask()
).- See Also:
-
MONITOR_DEFAULTTONULL
public static final int MONITOR_DEFAULTTONULLMonitorFromWindow(long, int)
flags.- See Also:
-
MONITOR_DEFAULTTOPRIMARY
public static final int MONITOR_DEFAULTTOPRIMARYMonitorFromWindow(long, int)
flags.- See Also:
-
MONITOR_DEFAULTTONEAREST
public static final int MONITOR_DEFAULTTONEARESTMonitorFromWindow(long, int)
flags.- See Also:
-
MONITORINFOF_PRIMARY
public static final int MONITORINFOF_PRIMARYMONITORINFOEX
flags.- See Also:
-
EDD_GET_DEVICE_INTERFACE_NAME
public static final int EDD_GET_DEVICE_INTERFACE_NAMEFlag forEnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
.- See Also:
-
ENUM_CURRENT_SETTINGS
public static final int ENUM_CURRENT_SETTINGS- See Also:
-
ENUM_REGISTRY_SETTINGS
public static final int ENUM_REGISTRY_SETTINGS- See Also:
-
EDS_RAWMODE
public static final int EDS_RAWMODE- See Also:
-
EDS_ROTATEDMODE
public static final int EDS_ROTATEDMODE- See Also:
-
CDS_UPDATEREGISTRY
public static final int CDS_UPDATEREGISTRYFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_TEST
public static final int CDS_TESTFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_FULLSCREEN
public static final int CDS_FULLSCREENFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_GLOBAL
public static final int CDS_GLOBALFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_SET_PRIMARY
public static final int CDS_SET_PRIMARYFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_VIDEOPARAMETERS
public static final int CDS_VIDEOPARAMETERSFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_ENABLE_UNSAFE_MODES
public static final int CDS_ENABLE_UNSAFE_MODESFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_DISABLE_UNSAFE_MODES
public static final int CDS_DISABLE_UNSAFE_MODESFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_RESET
public static final int CDS_RESETFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_RESET_EX
public static final int CDS_RESET_EXFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
CDS_NORESET
public static final int CDS_NORESETFlags forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_SUCCESSFUL
public static final int DISP_CHANGE_SUCCESSFULReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_RESTART
public static final int DISP_CHANGE_RESTARTReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_FAILED
public static final int DISP_CHANGE_FAILEDReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_BADMODE
public static final int DISP_CHANGE_BADMODEReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_NOTUPDATED
public static final int DISP_CHANGE_NOTUPDATEDReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_BADFLAGS
public static final int DISP_CHANGE_BADFLAGSReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_BADPARAM
public static final int DISP_CHANGE_BADPARAMReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
DISP_CHANGE_BADDUALVIEW
public static final int DISP_CHANGE_BADDUALVIEWReturn values forChangeDisplaySettingsEx(java.nio.ByteBuffer, org.lwjgl.system.windows.DEVMODE, long, int, long)
.- See Also:
-
INPUT_MOUSE
public static final int INPUT_MOUSEThe type of input event.- See Also:
-
INPUT_KEYBOARD
public static final int INPUT_KEYBOARDThe type of input event.- See Also:
-
INPUT_HARDWARE
public static final int INPUT_HARDWAREThe type of input event.- See Also:
-
MOUSEEVENTF_ABSOLUTE
public static final int MOUSEEVENTF_ABSOLUTEMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_HWHEEL
public static final int MOUSEEVENTF_HWHEELMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_MOVE
public static final int MOUSEEVENTF_MOVEMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_MOVE_NOCOALESCE
public static final int MOUSEEVENTF_MOVE_NOCOALESCEMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_LEFTDOWN
public static final int MOUSEEVENTF_LEFTDOWNMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_LEFTUP
public static final int MOUSEEVENTF_LEFTUPMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_RIGHTDOWN
public static final int MOUSEEVENTF_RIGHTDOWNMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_RIGHTUP
public static final int MOUSEEVENTF_RIGHTUPMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_MIDDLEDOWN
public static final int MOUSEEVENTF_MIDDLEDOWNMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_MIDDLEUP
public static final int MOUSEEVENTF_MIDDLEUPMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_VIRTUALDESK
public static final int MOUSEEVENTF_VIRTUALDESKMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_WHEEL
public static final int MOUSEEVENTF_WHEELMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_XDOWN
public static final int MOUSEEVENTF_XDOWNMOUSEINPUT
flags.- See Also:
-
MOUSEEVENTF_XUP
public static final int MOUSEEVENTF_XUPMOUSEINPUT
flags.- See Also:
-
KEYEVENTF_EXTENDEDKEY
public static final int KEYEVENTF_EXTENDEDKEYKEYBDINPUT
flags.- See Also:
-
KEYEVENTF_KEYUP
public static final int KEYEVENTF_KEYUPKEYBDINPUT
flags.- See Also:
-
KEYEVENTF_SCANCODE
public static final int KEYEVENTF_SCANCODEKEYBDINPUT
flags.- See Also:
-
KEYEVENTF_UNICODE
public static final int KEYEVENTF_UNICODEKEYBDINPUT
flags.- See Also:
-
-
Method Details
-
getLibrary
Returns the user32SharedLibrary
. -
nRegisterClassEx
public static short nRegisterClassEx(long lpwcx, long __functionAddress) Unsafe version of:RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
-
nRegisterClassEx
public static short nRegisterClassEx(long lpwcx) Unsafe version of:RegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
-
RegisterClassEx
Registers a window class for subsequent use in calls to theCreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function.- Parameters:
lpwcx
- aWNDCLASSEX
structure. You must fill the structure with the appropriate class attributes before passing it to the function.
-
nUnregisterClass
public static int nUnregisterClass(long lpClassName, long hInstance, long __functionAddress) Unsafe version of:UnregisterClass(java.nio.ByteBuffer, long)
-
nUnregisterClass
public static int nUnregisterClass(long lpClassName, long hInstance) Unsafe version of:UnregisterClass(java.nio.ByteBuffer, long)
-
UnregisterClass
Unregisters a window class, freeing the memory required for the class.- Parameters:
lpClassName
- a null-terminated string or a class atom. IflpClassName
is a string, it specifies the window class name. This class name must have been registered by a previous call to theRegisterClassEx(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 theRegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
function. The atom must be in the low-order word oflpClassName
; the high-order word must be zero.hInstance
- a handle to the instance of the module that created the class
-
UnregisterClass
Unregisters a window class, freeing the memory required for the class.- Parameters:
lpClassName
- a null-terminated string or a class atom. IflpClassName
is a string, it specifies the window class name. This class name must have been registered by a previous call to theRegisterClassEx(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 theRegisterClassEx(org.lwjgl.system.windows.WNDCLASSEX)
function. The atom must be in the low-order word oflpClassName
; the high-order word must be zero.hInstance
- a handle to the instance of the module that created the class
-
nCreateWindowEx
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, long __functionAddress) -
nCreateWindowEx
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) -
CreateWindowEx
public static long CreateWindowEx(int dwExStyle, @Nullable ByteBuffer lpClassName, @Nullable ByteBuffer lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, long hWndParent, long hMenu, long hInstance, long lpParam) Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function.- Parameters:
dwExStyle
- the extended window style of the window being createdlpClassName
- a null-terminated string or a class atom created by a previous call to theRegisterClassEx(WNDCLASSEX)
function.lpWindowName
- the window name. If the window style specifies a title bar, the window title pointed to bylpWindowName
is displayed in the title bar.dwStyle
- the style of the window being createdx
- the initial horizontal position of the windowy
- the initial vertical position of the windownWidth
- the width, in device units, of the windownHeight
- the height, in device units, of the windowhWndParent
- a handle to the parent or owner window of the window being created. To create a child window or an owned window, supply a valid window handle.hMenu
- a handle to a menu, or specifies a child-window identifier, depending on the window stylehInstance
- a handle to the instance of the module to be associated with the windowlpParam
- a value to be passed to the window through theCREATESTRUCT
structure (createParams
member) pointed to by thelParam
param of theWM_CREATE
message.
-
CreateWindowEx
public static long CreateWindowEx(int dwExStyle, @Nullable CharSequence lpClassName, @Nullable CharSequence lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, long hWndParent, long hMenu, long hInstance, long lpParam) Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function.- Parameters:
dwExStyle
- the extended window style of the window being createdlpClassName
- a null-terminated string or a class atom created by a previous call to theRegisterClassEx(WNDCLASSEX)
function.lpWindowName
- the window name. If the window style specifies a title bar, the window title pointed to bylpWindowName
is displayed in the title bar.dwStyle
- the style of the window being createdx
- the initial horizontal position of the windowy
- the initial vertical position of the windownWidth
- the width, in device units, of the windownHeight
- the height, in device units, of the windowhWndParent
- a handle to the parent or owner window of the window being created. To create a child window or an owned window, supply a valid window handle.hMenu
- a handle to a menu, or specifies a child-window identifier, depending on the window stylehInstance
- a handle to the instance of the module to be associated with the windowlpParam
- a value to be passed to the window through theCREATESTRUCT
structure (createParams
member) pointed to by thelParam
param of theWM_CREATE
message.
-
nDestroyWindow
public static int nDestroyWindow(long hWnd, long __functionAddress) Unsafe version of:DestroyWindow(long)
-
DestroyWindow
public static boolean DestroyWindow(long hWnd) Destroys the specified window. The function sendsWM_DESTROY
andWM_NCDESTROY
messages to the window to deactivate it and remove the keyboard focus from it. The function also destroys the window's menu, flushes the thread message queue, destroys timers, removes clipboard ownership, and breaks the clipboard viewer chain (if the window is at the top of the viewer chain).If the specified window is a parent or owner window, DestroyWindow automatically destroys the associated child or owned windows when it destroys the parent or owner window. The function first destroys child or owned windows, and then it destroys the parent or owner window.
- Parameters:
hWnd
- a handle to the window to be destroyed
-
DefWindowProc
public static long DefWindowProc(long hWnd, int Msg, long wParam, long lParam) Calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.- Parameters:
hWnd
- a handle to the window that received the messageMsg
- the messagewParam
- additional message information. The content of this parameter depends on the value of theMsg
parameter.lParam
- additional message information. The content of this parameter depends on the value of theMsg
parameter.
-
nCallWindowProc
public 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)
-
CallWindowProc
public static long CallWindowProc(WindowProcI lpPrevWndFunc, long hWnd, int Msg, long wParam, long lParam) Passes message information to the specified window procedure.- Parameters:
lpPrevWndFunc
- the previous window procedure.If this value is obtained by calling the
GetWindowLongPtr(long, int)
function with thenIndex
parameter set toGWL_WNDPROC
orDWL_DLGPROC
, it is actually either the address of a window or dialog box procedure, or a special internal value meaningful only toCallWindowProc
.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 theMsg
parameter.lParam
- additional message information. The content of this parameter depends on the value of theMsg
parameter.
-
ShowWindow
public static boolean ShowWindow(long hWnd, int nCmdShow) Sets the specified window's show state.- Parameters:
hWnd
- a handle to the windownCmdShow
- controls how the window is to be shown. This parameter is ignored the first time an application callsShowWindow
, if the program that launched the application provides aSTARTUPINFO
structure. Otherwise, the first timeShowWindow
is called, the value should be the value obtained by theWinMain
function in itsnCmdShow
parameter. In subsequent calls, this parameter can be one of: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
-
UpdateWindow
public static boolean UpdateWindow(long hWnd) Updates the client area of the specified window by sending aWM_PAINT
message to the window if the window's update region is not empty. The function sends aWM_PAINT
message directly to the window procedure of the specified window, bypassing the application queue. If the update region is empty, no message is sent.- Parameters:
hWnd
- handle to the window to be updated
-
nSetWindowPos
public 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)
-
SetWindowPos
public static boolean SetWindowPos(long hWnd, long hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags) Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order.- Parameters:
hWnd
- a handle to the windowhWndInsertAfter
- a handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of: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:
-
nSetWindowText
public static int nSetWindowText(long hWnd, long lpString, long __functionAddress) Unsafe version of:SetWindowText(long, java.nio.ByteBuffer)
-
nSetWindowText
public static int nSetWindowText(long hWnd, long lpString) Unsafe version of:SetWindowText(long, java.nio.ByteBuffer)
-
SetWindowText
Changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However,SetWindowText
cannot change the text of a control in another application.- Parameters:
hWnd
- a handle to the window or control whose text is to be changedlpString
- the new title or control text
-
SetWindowText
Changes the text of the specified window's title bar (if it has one). If the specified window is a control, the text of the control is changed. However,SetWindowText
cannot change the text of a control in another application.- Parameters:
hWnd
- a handle to the window or control whose text is to be changedlpString
- the new title or control text
-
nGetMessage
public 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)
-
nGetMessage
public static int nGetMessage(long lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax) Unsafe version of:GetMessage(org.lwjgl.system.windows.MSG, long, int, int)
-
GetMessage
Retrieves a message from the calling thread's message queue. The function dispatches incoming sent messages until a posted message is available for retrieval. Unlike GetMessage, thePeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function does not wait for a message to be posted before returning.- Parameters:
lpMsg
- a pointer to anMSG
structure that receives message information from the thread's message queuehWnd
- a handle to the window whose messages are to be retrieved. The window must belong to the current thread.If
hWnd
isNULL
,GetMessage
retrieves messages for any window that belongs to the current thread, and any messages on the current thread's message queue whosehwnd
value isNULL
(see theMSG
structure). Therefore ifhWnd
isNULL
, both window messages and thread messages are processed.If
hWnd
is -1,GetMessage
retrieves only messages on the current thread's message queue whosehwnd
value isNULL
, that is, thread messages as posted byPostMessage(long, int, long, long)
(when thehWnd
parameter isNULL
) orPostThreadMessage
.wMsgFilterMin
- the integer value of the lowest message value to be retrievedwMsgFilterMax
- the integer value of the highest message value to be retrieved
-
nPeekMessage
public 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)
-
PeekMessage
public static boolean PeekMessage(MSG lpMsg, long hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg) Dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).- Parameters:
lpMsg
- a pointer to anMSG
structure that receives message informationhWnd
- a handle to the window whose messages are to be retrieved. The window must belong to the current thread.If
hWnd
isNULL
,GetMessage
retrieves messages for any window that belongs to the current thread, and any messages on the current thread's message queue whosehwnd
value isNULL
(see theMSG
structure). Therefore ifhWnd
isNULL
, both window messages and thread messages are processed.If
hWnd
is -1,GetMessage
retrieves only messages on the current thread's message queue whosehwnd
value isNULL
, that is, thread messages as posted byPostMessage(long, int, long, long)
(when thehWnd
parameter isNULL
) orPostThreadMessage
.wMsgFilterMin
- the integer value of the lowest message value to be retrievedwMsgFilterMax
- the integer value of the highest message value to be retrievedwRemoveMsg
- specifies how messages are to be handled. One of:PM_NOREMOVE
PM_REMOVE
PM_NOYIELD
-
nTranslateMessage
public static int nTranslateMessage(long lpMsg) Unsafe version of:TranslateMessage(org.lwjgl.system.windows.MSG)
-
TranslateMessage
Translates virtual-key messages into character messages. The character messages are posted to the calling thread's message queue, to be read the next time the thread calls theGetMessage(org.lwjgl.system.windows.MSG, long, int, int)
orPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function.- Parameters:
lpMsg
- anMSG
structure that contains message information retrieved from the calling thread's message queue by using theGetMessage(org.lwjgl.system.windows.MSG, long, int, int)
orPeekMessage(org.lwjgl.system.windows.MSG, long, int, int, int)
function.
-
nWaitMessage
public static int nWaitMessage(long __functionAddress) Unsafe version of:WaitMessage()
-
WaitMessage
public static boolean WaitMessage()Yields control to other threads when a thread has no other messages in its message queue. The WaitMessage function suspends the thread and does not return until a new message is placed in the thread's message queue. -
nDispatchMessage
public static long nDispatchMessage(long lpmsg) Unsafe version of:DispatchMessage(org.lwjgl.system.windows.MSG)
-
DispatchMessage
Dispatches a message to a window procedure. It is typically used to dispatch a message retrieved by theGetMessage(org.lwjgl.system.windows.MSG, long, int, int)
function.- Parameters:
lpmsg
- a pointer to a structure that contains the message.
-
nPostMessage
public static int nPostMessage(long hWnd, int Msg, long wParam, long lParam, long __functionAddress) Unsafe version of:PostMessage(long, int, long, long)
-
PostMessage
public static boolean PostMessage(long hWnd, int Msg, long wParam, long lParam) Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.- Parameters:
hWnd
- a handle to the window whose window procedure is to receive the message. The following values have special meanings:HWND_BROADCAST
- The message is posted to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows. The message is not posted to child windows.NULL
- The function behaves like a call to PostThreadMessage with the dwThreadId parameter set to the identifier of the current thread.
Msg
- the message to be postedwParam
- additional message-specific informationlParam
- additional message-specific information
-
nSendMessage
public static int nSendMessage(long hWnd, int Msg, long wParam, long lParam, long __functionAddress) Unsafe version of:SendMessage(long, int, long, long)
-
SendMessage
public static boolean SendMessage(long hWnd, int Msg, long wParam, long lParam) Sends the specified message to a window or windows. TheSendMessage
function calls the window procedure for the specified window and does not return until the window procedure has processed the message.- Parameters:
hWnd
- a handle to the window whose window procedure will receive the message. If this parameter isHWND_BROADCAST
, the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.Message sending is subject to UIPI. The thread of a process can send messages only to message queues of threads in processes of lesser or equal integrity level.
Msg
- the message to be sentwParam
- additional message-specific informationlParam
- additional message-specific information
-
nAdjustWindowRectEx
public 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)
-
nAdjustWindowRectEx
public static int nAdjustWindowRectEx(long lpRect, int dwStyle, int bMenu, int dwExStyle) Unsafe version of:AdjustWindowRectEx(org.lwjgl.system.windows.RECT, int, boolean, int)
-
AdjustWindowRectEx
Calculates the required size of the window rectangle, based on the desired size of the client rectangle. The window rectangle can then be passed to theCreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function to create a window whose client area is the desired size.- Parameters:
lpRect
- a pointer to aRECT
structure that contains the coordinates of the top-left and bottom-right corners of the desired client area. When the function returns, the structure contains the coordinates of the top-left and bottom-right corners of the window to accommodate the desired client area.dwStyle
- the window style of the window whose required size is to be calculated. Note that you cannot specify theWS_OVERLAPPED
style.bMenu
- indicates whether the window has a menudwExStyle
- the extended window style of the window whose required size is to be calculated
-
nGetWindowRect
public static int nGetWindowRect(long hWnd, long lpRect, long __functionAddress) Unsafe version of:GetWindowRect(long, org.lwjgl.system.windows.RECT)
-
nGetWindowRect
public static int nGetWindowRect(long hWnd, long lpRect) Unsafe version of:GetWindowRect(long, org.lwjgl.system.windows.RECT)
-
GetWindowRect
Retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.- Parameters:
hWnd
- a handle to the windowlpRect
- a pointer to aRECT
structure that receives the screen coordinates of the upper-left and lower-right corners of the window
-
nMoveWindow
public 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)
-
MoveWindow
public static boolean MoveWindow(long hWnd, int X, int Y, int nWidth, int nHeight, boolean bRepaint) Changes the position and dimensions of the specified window. For a top-level window, the position and dimensions are relative to the upper-left corner of the screen. For a child window, they are relative to the upper-left corner of the parent window's client area.- Parameters:
hWnd
- a handle to the windowX
- the new position of the left side of the windowY
- the new position of the top of the windownWidth
- the new width of the windownHeight
- the new height of the windowbRepaint
- indicates whether the window is to be repainted. If this parameter is TRUE, the window receives a message. If the parameter is FALSE, no repainting of any kind occurs. This applies to the client area, the nonclient area (including the title bar and scroll bars), and any part of the parent window uncovered as a result of moving a child window.
-
nGetWindowPlacement
public static int nGetWindowPlacement(long hWnd, long lpwndpl, long __functionAddress) Unsafe version of:GetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)
-
nGetWindowPlacement
public static int nGetWindowPlacement(long hWnd, long lpwndpl) Unsafe version of:GetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)
-
GetWindowPlacement
Retrieves the show state and the restored, minimized, and maximized positions of the specified window.- Parameters:
hWnd
- a handle to the windowlpwndpl
- a pointer to theWINDOWPLACEMENT
structure that receives the show state and position information.Before calling
GetWindowPlacement
, set the length member toWINDOWPLACEMENT.SIZEOF
.GetWindowPlacement
fails iflpwndpl->length
is not set correctly.
-
nSetWindowPlacement
public static int nSetWindowPlacement(long hWnd, long lpwndpl, long __functionAddress) Unsafe version of:SetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)
-
nSetWindowPlacement
public static int nSetWindowPlacement(long hWnd, long lpwndpl) Unsafe version of:SetWindowPlacement(long, org.lwjgl.system.windows.WINDOWPLACEMENT)
-
SetWindowPlacement
Sets the show state and the restored, minimized, and maximized positions of the specified window.- Parameters:
hWnd
- a handle to the windowlpwndpl
- a pointer to theWINDOWPLACEMENT
structure that specifies the new show state and window positions.Before calling
SetWindowPlacement
, set thelength
member of theWINDOWPLACEMENT
structure toWINDOWPLACEMENT.SIZEOF
.SetWindowPlacement
fails if the length member is not set correctly.
-
IsWindowVisible
public static boolean IsWindowVisible(long hWnd) Determines the visibility state of the specified window.- Parameters:
hWnd
- a handle to the window to be tested
-
IsIconic
public static boolean IsIconic(long hWnd) Determines whether the specified window is minimized (iconic).- Parameters:
hWnd
- a handle to the window to be tested
-
IsZoomed
public static boolean IsZoomed(long hWnd) Determines whether a window is maximized.- Parameters:
hWnd
- a handle to the window to be tested
-
BringWindowToTop
public static boolean BringWindowToTop(long hWnd) Brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.- Parameters:
hWnd
- a handle to the window to bring to the top of the Z order
-
nSetWindowLongPtr
public static long nSetWindowLongPtr(long hWnd, int nIndex, long dwNewLong, long __functionAddress) Unsafe version of:SetWindowLongPtr(long, int, long)
-
SetWindowLongPtr
public static long SetWindowLongPtr(long hWnd, int nIndex, long dwNewLong) Changes an attribute of the specified window. The function also sets a value at the specified offset in the extra window memory.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. To set any other value, specify one of:GWL_WNDPROC
GWL_HINSTANCE
GWL_HWNDPARENT
GWL_STYLE
GWL_EXSTYLE
GWL_USERDATA
GWL_ID
dwNewLong
- the replacement value- Returns:
- the previous value at the given
index
-
nGetWindowLongPtr
public static long nGetWindowLongPtr(long hWnd, int nIndex, long __functionAddress) Unsafe version of:GetWindowLongPtr(long, int)
-
GetWindowLongPtr
public static long GetWindowLongPtr(long hWnd, int nIndex) Retrieves information about the specified window. The function also retrieves the value at a specified offset into the extra window memory.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the zero-based offset to the value to be set. Valid values are in the range zero through the number of bytes of extra window memory, minus the size of an integer. To set any other value, specify one of:GWL_WNDPROC
GWL_HINSTANCE
GWL_HWNDPARENT
GWL_STYLE
GWL_EXSTYLE
GWL_USERDATA
GWL_ID
-
nSetClassLongPtr
public static long nSetClassLongPtr(long hWnd, int nIndex, long dwNewLong, long __functionAddress) Unsafe version of:SetClassLongPtr(long, int, long)
-
SetClassLongPtr
public static long SetClassLongPtr(long hWnd, int nIndex, long dwNewLong) Replaces the specified value at the specified offset in the extra class memory or theWNDCLASSEX
structure for the class to which the specified window belongs.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the value to be replaced. To set a value in the extra class memory, specify the positive, zero-based byte offset of the value to be set. Valid values are in the range zero through the number of bytes of extra class memory, minus eight; for example, if you specified 24 or more bytes of extra class memory, a value of 16 would be an index to the third integer. To set a value other than theWNDCLASSEX
structure, specify one of: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 value- Returns:
- if the function succeeds, the return value is the previous value of the specified offset. If this was not previously set, the return value is zero.
If the function fails, the return value is zero. To get extended error information, call
WinBase.getLastError()
.
-
nGetClassLongPtr
public static long nGetClassLongPtr(long hWnd, int nIndex, long __functionAddress) Unsafe version of:GetClassLongPtr(long, int)
-
GetClassLongPtr
public static long GetClassLongPtr(long hWnd, int nIndex) Retrieves the specified value from theWNDCLASSEX
structure associated with the specified window.- Parameters:
hWnd
- a handle to the window and, indirectly, the class to which the window belongsnIndex
- the value to be retrieved. To retrieve a value from the extra class memory, specify the positive, zero-based byte offset of the value to be retrieved. Valid values are in the range zero through the number of bytes of extra class memory, minus eight; for example, if you specified 24 or more bytes of extra class memory, a value of 16 would be an index to the third integer. To retrieve any other value from theWNDCLASSEX
structure, specify one of:GCL_MENUNAME
GCL_HBRBACKGROUND
GCL_HCURSOR
GCL_HICON
GCL_HMODULE
GCL_CBWNDEXTRA
GCL_CBCLSEXTRA
GCL_WNDPROC
GCL_STYLE
GCW_ATOM
GCL_HICONSM
-
nSetLayeredWindowAttributes
public static int nSetLayeredWindowAttributes(long hwnd, int crKey, byte bAlpha, int dwFlags, long __functionAddress) Unsafe version of:SetLayeredWindowAttributes(long, int, byte, int)
-
SetLayeredWindowAttributes
public static boolean SetLayeredWindowAttributes(long hwnd, int crKey, byte bAlpha, int dwFlags) - Parameters:
hwnd
- a handle to the layered window. A layered window is created by specifyingWS_EX_LAYERED
when creating the window with theCreateWindowEx(int, java.nio.ByteBuffer, java.nio.ByteBuffer, int, int, int, int, int, long, long, long, long)
function or by settingWS_EX_LAYERED
viaSetWindowLongPtr(long, int, long)
after the window has been created.crKey
- the transparency color key (0x00bbggrr) to be used when composing the layered window. All pixels painted by the window in this color will be transparent.bAlpha
- the alpha value used to describe the opacity of the layered window. WhenbAlpha
is 0, the window is completely transparent. WhenbAlpha
is 255, the window is opaque.dwFlags
- an action to be taken. One or more of:LWA_COLORKEY
LWA_ALPHA
-
nLoadIcon
public static long nLoadIcon(long instance, long iconName, long __functionAddress) Unsafe version of:LoadIcon(long, java.nio.ByteBuffer)
-
nLoadIcon
public static long nLoadIcon(long instance, long iconName) Unsafe version of:LoadIcon(long, java.nio.ByteBuffer)
-
LoadIcon
Loads the specified icon resource from the executable (.exe) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must beNULL
when a standard icon is being loaded.iconName
- the name of the icon resource to be loaded or one of:IDI_APPLICATION
IDI_HAND
IDI_QUESTION
IDI_EXCLAMATION
IDI_ASTERISK
IDI_WINLOGO
IDI_SHIELD
IDI_WARNING
IDI_ERROR
IDI_INFORMATION
-
LoadIcon
Loads the specified icon resource from the executable (.exe) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the icon to be loaded. This parameter must beNULL
when a standard icon is being loaded.iconName
- the name of the icon resource to be loaded or one of:IDI_APPLICATION
IDI_HAND
IDI_QUESTION
IDI_EXCLAMATION
IDI_ASTERISK
IDI_WINLOGO
IDI_SHIELD
IDI_WARNING
IDI_ERROR
IDI_INFORMATION
-
nLoadCursor
public static long nLoadCursor(long instance, long cursorName, long __functionAddress) Unsafe version of:LoadCursor(long, java.nio.ByteBuffer)
-
nLoadCursor
public static long nLoadCursor(long instance, long cursorName) Unsafe version of:LoadCursor(long, java.nio.ByteBuffer)
-
LoadCursor
Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the cursor to be loaded.cursorName
- the name of the cursor resource to be loaded or one of: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
-
LoadCursor
Loads the specified cursor resource from the executable (.EXE) file associated with an application instance.- Parameters:
instance
- a handle to an instance of the module whose executable file contains the cursor to be loaded.cursorName
- the name of the cursor resource to be loaded or one of: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
-
GetDC
public static long GetDC(long hWnd) Retrieves a handle to a device context (DC) for the client area of a specified window or for the entire screen. You can use the returned handle in subsequent GDI functions to draw in the DC. The device context is an opaque data structure, whose values are used internally by GDI.- Parameters:
hWnd
- a handle to the window whose DC is to be retrieved. If this value isNULL
, GetDC retrieves the DC for the entire screen.
-
ReleaseDC
public static boolean ReleaseDC(long hWnd, long hDC) Releases a device context (DC), freeing it for use by other applications. The effect of the ReleaseDC function depends on the type of DC. It frees only common and window DCs. It has no effect on class or private DCs.- Parameters:
hWnd
- a handle to the window whose DC is to be releasedhDC
- a handle to the DC to be released
-
GetSystemMetrics
public static int GetSystemMetrics(int index) Retrieves the specified system metric or system configuration setting.- Parameters:
index
- the system metric or configuration setting to be retrieved. One of:
-
nRegisterTouchWindow
public static int nRegisterTouchWindow(long hWnd, int ulFlags, long __functionAddress) Unsafe version of:RegisterTouchWindow(long, int)
-
RegisterTouchWindow
public static boolean RegisterTouchWindow(long hWnd, int ulFlags) Registers a window as being touch-capable.RegisterTouchWindow
must be called on every window that will be used for touch input. This means that if you have an application that has multiple windows within it,RegisterTouchWindow
must be called on every window in that application that uses touch features. Also, an application can callRegisterTouchWindow
any number of times for the same window if it desires to change the modifier flags. A window can be marked as no longer requiring touch input using theUnregisterTouchWindow(long)
function.- Parameters:
hWnd
- the handle of the window being registered. The function fails withERROR_ACCESS_DENIED
if the calling thread does not own the specified window.ulFlags
- a set of bit flags that specify optional modifications. This field may contain 0 or one or more of:TWF_FINETOUCH
TWF_WANTPALM
- Since:
- Windows 7 (desktop apps only)
-
nUnregisterTouchWindow
public static int nUnregisterTouchWindow(long hWnd, long __functionAddress) Unsafe version of:UnregisterTouchWindow(long)
-
UnregisterTouchWindow
public static boolean UnregisterTouchWindow(long hWnd) Registers a window as no longer being touch-capable.- Parameters:
hWnd
- the handle of the window. The function fails withERROR_ACCESS_DENIED
if the calling thread does not own the specified window.- Since:
- Windows 7 (desktop apps only)
-
nIsTouchWindow
public static int nIsTouchWindow(long hWnd, long pulFlags) Unsafe version of:IsTouchWindow(long, java.nio.IntBuffer)
-
IsTouchWindow
Checks whether a specified window is touch-capable and, optionally, retrieves the modifier flags set for the window's touch capability.- Parameters:
hWnd
- the handle of the window. The function fails withERROR_ACCESS_DENIED
if the calling thread is not on the same desktop as the specified window.pulFlags
- an optional address of theULONG
variable to receive the modifier flags for the specified window's touch capability.- Since:
- Windows 7 (desktop apps only)
-
nGetTouchInputInfo
public 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)
- Parameters:
cInputs
- The number of structures in thepInputs
array. This should ideally be at least equal to the number of touch points associated with the message as indicated in the messageWPARAM
. IfcInputs
is less than the number of touch points, the function will still succeed and populate thepInputs
buffer with information aboutcInputs
touch points.
-
nGetTouchInputInfo
public static int nGetTouchInputInfo(long hTouchInput, int cInputs, long pInputs, int cbSize) Unsafe version of:GetTouchInputInfo(long, org.lwjgl.system.windows.TOUCHINPUT.Buffer, int)
- Parameters:
cInputs
- The number of structures in thepInputs
array. This should ideally be at least equal to the number of touch points associated with the message as indicated in the messageWPARAM
. IfcInputs
is less than the number of touch points, the function will still succeed and populate thepInputs
buffer with information aboutcInputs
touch points.
-
GetTouchInputInfo
Retrieves detailed information about touch inputs associated with a particular touch input handle.- Parameters:
hTouchInput
- the touch input handle received in theLPARAM
of a touch message. The function fails withERROR_INVALID_HANDLE
if this handle is not valid. Note that the handle is not valid after it has been used in a successful call toCloseTouchInputHandle(long)
or after it has been passed toDefWindowProc(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 ofTOUCHINPUT
structures to receive information about the touch points associated with the specified touch input handlecbSize
- the size, in bytes, of a singleTOUCHINPUT
structure. IfcbSize
is not the size of a singleTOUCHINPUT
structure, the function fails withERROR_INVALID_PARAMETER
.- Since:
- Windows 7 (desktop apps only)
-
nCloseTouchInputHandle
public static int nCloseTouchInputHandle(long hTouchInput, long __functionAddress) Unsafe version of:CloseTouchInputHandle(long)
-
CloseTouchInputHandle
public static boolean CloseTouchInputHandle(long hTouchInput) Closes a touch input handle, frees process memory associated with it, and invalidates the handle.- Parameters:
hTouchInput
- the touch input handle received in theLPARAM
of a touch message. The function fails withERROR_INVALID_HANDLE
if this handle is not valid. Note that the handle is not valid after it has been used in a successful call toCloseTouchInputHandle(long)
or after it has been passed toDefWindowProc(long, int, long, long)
,PostMessage(long, int, long, long)
,SendMessage(long, int, long, long)
or one of their variants.- Since:
- Windows 7 (desktop apps only)
-
MonitorFromWindow
public static long MonitorFromWindow(long hWnd, int dwFlags) Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.- Parameters:
hWnd
- a handle to the window of interestdwFlags
- determines the function's return value if the window does not intersect any display monitor. One of:MONITOR_DEFAULTTONULL
MONITOR_DEFAULTTOPRIMARY
MONITOR_DEFAULTTONEAREST
-
nGetMonitorInfo
public static int nGetMonitorInfo(long hMonitor, long lpmi) Unsafe version of:GetMonitorInfo(long, org.lwjgl.system.windows.MONITORINFOEX)
-
GetMonitorInfo
Retrieves information about a display monitor.- Parameters:
hMonitor
- a handle to the display monitor of interestlpmi
- a pointer to aMONITORINFOEX
structure that receives information about the specified display monitor.You must set the
cbSize
member of the structure toMONITORINFOEX.SIZEOF
before calling theGetMonitorInfo
function. Doing so lets the function determine the type of structure you are passing to it.
-
nEnumDisplayDevices
public static int nEnumDisplayDevices(long lpDevice, int iDevNum, long lpDisplayDevice, int dwFlags) -
EnumDisplayDevices
public static boolean EnumDisplayDevices(@Nullable ByteBuffer lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags) Obtains information about the display devices in the current session.- Parameters:
lpDevice
- the device name. IfNULL
, function returns information for the display adapter(s) on the machine, based ondevNum
.iDevNum
- an index value that specifies the display device of interest.The operating system identifies each display device in the current session with an index value. The index values are consecutive integers, starting at 0. If the current session has three display devices, for example, they are specified by the index values 0, 1, and 2.
lpDisplayDevice
- a pointer to aDISPLAY_DEVICE
structure that receives information about the display device specified byiDevNum
.Before calling
EnumDisplayDevices
, you must initialize thecb
member ofDISPLAY_DEVICE
to the size, in bytes, ofDISPLAY_DEVICE
.dwFlags
- set this flag toEDD_GET_DEVICE_INTERFACE_NAME
to retrieve the device interface name forGUID_DEVINTERFACE_MONITOR
, which is registered by the operating system on a per monitor basis. The value is placed in theDeviceID
member of theDISPLAY_DEVICE
structure returned inlpDisplayDevice
. The resulting device interface name can be used with SetupAPI functions and serves as a link between GDI monitor devices and SetupAPI monitor devices.
-
EnumDisplayDevices
public static boolean EnumDisplayDevices(@Nullable CharSequence lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags) Obtains information about the display devices in the current session.- Parameters:
lpDevice
- the device name. IfNULL
, function returns information for the display adapter(s) on the machine, based ondevNum
.iDevNum
- an index value that specifies the display device of interest.The operating system identifies each display device in the current session with an index value. The index values are consecutive integers, starting at 0. If the current session has three display devices, for example, they are specified by the index values 0, 1, and 2.
lpDisplayDevice
- a pointer to aDISPLAY_DEVICE
structure that receives information about the display device specified byiDevNum
.Before calling
EnumDisplayDevices
, you must initialize thecb
member ofDISPLAY_DEVICE
to the size, in bytes, ofDISPLAY_DEVICE
.dwFlags
- set this flag toEDD_GET_DEVICE_INTERFACE_NAME
to retrieve the device interface name forGUID_DEVINTERFACE_MONITOR
, which is registered by the operating system on a per monitor basis. The value is placed in theDeviceID
member of theDISPLAY_DEVICE
structure returned inlpDisplayDevice
. The resulting device interface name can be used with SetupAPI functions and serves as a link between GDI monitor devices and SetupAPI monitor devices.
-
nEnumDisplaySettingsEx
public static int nEnumDisplaySettingsEx(long lpszDeviceName, int iModeNum, long lpDevMode, int dwFlags) -
EnumDisplaySettingsEx
public static boolean EnumDisplaySettingsEx(@Nullable ByteBuffer lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags) Retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes for a display device, make a series of calls to this function.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device about which graphics mode the function will obtain information.This parameter is either
NULL
or aDISPLAY_DEVICE.DeviceName()
returned fromEnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
. ANULL
value specifies the current display device on the computer that the calling thread is running on.iModeNum
- indicates the type of information to be retrieved.Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to
EnumDisplaySettingsEx
, as follows: SetiModeNum
to zero for the first call, and incrementiModeNum
by one for each subsequent call. Continue calling the function until the return value is zero.When you call
EnumDisplaySettingsEx
withiModeNum
set to zero, the operating system initializes and caches information about the display device. When you callEnumDisplaySettingsEx
withiModeNum
set to a nonzero value, the function returns the information that was cached the last time the function was called withiModeNum
set to zero.This value can be a graphics mode index or one of:
ENUM_CURRENT_SETTINGS
ENUM_REGISTRY_SETTINGS
lpDevMode
- a pointer to aDEVMODE
structure into which the function stores information about the specified graphics mode. Before callingEnumDisplaySettingsEx
, set thedmSize
member toDEVMODE.SIZEOF
, and set thedmDriverExtra
member to indicate the size, in bytes, of the additional space available to receive private driver data.The
EnumDisplaySettingsEx
function will populate thedmFields
member of thelpDevMode
and one or more other members of theDEVMODE
structure. To determine which members were set by the call toEnumDisplaySettingsEx
, inspect thedmFields
bitmask.dwFlags
- this parameter can be one of:EDS_RAWMODE
EDS_ROTATEDMODE
-
EnumDisplaySettingsEx
public static boolean EnumDisplaySettingsEx(@Nullable CharSequence lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags) Retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes for a display device, make a series of calls to this function.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device about which graphics mode the function will obtain information.This parameter is either
NULL
or aDISPLAY_DEVICE.DeviceName()
returned fromEnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
. ANULL
value specifies the current display device on the computer that the calling thread is running on.iModeNum
- indicates the type of information to be retrieved.Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to
EnumDisplaySettingsEx
, as follows: SetiModeNum
to zero for the first call, and incrementiModeNum
by one for each subsequent call. Continue calling the function until the return value is zero.When you call
EnumDisplaySettingsEx
withiModeNum
set to zero, the operating system initializes and caches information about the display device. When you callEnumDisplaySettingsEx
withiModeNum
set to a nonzero value, the function returns the information that was cached the last time the function was called withiModeNum
set to zero.This value can be a graphics mode index or one of:
ENUM_CURRENT_SETTINGS
ENUM_REGISTRY_SETTINGS
lpDevMode
- a pointer to aDEVMODE
structure into which the function stores information about the specified graphics mode. Before callingEnumDisplaySettingsEx
, set thedmSize
member toDEVMODE.SIZEOF
, and set thedmDriverExtra
member to indicate the size, in bytes, of the additional space available to receive private driver data.The
EnumDisplaySettingsEx
function will populate thedmFields
member of thelpDevMode
and one or more other members of theDEVMODE
structure. To determine which members were set by the call toEnumDisplaySettingsEx
, inspect thedmFields
bitmask.dwFlags
- this parameter can be one of:EDS_RAWMODE
EDS_ROTATEDMODE
-
nChangeDisplaySettingsEx
public static int nChangeDisplaySettingsEx(long lpszDeviceName, long lpDevMode, long hwnd, int dwflags, long lParam) -
ChangeDisplaySettingsEx
public static int ChangeDisplaySettingsEx(@Nullable ByteBuffer lpszDeviceName, @Nullable DEVMODE lpDevMode, long hwnd, int dwflags, long lParam) Changes the settings of the specified display device to the specified graphics mode.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device whose graphics mode will change. Only display device names as returned byEnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
are valid.The
lpszDeviceName
parameter can beNULL
. ANULL
value specifies the default display device. The default device can be determined by callingEnumDisplayDevices
and checking for theGDI32.DISPLAY_DEVICE_PRIMARY_DEVICE
flag.lpDevMode
- a pointer to aDEVMODE
structure that describes the new graphics mode. IflpDevMode
isNULL
, all the values currently in the registry will be used for the display setting. PassingNULL
for thelpDevMode
parameter and 0 for thedwFlags
parameter is the easiest way to return to the default mode after a dynamic mode change.The
dmSize
member must be initialized to the size, in bytes, of theDEVMODE
structure. ThedmDriverExtra
member must be initialized to indicate the number of bytes of private driver data following theDEVMODE
structure.hwnd
- reserved; must beNULL
dwflags
- indicates how the graphics mode should be changed. One of: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
- ifflags
isCDS_VIDEOPARAMETERS
,lParam
is a pointer to aVIDEOPARAMETERS
structure. OtherwiselParam
must beNULL
.- Returns:
- one of the following values:
DISP_CHANGE_SUCCESSFUL
DISP_CHANGE_RESTART
DISP_CHANGE_FAILED
DISP_CHANGE_BADMODE
DISP_CHANGE_NOTUPDATED
DISP_CHANGE_BADFLAGS
DISP_CHANGE_BADPARAM
DISP_CHANGE_BADDUALVIEW
-
ChangeDisplaySettingsEx
public static int ChangeDisplaySettingsEx(@Nullable CharSequence lpszDeviceName, @Nullable DEVMODE lpDevMode, long hwnd, int dwflags, long lParam) Changes the settings of the specified display device to the specified graphics mode.- Parameters:
lpszDeviceName
- a pointer to a null-terminated string that specifies the display device whose graphics mode will change. Only display device names as returned byEnumDisplayDevices(java.nio.ByteBuffer, int, org.lwjgl.system.windows.DISPLAY_DEVICE, int)
are valid.The
lpszDeviceName
parameter can beNULL
. ANULL
value specifies the default display device. The default device can be determined by callingEnumDisplayDevices
and checking for theGDI32.DISPLAY_DEVICE_PRIMARY_DEVICE
flag.lpDevMode
- a pointer to aDEVMODE
structure that describes the new graphics mode. IflpDevMode
isNULL
, all the values currently in the registry will be used for the display setting. PassingNULL
for thelpDevMode
parameter and 0 for thedwFlags
parameter is the easiest way to return to the default mode after a dynamic mode change.The
dmSize
member must be initialized to the size, in bytes, of theDEVMODE
structure. ThedmDriverExtra
member must be initialized to indicate the number of bytes of private driver data following theDEVMODE
structure.hwnd
- reserved; must beNULL
dwflags
- indicates how the graphics mode should be changed. One of: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
- ifflags
isCDS_VIDEOPARAMETERS
,lParam
is a pointer to aVIDEOPARAMETERS
structure. OtherwiselParam
must beNULL
.- Returns:
- one of the following values:
DISP_CHANGE_SUCCESSFUL
DISP_CHANGE_RESTART
DISP_CHANGE_FAILED
DISP_CHANGE_BADMODE
DISP_CHANGE_NOTUPDATED
DISP_CHANGE_BADFLAGS
DISP_CHANGE_BADPARAM
DISP_CHANGE_BADDUALVIEW
-
nGetCursorPos
public static int nGetCursorPos(long point) Unsafe version of:GetCursorPos(org.lwjgl.system.windows.POINT)
-
GetCursorPos
Retrieves the position of the mouse cursor, in screen coordinates.- Parameters:
point
- a pointer to aPOINT
structure that receives the screen coordinates of the cursor
-
SetCursorPos
public static boolean SetCursorPos(int X, int Y) Moves the cursor to the specified screen coordinates. If the new coordinates are not within the screen rectangle set by the most recentClipCursor(org.lwjgl.system.windows.RECT)
function call, the system automatically adjusts the coordinates so that the cursor stays within the rectangle.- Parameters:
X
- the new x-coordinate of the cursor, in screen coordinates.Y
- the new y-coordinate of the cursor, in screen coordinates.
-
nClipCursor
public static int nClipCursor(long rect) Unsafe version of:ClipCursor(org.lwjgl.system.windows.RECT)
-
ClipCursor
Confines the cursor to a rectangular area on the screen. If a subsequent cursor position (set by theSetCursorPos(int, int)
function or the mouse) lies outside the rectangle, the system automatically adjusts the position to keep the cursor inside the rectangular area.- Parameters:
rect
- a pointer to the structure that contains the screen coordinates of the upper-left and lower-right corners of the confining rectangle. If this parameter isNULL
, the cursor is free to move anywhere on the screen.
-
ShowCursor
public static int ShowCursor(boolean show) Displays or hides the cursor.This function sets an internal display counter that determines whether the cursor should be displayed. The cursor is displayed only if the display count is greater than or equal to 0. If a mouse is installed, the initial display count is 0. If no mouse is installed, the display count is –1.
- Parameters:
show
- Ifshow
isWinBase.TRUE
, the display count is incremented by one. Ifshow
isWinBase.FALSE
, the display count is decremented by one.- Returns:
- the new display counter
-
SetCursor
public static long SetCursor(long hCursor) Sets the cursor shape.The cursor is set only if the new cursor is different from the previous cursor; otherwise, the function returns immediately.
The cursor is a shared resource. A window should set the cursor shape only when the cursor is in its client area or when the window is capturing mouse input. In systems without a mouse, the window should restore the previous cursor before the cursor leaves the client area or before it relinquishes control to another window.
If your application must set the cursor while it is in a window, make sure the class cursor for the specified window's class is set to
NULL
. If the class cursor is notNULL
, the system restores the class cursor each time the mouse is moved.The cursor is not shown on the screen if the internal cursor display count is less than zero. This occurs if the application uses the
ShowCursor(boolean)
function to hide the cursor more times than to show the cursor.- Parameters:
hCursor
- a handle to the cursor. The cursor must have been created by theCreateCursor
function or loaded by theLoadCursor(long, java.nio.ByteBuffer)
orLoadImage
function. If this parameter isNULL
, the cursor is removed from the screen.- Returns:
- the handle to the previous cursor, if there was one
-
nClientToScreen
public static int nClientToScreen(long hWnd, long lpPoint) Unsafe version of:ClientToScreen(long, org.lwjgl.system.windows.POINT)
-
ClientToScreen
Converts the client-area coordinates of a specified point to screen coordinates.The
ClientToScreen
function replaces the client-area coordinates in thePOINT
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.
- Parameters:
hWnd
- a handle to the window whose client area is used for the conversionlpPoint
- a pointer to aPOINT
structure that contains the client coordinates to be converted. The new screen coordinates are copied into this structure if the function succeeds.
-
GetAsyncKeyState
public 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 toGetAsyncKeyState
.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 callGetAsyncKeyState(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 callingGetSystemMetrics(SM_SWAPBUTTON)
which returnsWinBase.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
, andVK_MENU
as values for thevKey
parameter. This gives the state of the SHIFT, CTRL, or ALT keys without distinguishing between left and right.- Parameters:
vKey
- the virtual-key code. You can use left- and right-distinguishing constants to specify certain keys.- Returns:
- if the function succeeds, the return value specifies whether the key was pressed since the last call to
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 toGetAsyncKeyState
. However, you should not rely on this last behavior; for more information, see the Remarks.The return value is zero for the following cases:
- The current desktop is not the active desktop
- The foreground thread belongs to another process and the desktop does not allow the hook or the journal record.
-
GetMessageExtraInfo
public static long GetMessageExtraInfo()Retrieves the extra message information for the current thread.Extra message information is an application- or driver-defined value associated with the current thread's message queue.
- Returns:
- the extra information. The meaning of the extra information is device specific.
-
nSendInput
public static int nSendInput(int cInputs, long pInputs, int cbSize) Unsafe version of:SendInput(org.lwjgl.system.windows.INPUT.Buffer, int)
- Parameters:
cInputs
- the number of structures in thepInputs
array
-
SendInput
Synthesizes keystrokes, mouse motions, and button clicks.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 theINPUT
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 tokeybd_event
,mouse_event
, or other calls toSendInput
.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.- Parameters:
pInputs
- an array ofINPUT
structures. Each structure represents an event to be inserted into the keyboard or mouse input stream.cbSize
- the size, in bytes, of anINPUT
structure. IfcbSiz
e is not the size of anINPUT
structure, the function fails.- Returns:
- the number of events that it successfully inserted into the keyboard or mouse input stream. If the function returns zero, the input was already blocked
by another thread. To get extended error information, call
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.
-
GetDpiForSystem
public static int GetDpiForSystem()Returns the system DPI.The return value will be dependent based upon the calling context. If the current thread has a
DPI_AWARENESS
value ofDPI_AWARENESS_UNAWARE
, the return value will be 96. That is because the current context always assumes a DPI of 96. For any otherDPI_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.- Returns:
- the system DPI value
- Since:
- Windows 10
-
GetDpiForWindow
public static int GetDpiForWindow(long hwnd) Returns the dots per inch (dpi) value for the associated window.- Parameters:
hwnd
- the window you want to get information about- Returns:
- the DPI for the window which depends on the
DPI_AWARENESS
of the window. An invalidhwnd
value will result in a return value of 0. - Since:
- Windows 10
-
GetAwarenessFromDpiAwarenessContext
public static int GetAwarenessFromDpiAwarenessContext(long value) Retrieves theDPI_AWARENESS
value from aDPI_AWARENESS_CONTEXT
.- Parameters:
value
- theDPI_AWARENESS_CONTEXT
you want to examine- Returns:
- the
DPI_AWARENESS
. If the provided value is null or invalid, this method will returnDPI_AWARENESS_INVALID
. - Since:
- Windows 10
-
GetThreadDpiAwarenessContext
public static long GetThreadDpiAwarenessContext()Gets theDPI_AWARENESS_CONTEXT
for the current thread.If
SetThreadDpiAwarenessContext(long)
was never called for this thread, then the return value will equal the defaultDPI_AWARENESS_CONTEXT
for the process.- Returns:
- the current
DPI_AWARENESS_CONTEXT
for the thread. - Since:
- Windows 10
-
GetWindowDpiAwarenessContext
public static long GetWindowDpiAwarenessContext(long hwnd) Returns theDPI_AWARENESS_CONTEXT
associated with a window.- Parameters:
hwnd
- the window to query- Returns:
- the
DPI_AWARENESS_CONTEXT
for the provided window. If the window is not valid, the return value isNULL
. - Since:
- Windows 10
-
IsValidDpiAwarenessContext
public static boolean IsValidDpiAwarenessContext(long value) Determines if a specifiedDPI_AWARENESS_CONTEXT
is valid and supported by the current system.- Parameters:
value
- the context that you want to determine if it is supported- Returns:
WinBase.TRUE
if the provided context is supported, otherwiseWinBase.FALSE
- Since:
- Windows 10
-
SetThreadDpiAwarenessContext
public static long SetThreadDpiAwarenessContext(long dpiContext) Set the DPI awareness for the current thread to the provided value.- Parameters:
dpiContext
- the DPI awareness value to set- Returns:
- The old
DPI_AWARENESS_CONTEXT
for the thread. If thedpiContext
is invalid, the thread will not be updated and the return value will beNULL
. You can use this value to restore the oldDPI_AWARENESS_CONTEXT
after overriding it with a predefined value. - Since:
- Windows 10
-
IsTouchWindow
public static boolean IsTouchWindow(long hWnd, @Nullable int[] pulFlags) Array version of:IsTouchWindow(long, java.nio.IntBuffer)
-