com.jniwrapper.win32.ui
Class User32
java.lang.Object
com.jniwrapper.util.FunctionCache
com.jniwrapper.win32.WinFunctionCache
com.jniwrapper.win32.ui.User32
public class User32
- extends WinFunctionCache
This class wraps functionality provided by user32 library.
Methods inherited from class com.jniwrapper.util.FunctionCache |
getFunction, getVariable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FUNCTION_GET_MESSAGE
public static final FunctionName FUNCTION_GET_MESSAGE
FUNCTION_POST_THREAD_MESSAGE
public static final FunctionName FUNCTION_POST_THREAD_MESSAGE
FUNCTION_TRANSLATE_MESSAGE
public static final java.lang.String FUNCTION_TRANSLATE_MESSAGE
- See Also:
- Constant Field Values
FUNCTION_DISPATCH_MESSAGE
public static final FunctionName FUNCTION_DISPATCH_MESSAGE
FUNCTION_POST_QUIT_MESSAGE
public static final java.lang.String FUNCTION_POST_QUIT_MESSAGE
- See Also:
- Constant Field Values
FUNCTION_CREATE_ELLIPRIC_RGN
public static final java.lang.String FUNCTION_CREATE_ELLIPRIC_RGN
- See Also:
- Constant Field Values
FUNCTION_LOAD_IMAGE
public static final FunctionName FUNCTION_LOAD_IMAGE
FUNCTION_CREATE_MENU
public static final java.lang.String FUNCTION_CREATE_MENU
- See Also:
- Constant Field Values
FUNCTION_CREATE_POPUP_MENU
public static final java.lang.String FUNCTION_CREATE_POPUP_MENU
- See Also:
- Constant Field Values
FUNCTION_SET_MENU
public static final java.lang.String FUNCTION_SET_MENU
- See Also:
- Constant Field Values
FUNCTION_GET_MENU
public static final java.lang.String FUNCTION_GET_MENU
- See Also:
- Constant Field Values
FUNCTION_REGISTER_CLIPBOARD_FORMAT
public static final FunctionName FUNCTION_REGISTER_CLIPBOARD_FORMAT
FUNCTION_ATTACH_THREAD_INPUT
public static final java.lang.String FUNCTION_ATTACH_THREAD_INPUT
- See Also:
- Constant Field Values
FUNCTION_GET_WINDOW_THREAD_PROCESS_ID
public static final java.lang.String FUNCTION_GET_WINDOW_THREAD_PROCESS_ID
- See Also:
- Constant Field Values
getInstance
public static User32 getInstance()
postQuitMessage
public static void postQuitMessage(int exitCode)
loadResourceFromFile
public static Handle loadResourceFromFile(java.lang.String fileName,
int resourceType)
loadResourceFromFile
public static Handle loadResourceFromFile(java.lang.String fileName,
int resourceType,
int width,
int height)
setMenu
public static void setMenu(Wnd wnd,
Handle hmenu)
getMenu
public static Handle getMenu(Wnd wnd)
createMenu
public static Handle createMenu()
createPopupMenu
public static Handle createPopupMenu()
registerClipboardFormat
public static long registerClipboardFormat(java.lang.String format)
attachThreadInput
public static void attachThreadInput(int threadIdAttach,
int threadIdAttachTo)
- Attaches input processing mechanism of one thread to another thread.
- Parameters:
threadIdAttach
- identifier of attached threadthreadIdAttachTo
- identifier of thread to which attached another thread- See Also:
to detach the thread input
detachThreadInput
public static void detachThreadInput(int threadIdAttach,
int threadIdAttachTo)
- Detaches input processing mechanism of one thread from another thread.
- Parameters:
threadIdAttach
- identifier of detached threadthreadIdAttachTo
- identifier of thread from which detached another thread- See Also:
to attach the thread input