public class User32 extends WinFunctionCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FUNCTION_ATTACH_THREAD_INPUT |
static java.lang.String |
FUNCTION_CREATE_ELLIPRIC_RGN |
static java.lang.String |
FUNCTION_CREATE_MENU |
static java.lang.String |
FUNCTION_CREATE_POPUP_MENU |
static FunctionName |
FUNCTION_DISPATCH_MESSAGE |
static java.lang.String |
FUNCTION_GET_MENU |
static FunctionName |
FUNCTION_GET_MESSAGE |
static java.lang.String |
FUNCTION_GET_WINDOW_THREAD_PROCESS_ID |
static FunctionName |
FUNCTION_LOAD_IMAGE |
static java.lang.String |
FUNCTION_POST_QUIT_MESSAGE |
static FunctionName |
FUNCTION_POST_THREAD_MESSAGE |
static FunctionName |
FUNCTION_REGISTER_CLIPBOARD_FORMAT |
static java.lang.String |
FUNCTION_SET_MENU |
static java.lang.String |
FUNCTION_TRANSLATE_MESSAGE |
Modifier and Type | Method and Description |
---|---|
static void |
attachThreadInput(int threadIdAttach,
int threadIdAttachTo)
Attaches input processing mechanism of one thread to another thread.
|
static Handle |
createMenu() |
static Handle |
createPopupMenu() |
static void |
detachThreadInput(int threadIdAttach,
int threadIdAttachTo)
Detaches input processing mechanism of one thread from another thread.
|
static User32 |
getInstance() |
static Handle |
getMenu(Wnd wnd) |
static Handle |
loadResourceFromFile(java.lang.String fileName,
int resourceType) |
static Handle |
loadResourceFromFile(java.lang.String fileName,
int resourceType,
int width,
int height) |
static void |
postQuitMessage(int exitCode) |
static long |
registerClipboardFormat(java.lang.String format) |
static void |
setMenu(Wnd wnd,
Handle hmenu) |
isUnicode, setUnicode, setupEncoding
public static final FunctionName FUNCTION_GET_MESSAGE
public static final FunctionName FUNCTION_POST_THREAD_MESSAGE
public static final java.lang.String FUNCTION_TRANSLATE_MESSAGE
public static final FunctionName FUNCTION_DISPATCH_MESSAGE
public static final java.lang.String FUNCTION_POST_QUIT_MESSAGE
public static final java.lang.String FUNCTION_CREATE_ELLIPRIC_RGN
public static final FunctionName FUNCTION_LOAD_IMAGE
public static final java.lang.String FUNCTION_CREATE_MENU
public static final java.lang.String FUNCTION_CREATE_POPUP_MENU
public static final java.lang.String FUNCTION_SET_MENU
public static final java.lang.String FUNCTION_GET_MENU
public static final FunctionName FUNCTION_REGISTER_CLIPBOARD_FORMAT
public static final java.lang.String FUNCTION_ATTACH_THREAD_INPUT
public static final java.lang.String FUNCTION_GET_WINDOW_THREAD_PROCESS_ID
public static User32 getInstance()
public static void postQuitMessage(int exitCode)
public static Handle loadResourceFromFile(java.lang.String fileName, int resourceType)
public static Handle loadResourceFromFile(java.lang.String fileName, int resourceType, int width, int height)
public static Handle createMenu()
public static Handle createPopupMenu()
public static long registerClipboardFormat(java.lang.String format)
public static void attachThreadInput(int threadIdAttach, int threadIdAttachTo)
threadIdAttach
- identifier of attached threadthreadIdAttachTo
- identifier of thread to which attached another threadto detach the thread input
public static void detachThreadInput(int threadIdAttach, int threadIdAttachTo)
threadIdAttach
- identifier of detached threadthreadIdAttachTo
- identifier of thread from which detached another threadto attach the thread input