public final class User32Util
extends java.lang.Object
User32.dll
.Modifier and Type | Class and Description |
---|---|
static class |
User32Util.MessageLoopThread
Helper class, that runs a windows message loop as a seperate thread.
|
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<Win32VK> |
WIN32VK_MAPPABLE
Set of
Win32VK members that can be mapped to a UniCode code point via
a keyboard layout. |
Constructor and Description |
---|
User32Util() |
Modifier and Type | Method and Description |
---|---|
static WinDef.HWND |
createWindow(java.lang.String className,
java.lang.String windowName,
int style,
int x,
int y,
int width,
int height,
WinDef.HWND parent,
WinDef.HMENU menu,
WinDef.HINSTANCE instance,
WinDef.LPVOID param) |
static WinDef.HWND |
createWindowEx(int exStyle,
java.lang.String className,
java.lang.String windowName,
int style,
int x,
int y,
int width,
int height,
WinDef.HWND parent,
WinDef.HMENU menu,
WinDef.HINSTANCE instance,
WinDef.LPVOID param) |
static void |
destroyWindow(WinDef.HWND hWnd) |
static java.util.List<WinUser.RAWINPUTDEVICELIST> |
GetRawInputDeviceList() |
static java.lang.String |
loadString(java.lang.String location)
Load a string value from the string table of an executable.
|
static int |
registerWindowMessage(java.lang.String lpString) |
public static final int registerWindowMessage(java.lang.String lpString)
public static final WinDef.HWND createWindow(java.lang.String className, java.lang.String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param)
public static final WinDef.HWND createWindowEx(int exStyle, java.lang.String className, java.lang.String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param)
public static final void destroyWindow(WinDef.HWND hWnd)
public static final java.util.List<WinUser.RAWINPUTDEVICELIST> GetRawInputDeviceList()
public static java.lang.String loadString(java.lang.String location) throws java.io.UnsupportedEncodingException
location
- the location, eg. %SystemRoot%\system32\input.dll,-5011java.io.UnsupportedEncodingException