Interface WinUser
- All Superinterfaces:
- WinDef
- All Known Subinterfaces:
- User32
- Author:
- dblock[at]dblock.org, Andreas "PAX" Lück, onkelpax-git[at]yahoo.de
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classContains data to be passed to another application by the WM_COPYDATA message.static classDefines the message parameters passed to a WH_CALLWNDPROC hook procedure, CallWndProc.static classstatic classstatic classContains information about a simulated message generated by an input device other than a keyboard or mouse.static classstatic classstatic classEach physical display is represented by a monitor handle of type HMONITOR.static interfacestatic classUsed by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.static classstatic classContains information about a simulated keyboard event.static classContains the time of the last input.static interfacestatic interfacestatic interfaceAn application-defined callback function that is called by theUser32.EnumDisplayMonitors(com.sun.jna.platform.win32.WinDef.HDC, com.sun.jna.platform.win32.WinDef.RECT, com.sun.jna.platform.win32.WinUser.MONITORENUMPROC, com.sun.jna.platform.win32.WinDef.LPARAM)function.static classThe MONITORINFO structure contains information about a display monitor.static classThe MONITORINFOEX structure contains information about a display monitor.static classContains information about a simulated mouse event.static classstatic classstatic classContains information about a raw input device.static classSpecifies the width and height of a rectangle.static classstatic classContains information about the placement of a window on the screen.static interfaceAn application-defined function that processes messages sent to a window.static interfaceAn application-defined callback (or hook) function that the system calls in response to events generated by an accessible object.
 The hook function processes the event notifications as required.
 Clients install the hook function and request specific types of event notifications by calling SetWinEventHook.
 The WINEVENTPROC type defines a pointer to this callback function.static classContains window class information.static interfaceNested classes/interfaces inherited from interface com.sun.jna.platform.win32.WinDefWinDef.ATOM, WinDef.BOOL, WinDef.BOOLByReference, WinDef.BYTE, WinDef.CHAR, WinDef.CHARByReference, WinDef.DWORD, WinDef.DWORDByReference, WinDef.DWORDLONG, WinDef.HBITMAP, WinDef.HBRUSH, WinDef.HCURSOR, WinDef.HDC, WinDef.HFONT, WinDef.HGLRC, WinDef.HGLRCByReference, WinDef.HICON, WinDef.HINSTANCE, WinDef.HKL, WinDef.HMENU, WinDef.HMODULE, WinDef.HPALETTE, WinDef.HPEN, WinDef.HRGN, WinDef.HRSRC, WinDef.HWND, WinDef.INT_PTR, WinDef.LCID, WinDef.LONG, WinDef.LONGByReference, WinDef.LONGLONG, WinDef.LONGLONGByReference, WinDef.LPARAM, WinDef.LPVOID, WinDef.LRESULT, WinDef.POINT, WinDef.PVOID, WinDef.RECT, WinDef.SCODE, WinDef.SCODEByReference, WinDef.SHORT, WinDef.UCHAR, WinDef.UINT, WinDef.UINT_PTR, WinDef.UINTByReference, WinDef.ULONG, WinDef.ULONGByReference, WinDef.ULONGLONG, WinDef.ULONGLONGByReference, WinDef.USHORT, WinDef.USHORTByReference, WinDef.WORD, WinDef.WORDByReference, WinDef.WPARAM
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intCreates a button that is the same as a check box, except that the box can be grayed as well as checked or cleared.
 Use the grayed state to show that the state of the check box is not determined.static final intCreates a button that is the same as a three-state check box, except that the box changes its state when the user selects it.
 The state cycles through checked, indeterminate, and cleared.static final intCreates a button that is the same as a check box, except that the check state automatically toggles between checked and cleared each time the user selects the check box.static final intCreates a button that is the same as a radio button, except that when the user selects it,
 the system automatically sets the button's check state to checked and automatically sets the check state for all other buttons in the same group to cleared.static final intCreates a small, empty check box with text.static final intCreates a push button that behaves like a BS_PUSHBUTTON style button, but has a distinct appearance.
 If the button is in a dialog box, the user can select the button by pressing the ENTER key, even when the button does not have the input focus.
 This style is useful for enabling the user to quickly select the most likely (default) option.static final intCreates a rectangle in which other controls can be grouped.static final intPlaces text on the left side of the radio button or check box when combined with a radio button or check box style.static final intCreates an owner-drawn button.
 The owner window receives a WM_DRAWITEM message when a visual aspect of the button has changed.
 Do not combine the BS_OWNERDRAW style with any other button styles.static final intA button that only shows the textstatic final intCreates a push button that posts a WM_COMMAND message to the owner window when the user selects the button.static final intCreates a small circle with text.static final intDo not use this style.
 A composite style bit that results from using the OR operator on BS_* style bits.
 It can be used to mask out valid BS_* bits from a given bitmask.
 Note that this is out of date and does not correctly include all valid styles.
 Thus, you should not use this style.static final intObsolete, but provided for compatibility with 16-bit versions of Windows.static final intLength of the device name in MONITORINFOEXstatic final intA handle to a bitmap (HBITMAP).static final intA memory object containing a BITMAPINFO structure followed by the bitmap bits.static final intA memory object containing a BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.static final intSoftware Arts' Data Interchange Format.static final intBitmap display format associated with a private format.static final intEnhanced metafile display format associated with a private format.static final intMetafile-picture display format associated with a private format.static final intText display format associated with a private format.static final intA handle to an enhanced metafile (HENHMETAFILE).static final intStart of a range of integer values for application-defined GDI object clipboard formats.static final intstatic final intA handle to type HDROP that identifies a list of files.static final intThe data is a handle to the locale identifier associated with text in the clipboard.static final intHandle to a metafile picture format as defined by the METAFILEPICT structure.static final intText format containing characters in the OEM character set.static final intOwner-display format.static final intHandle to a color palette.static final intData for the pen extensions to the Microsoft Windows for Pen Computing.static final intStart of a range of integer values for private clipboard formats.static final intstatic final intRepresents audio data more complex than can be represented in a CF_WAVE standard wave format.static final intMicrosoft Symbolic Link (SYLK) format.static final intText format.static final intTagged-image file format.static final intUnicode text format.static final intRepresents audio data in one of the standard wave formats, such as 11 kHz or 22 kHz PCM.static final intstatic final intstatic final intstatic final intThis flag has no effect if terminal services is enabled.static final intForces processes to terminate if they do not respond to the WM_QUERYENDSESSION or WM_ENDSESSION message within the timeout interval.static final intBeginning with Windows 8: You can prepare the system for a faster startup by combining the EWX_HYBRID_SHUTDOWN flag with the EWX_SHUTDOWN flag.static final intShuts down all processes running in the logon session of the process that called the ExitWindowsEx function.static final intShuts down the system and turns off the power.static final intShuts down the system and then restarts the system.static final intShuts down the system and then restarts it, as well as any applications that have been registered for restart using the RegisterApplicationRestart function.static final intShuts down the system to a point at which it is safe to turn off the power.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intRetrieves the parent window.static final intRetrieves the root window by walking the chain of parent windows.static final intRetrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.static final intRetrieves the size, in bytes, of the extra memory associated with the class.static final intRetrieves the size, in bytes, of the extra window memory associated with each window in the class.static final intRetrieves a handle to the icon associated with the class.static final intRetrieves a handle to the small icon associated with the class.static final intRetrieves the window-class style bits.static final intRetrieves a handle to the background brush associated with the class.static final intRetrieves a handle to the cursor associated with the class.static final intRetrieves a handle to the icon associated with the class.static final intRetrieves a handle to the small icon associated with the class.static final intRetrieves a handle to the module that registered the class.static final intRetrieves the pointer to the menu name string.static final intRetrieves the address of the window procedure, or a handle representing the address of the window procedure.static final intRetrieves an ATOM value that uniquely identifies the window class.static final intThe retrieved handle identifies the child window at the top of the Z order, if the specified window is a parent window; otherwise, the retrieved handle is NULL.static final intThe retrieved handle identifies the enabled popup window owned by the specified window (the search uses the first such window found using GW_HWNDNEXT); otherwise, if there are no enabled popup windows, the retrieved handle is that of the specified window.static final intThe retrieved handle identifies the window of the same type that is highest in the Z order.static final intThe retrieved handle identifies the window of the same type that is lowest in the Z order.static final intThe retrieved handle identifies the window below the specified window in the Z order.static final intThe retrieved handle identifies the window above the specified window in the Z order.static final intThe retrieved handle identifies the specified window's owner window, if any.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final WinDef.HWNDstatic final WinDef.HWNDstatic final intRetrieve the large icon for the window.static final intRetrieve the small icon for the window.static final intRetrieves the small icon provided by the application.static final intStandard arrow and small hourglass cursor.static final intStandard arrow cursor.static final intCrosshair cursor.static final intHand cursor.static final intArrow and question mark cursor.static final intI-beam cursor.static final intSlashed circle cursor.static final intFour-pointed arrow cursor pointing north, south, east, and west.static final intDouble-pointed arrow cursor pointing northeast and southwest.static final intDouble-pointed arrow cursor pointing north and south.static final intDouble-pointed arrow cursor pointing northwest and southeast.static final intDouble-pointed arrow cursor pointing west and east.static final intVertical arrow cursor.static final intHourglass cursor.static final intApplication icon.static final intAsterisk icon.static final intExclamation point icon.static final intStop sign icon.static final intQuestion-mark icon.static final intApplication icon.static final intstatic final intstatic final intstatic final intstatic final intThe minimum length of a keyboard layout name.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intThe uCode parameter is a virtual-key code and is translated into an unshifted character value in the low order word of the return value.static final intThe uCode parameter is a virtual-key code and is translated into a scan code.static final intThe uCode parameter is a virtual-key code and is translated into a scan code.static final intThe uCode parameter is a scan code and is translated into a virtual-key code that does not distinguish between left- and right-hand keys.static final intThe uCode parameter is a scan code and is translated into a virtual-key code that distinguishes between left- and right-hand keys.static final intstatic final intstatic final intstatic final intstatic final intstatic final intBitmask for the ALT key modifier.static final intBitmask for the CTRL key modifier.static final intBitmask for the HANKAKU key modifier.static final intBitmask for the RESERVED1 key modifier.static final intBitmask for the RESERVED2 key modifier.static final intBitmask for the SHIFT key modifier.static final intReturns a handle to the display monitor that is nearest to the window.static final intReturns NULL.static final intReturns a handle to the primary display monitor.static final intThis is the primary display monitor.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intThe device is an HID that is not a keyboard and not a mouse.static final intThe device is a keyboard.static final intThe device is a mouse.static final intMaximizes the window.static final intMinimizes the window.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intThe function returns without waiting for the time-out period to elapse if the receiving thread appears to not respond or "hangs."static final intPrevents the calling thread from processing any other requests until the function returns.static final intThe function should return 0 if the receiving window is destroyed or its owning thread dies while the message is being processed.static final intThe calling thread is not prevented from processing other requests while waiting for the function to return.static final intThe function does not enforce the time-out period as long as the receiving thread is processing messages.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intIf the calling thread and the thread that owns the window are attached to different input queues, the system posts the request to the thread that owns the window.static final intPrevents generation of the WM_SYNCPAINT message.static final intDraws a frame (defined in the window's class description) around the window.static final intApplies new frame styles set using the SetWindowLong function.static final intHides the window.static final intDoes not activate the window.static final intDiscards the entire contents of the client area.static final intRetains the current position (ignores X and Y parameters).static final intDoes not change the owner window's position in the Z order.static final intDoes not redraw changes.static final intSame as the SWP_NOOWNERZORDER flag.static final intUsed by User32.SetWindowPos.static final intRetains the current size (ignores the cx and cy parameters).static final intRetains the current Z order (ignores the hWndInsertAfter parameter).static final intDisplays the window.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intPosted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the TranslateMessage function.static final intSent as a signal that a window or an application should terminate.static final intAn application sends the WM_COPYDATA message to pass data to another application.static final intstatic final intstatic final intstatic final intSent to the parent window of an owner-drawn button, combo box, list box, or menu when a visual aspect of the button, combo box, list box, or menu has changed.static final intSent to a window to retrieve a handle to the large or small icon associated with a window.static final intPosted when the user presses a hot key registered by the RegisterHotKey function.static final intPosted to the window with the keyboard focus when a nonsystem key is pressed.static final intstatic final intAn application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window.static final intThe WM_PAINT message is sent when the system or another application makes a request to paint a portion of an \ application's window.static final intIndicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function.static final intstatic final intSent to a window when the window is about to be hidden or shown.static final intstatic final intA window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button.static final intstatic final intstatic final intUsed to define private messages for use by private window classes, usually of the form WM_USER+x, where x is an integer value.static final intThe window has a thin-line border.static final intThe window has a title bar (includes the WS_BORDER style).static final intThe window is a child window.static final intSame as the WS_CHILD style.static final intExcludes the area occupied by child windows when drawing occurs within the parent window.static final intClips child windows relative to each other; that is, when a particular child window receives a WM_PAINT message, the WS_CLIPSIBLINGS style clips all other overlapping child windows out of the region of the child window to be updated.static final intThe window is initially disabled.static final intThe window has a border of a style typically used with dialog boxes.static final intstatic final intstatic final intstatic final intThe window is the first control of a group of controls.static final intThe window has a horizontal scroll bar.static final intThe window is initially minimized.static final intThe window is initially maximized.static final intThe window has a maximize button.static final intThe window is initially minimized.static final intThe window has a minimize button.static final intThe window style overlapped.static final intThe window is an overlapped window.static final intThe windows is a pop-up window.static final intThe window is a pop-up window.static final intThe window has a sizing border.static final intThe window has a window menu on its title bar.static final intThe window is a control that can receive the keyboard focus when the user presses the TAB key.static final intThe window has a sizing border.static final intThe window is an overlapped window.static final intThe window is an overlapped window.static final intThe window is initially visible.static final intThe window has a vertical scroll bar.
- 
Field Details- 
HWND_BROADCAST
- 
HWND_MESSAGE
- 
FLASHW_STOPstatic final int FLASHW_STOP- See Also:
 
- 
FLASHW_CAPTIONstatic final int FLASHW_CAPTION- See Also:
 
- 
FLASHW_TRAYstatic final int FLASHW_TRAY- See Also:
 
- 
FLASHW_ALLstatic final int FLASHW_ALL- See Also:
 
- 
FLASHW_TIMERstatic final int FLASHW_TIMER- See Also:
 
- 
FLASHW_TIMERNOFGstatic final int FLASHW_TIMERNOFG- See Also:
 
- 
IMAGE_BITMAPstatic final int IMAGE_BITMAP- See Also:
 
- 
IMAGE_ICONstatic final int IMAGE_ICON- See Also:
 
- 
IMAGE_CURSORstatic final int IMAGE_CURSOR- See Also:
 
- 
IMAGE_ENHMETAFILEstatic final int IMAGE_ENHMETAFILE- See Also:
 
- 
LR_DEFAULTCOLORstatic final int LR_DEFAULTCOLOR- See Also:
 
- 
LR_MONOCHROMEstatic final int LR_MONOCHROME- See Also:
 
- 
LR_COLORstatic final int LR_COLOR- See Also:
 
- 
LR_COPYRETURNORGstatic final int LR_COPYRETURNORG- See Also:
 
- 
LR_COPYDELETEORGstatic final int LR_COPYDELETEORG- See Also:
 
- 
LR_LOADFROMFILEstatic final int LR_LOADFROMFILE- See Also:
 
- 
LR_LOADTRANSPARENTstatic final int LR_LOADTRANSPARENT- See Also:
 
- 
LR_DEFAULTSIZEstatic final int LR_DEFAULTSIZE- See Also:
 
- 
LR_VGACOLORstatic final int LR_VGACOLOR- See Also:
 
- 
LR_LOADMAP3DCOLORSstatic final int LR_LOADMAP3DCOLORS- See Also:
 
- 
LR_CREATEDIBSECTIONstatic final int LR_CREATEDIBSECTION- See Also:
 
- 
LR_COPYFROMRESOURCEstatic final int LR_COPYFROMRESOURCE- See Also:
 
- 
LR_SHAREDstatic final int LR_SHARED- See Also:
 
- 
GWL_EXSTYLEstatic final int GWL_EXSTYLE- See Also:
 
- 
GWL_STYLEstatic final int GWL_STYLE- See Also:
 
- 
GWL_WNDPROCstatic final int GWL_WNDPROC- See Also:
 
- 
GWL_HINSTANCEstatic final int GWL_HINSTANCE- See Also:
 
- 
GWL_IDstatic final int GWL_ID- See Also:
 
- 
GWL_USERDATAstatic final int GWL_USERDATA- See Also:
 
- 
GWL_HWNDPARENTstatic final int GWL_HWNDPARENT- See Also:
 
- 
DWL_DLGPROCstatic final int DWL_DLGPROC
- 
DWL_MSGRESULTstatic final int DWL_MSGRESULT- See Also:
 
- 
DWL_USERstatic final int DWL_USER
- 
WS_BORDERstatic final int WS_BORDERThe window has a thin-line border.- See Also:
 
- 
WS_CAPTIONstatic final int WS_CAPTIONThe window has a title bar (includes the WS_BORDER style).- See Also:
 
- 
WS_CHILDstatic final int WS_CHILDThe window is a child window. A window with this style cannot have a menu bar. This style cannot be used with the WS_POPUP style.- See Also:
 
- 
WS_CHILDWINDOWstatic final int WS_CHILDWINDOWSame as the WS_CHILD style.- See Also:
 
- 
WS_CLIPCHILDRENstatic final int WS_CLIPCHILDRENExcludes the area occupied by child windows when drawing occurs within the parent window. This style is used when creating the parent window.- See Also:
 
- 
WS_CLIPSIBLINGSstatic final int WS_CLIPSIBLINGSClips child windows relative to each other; that is, when a particular child window receives a WM_PAINT message, the WS_CLIPSIBLINGS style clips all other overlapping child windows out of the region of the child window to be updated. If WS_CLIPSIBLINGS is not specified and child windows overlap, it is possible, when drawing within the client area of a child window, to draw within the client area of a neighboring child window.- See Also:
 
- 
WS_DISABLEDstatic final int WS_DISABLEDThe window is initially disabled. A disabled window cannot receive input from the user. To change this after a window has been created, use the EnableWindow function.- See Also:
 
- 
WS_DLGFRAMEstatic final int WS_DLGFRAMEThe window has a border of a style typically used with dialog boxes. A window with this style cannot have a title bar.- See Also:
 
- 
WS_GROUPstatic final int WS_GROUPThe window is the first control of a group of controls. The group consists of this first control and all controls defined after it, up to the next control with the WS_GROUP style. The first control in each group usually has the WS_TABSTOP style so that the user can move from group to group. The user can subsequently change the keyboard focus from one control in the group to the next control in the group by using the direction keys . You can turn this style on and off to change dialog box navigation. To change this style after a window has been created, use the SetWindowLong function.- See Also:
 
- 
WS_HSCROLLstatic final int WS_HSCROLLThe window has a horizontal scroll bar.- See Also:
 
- 
WS_ICONICstatic final int WS_ICONICThe window is initially minimized. Same as the WS_MINIMIZE style.- See Also:
 
- 
WS_MAXIMIZEstatic final int WS_MAXIMIZEThe window is initially maximized.- See Also:
 
- 
WS_MAXIMIZEBOXstatic final int WS_MAXIMIZEBOXThe window has a maximize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.- See Also:
 
- 
WS_MINIMIZEstatic final int WS_MINIMIZEThe window is initially minimized. Same as the WS_ICONIC style.- See Also:
 
- 
WS_MINIMIZEBOXstatic final int WS_MINIMIZEBOXThe window has a minimize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must also be specified.- See Also:
 
- 
WS_OVERLAPPEDstatic final int WS_OVERLAPPEDThe window style overlapped. The window is an overlapped window. An overlapped window has a title bar and a border. Same as the WS_TILED style.- See Also:
 
- 
WS_POPUPstatic final int WS_POPUPThe windows is a pop-up window. This style cannot be used with the WS_CHILD style.- See Also:
 
- 
WS_SYSMENUstatic final int WS_SYSMENUThe window has a window menu on its title bar. The WS_CAPTION style must also be specified.- See Also:
 
- 
WS_THICKFRAMEstatic final int WS_THICKFRAMEThe window has a sizing border. Same as the WS_SIZEBOX style.- See Also:
 
- 
WS_POPUPWINDOWstatic final int WS_POPUPWINDOWThe window is a pop-up window. The WS_CAPTION and WS_POPUPWINDOW styles must be combined to make the window menu visible.- See Also:
 
- 
WS_OVERLAPPEDWINDOWstatic final int WS_OVERLAPPEDWINDOWThe window is an overlapped window. Same as the WS_TILEDWINDOW style.- See Also:
 
- 
WS_SIZEBOXstatic final int WS_SIZEBOXThe window has a sizing border. Same as the WS_THICKFRAME style.- See Also:
 
- 
WS_TABSTOPstatic final int WS_TABSTOPThe window is a control that can receive the keyboard focus when the user presses the TAB key. Pressing the TAB key changes the keyboard focus to the next control with the WS_TABSTOP style. You can turn this style on and off to change dialog box navigation. To change this style after a window has been created, use the SetWindowLong function. For user-created windows and modeless dialogs to work with tab stops, alter the message loop to call the IsDialogMessage function.- See Also:
 
- 
WS_TILEDstatic final int WS_TILEDThe window is an overlapped window. An overlapped window has a title bar and a border. Same as the WS_OVERLAPPED style.- See Also:
 
- 
WS_TILEDWINDOWstatic final int WS_TILEDWINDOWThe window is an overlapped window. Same as the WS_OVERLAPPEDWINDOW style.- See Also:
 
- 
WS_VISIBLEstatic final int WS_VISIBLEThe window is initially visible. This style can be turned on and off by using the ShowWindow or SetWindowPos function.- See Also:
 
- 
WS_VSCROLLstatic final int WS_VSCROLLThe window has a vertical scroll bar.- See Also:
 
- 
WS_EX_COMPOSITEDstatic final int WS_EX_COMPOSITED- See Also:
 
- 
WS_EX_LAYEREDstatic final int WS_EX_LAYERED- See Also:
 
- 
WS_EX_TRANSPARENTstatic final int WS_EX_TRANSPARENT- See Also:
 
- 
LWA_COLORKEYstatic final int LWA_COLORKEY- See Also:
 
- 
LWA_ALPHAstatic final int LWA_ALPHA- See Also:
 
- 
ULW_COLORKEYstatic final int ULW_COLORKEY- See Also:
 
- 
ULW_ALPHAstatic final int ULW_ALPHA- See Also:
 
- 
ULW_OPAQUEstatic final int ULW_OPAQUE- See Also:
 
- 
AC_SRC_OVERstatic final int AC_SRC_OVER- See Also:
 
- 
AC_SRC_ALPHAstatic final int AC_SRC_ALPHA- See Also:
 
- 
AC_SRC_NO_PREMULT_ALPHAstatic final int AC_SRC_NO_PREMULT_ALPHA- See Also:
 
- 
AC_SRC_NO_ALPHAstatic final int AC_SRC_NO_ALPHA- See Also:
 
- 
VK_SHIFTstatic final int VK_SHIFT- See Also:
 
- 
VK_LSHIFTstatic final int VK_LSHIFT- See Also:
 
- 
VK_RSHIFTstatic final int VK_RSHIFT- See Also:
 
- 
VK_CONTROLstatic final int VK_CONTROL- See Also:
 
- 
VK_LCONTROLstatic final int VK_LCONTROL- See Also:
 
- 
VK_RCONTROLstatic final int VK_RCONTROL- See Also:
 
- 
VK_MENUstatic final int VK_MENU- See Also:
 
- 
VK_LMENUstatic final int VK_LMENU- See Also:
 
- 
VK_RMENUstatic final int VK_RMENU- See Also:
 
- 
MOD_ALTstatic final int MOD_ALT- See Also:
 
- 
MOD_CONTROLstatic final int MOD_CONTROL- See Also:
 
- 
MOD_NOREPEATstatic final int MOD_NOREPEAT- See Also:
 
- 
MOD_SHIFTstatic final int MOD_SHIFT- See Also:
 
- 
MOD_WINstatic final int MOD_WIN- See Also:
 
- 
WH_KEYBOARDstatic final int WH_KEYBOARD- See Also:
 
- 
WH_CALLWNDPROCstatic final int WH_CALLWNDPROC- See Also:
 
- 
WH_MOUSEstatic final int WH_MOUSE- See Also:
 
- 
WH_KEYBOARD_LLstatic final int WH_KEYBOARD_LL- See Also:
 
- 
WH_MOUSE_LLstatic final int WH_MOUSE_LL- See Also:
 
- 
WM_PAINTstatic final int WM_PAINTThe WM_PAINT message is sent when the system or another application makes a request to paint a portion of an \ application's window.- See Also:
 
- 
WM_CLOSEstatic final int WM_CLOSESent as a signal that a window or an application should terminate.- See Also:
 
- 
WM_QUITstatic final int WM_QUITIndicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function.- See Also:
 
- 
WM_SHOWWINDOWstatic final int WM_SHOWWINDOWSent to a window when the window is about to be hidden or shown.- See Also:
 
- 
WM_DRAWITEMstatic final int WM_DRAWITEMSent to the parent window of an owner-drawn button, combo box, list box, or menu when a visual aspect of the button, combo box, list box, or menu has changed.- See Also:
 
- 
WM_KEYDOWNstatic final int WM_KEYDOWNPosted to the window with the keyboard focus when a nonsystem key is pressed. A nonsystem key is a key that is pressed when the ALT key is not pressed.- See Also:
 
- 
WM_CHARstatic final int WM_CHARPosted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the TranslateMessage function. The WM_CHAR message contains the character code of the key that was pressed.- See Also:
 
- 
WM_SYSCOMMANDstatic final int WM_SYSCOMMANDA window receives this message when the user chooses a command from the Window menu (formerly known as the system or control menu) or when the user chooses the maximize button, minimize button, restore button, or close button.- See Also:
 
- 
WM_MDIMAXIMIZEstatic final int WM_MDIMAXIMIZEAn application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window.- See Also:
 
- 
WM_HOTKEYstatic final int WM_HOTKEYPosted when the user presses a hot key registered by the RegisterHotKey function. The message is placed at the top of the message queue associated with the thread that registered the hot key.- See Also:
 
- 
WM_USERstatic final int WM_USERUsed to define private messages for use by private window classes, usually of the form WM_USER+x, where x is an integer value.- See Also:
 
- 
WM_COPYDATAstatic final int WM_COPYDATAAn application sends the WM_COPYDATA message to pass data to another application.- See Also:
 
- 
WM_KEYUPstatic final int WM_KEYUP- See Also:
 
- 
WM_SYSKEYDOWNstatic final int WM_SYSKEYDOWN- See Also:
 
- 
WM_SYSKEYUPstatic final int WM_SYSKEYUP- See Also:
 
- 
WM_SESSION_CHANGEstatic final int WM_SESSION_CHANGE- See Also:
 
- 
WM_CREATEstatic final int WM_CREATE- See Also:
 
- 
WM_SIZEstatic final int WM_SIZE- See Also:
 
- 
WM_DESTROYstatic final int WM_DESTROY- See Also:
 
- 
WM_DEVICECHANGEstatic final int WM_DEVICECHANGE- See Also:
 
- 
WM_GETICONstatic final int WM_GETICONSent to a window to retrieve a handle to the large or small icon associated with a window. The system displays the large icon in the ALT+TAB dialog, and the small icon in the window caption.- See Also:
 
- 
ICON_BIGstatic final int ICON_BIGRetrieve the large icon for the window.- See Also:
 
- 
ICON_SMALLstatic final int ICON_SMALLRetrieve the small icon for the window.- See Also:
 
- 
ICON_SMALL2static final int ICON_SMALL2Retrieves the small icon provided by the application. If the application does not provide one, the system uses the system-generated icon for that window.- See Also:
 
- 
SM_CXSCREENstatic final int SM_CXSCREEN- See Also:
 
- 
SM_CYSCREENstatic final int SM_CYSCREEN- See Also:
 
- 
SM_CXVSCROLLstatic final int SM_CXVSCROLL- See Also:
 
- 
SM_CYHSCROLLstatic final int SM_CYHSCROLL- See Also:
 
- 
SM_CYCAPTIONstatic final int SM_CYCAPTION- See Also:
 
- 
SM_CXBORDERstatic final int SM_CXBORDER- See Also:
 
- 
SM_CYBORDERstatic final int SM_CYBORDER- See Also:
 
- 
SM_CXDLGFRAMEstatic final int SM_CXDLGFRAME- See Also:
 
- 
SM_CYDLGFRAMEstatic final int SM_CYDLGFRAME- See Also:
 
- 
SM_CYVTHUMBstatic final int SM_CYVTHUMB- See Also:
 
- 
SM_CXHTHUMBstatic final int SM_CXHTHUMB- See Also:
 
- 
SM_CXICONstatic final int SM_CXICON- See Also:
 
- 
SM_CYICONstatic final int SM_CYICON- See Also:
 
- 
SM_CXCURSORstatic final int SM_CXCURSOR- See Also:
 
- 
SM_CYCURSORstatic final int SM_CYCURSOR- See Also:
 
- 
SM_CYMENUstatic final int SM_CYMENU- See Also:
 
- 
SM_CXFULLSCREENstatic final int SM_CXFULLSCREEN- See Also:
 
- 
SM_CYFULLSCREENstatic final int SM_CYFULLSCREEN- See Also:
 
- 
SM_CYKANJIWINDOWstatic final int SM_CYKANJIWINDOW- See Also:
 
- 
SM_MOUSEPRESENTstatic final int SM_MOUSEPRESENT- See Also:
 
- 
SM_CYVSCROLLstatic final int SM_CYVSCROLL- See Also:
 
- 
SM_CXHSCROLLstatic final int SM_CXHSCROLL- See Also:
 
- 
SM_DEBUGstatic final int SM_DEBUG- See Also:
 
- 
SM_SWAPBUTTONstatic final int SM_SWAPBUTTON- See Also:
 
- 
SM_RESERVED1static final int SM_RESERVED1- See Also:
 
- 
SM_RESERVED2static final int SM_RESERVED2- See Also:
 
- 
SM_RESERVED3static final int SM_RESERVED3- See Also:
 
- 
SM_RESERVED4static final int SM_RESERVED4- See Also:
 
- 
SM_CXMINstatic final int SM_CXMIN- See Also:
 
- 
SM_CYMINstatic final int SM_CYMIN- See Also:
 
- 
SM_CXSIZEstatic final int SM_CXSIZE- See Also:
 
- 
SM_CYSIZEstatic final int SM_CYSIZE- See Also:
 
- 
SM_CXFRAMEstatic final int SM_CXFRAME- See Also:
 
- 
SM_CYFRAMEstatic final int SM_CYFRAME- See Also:
 
- 
SM_CXMINTRACKstatic final int SM_CXMINTRACK- See Also:
 
- 
SM_CYMINTRACKstatic final int SM_CYMINTRACK- See Also:
 
- 
SM_CXDOUBLECLKstatic final int SM_CXDOUBLECLK- See Also:
 
- 
SM_CYDOUBLECLKstatic final int SM_CYDOUBLECLK- See Also:
 
- 
SM_CXICONSPACINGstatic final int SM_CXICONSPACING- See Also:
 
- 
SM_CYICONSPACINGstatic final int SM_CYICONSPACING- See Also:
 
- 
SM_MENUDROPALIGNMENTstatic final int SM_MENUDROPALIGNMENT- See Also:
 
- 
SM_PENWINDOWSstatic final int SM_PENWINDOWS- See Also:
 
- 
SM_DBCSENABLEDstatic final int SM_DBCSENABLED- See Also:
 
- 
SM_CMOUSEBUTTONSstatic final int SM_CMOUSEBUTTONS- See Also:
 
- 
SM_CXFIXEDFRAMEstatic final int SM_CXFIXEDFRAME- See Also:
 
- 
SM_CYFIXEDFRAMEstatic final int SM_CYFIXEDFRAME- See Also:
 
- 
SM_CXSIZEFRAMEstatic final int SM_CXSIZEFRAME- See Also:
 
- 
SM_CYSIZEFRAMEstatic final int SM_CYSIZEFRAME- See Also:
 
- 
SM_SECUREstatic final int SM_SECURE- See Also:
 
- 
SM_CXEDGEstatic final int SM_CXEDGE- See Also:
 
- 
SM_CYEDGEstatic final int SM_CYEDGE- See Also:
 
- 
SM_CXMINSPACINGstatic final int SM_CXMINSPACING- See Also:
 
- 
SM_CYMINSPACINGstatic final int SM_CYMINSPACING- See Also:
 
- 
SM_CXSMICONstatic final int SM_CXSMICON- See Also:
 
- 
SM_CYSMICONstatic final int SM_CYSMICON- See Also:
 
- 
SM_CYSMCAPTIONstatic final int SM_CYSMCAPTION- See Also:
 
- 
SM_CXSMSIZEstatic final int SM_CXSMSIZE- See Also:
 
- 
SM_CYSMSIZEstatic final int SM_CYSMSIZE- See Also:
 
- 
SM_CXMENUSIZEstatic final int SM_CXMENUSIZE- See Also:
 
- 
SM_CYMENUSIZEstatic final int SM_CYMENUSIZE- See Also:
 
- 
SM_ARRANGEstatic final int SM_ARRANGE- See Also:
 
- 
SM_CXMINIMIZEDstatic final int SM_CXMINIMIZED- See Also:
 
- 
SM_CYMINIMIZEDstatic final int SM_CYMINIMIZED- See Also:
 
- 
SM_CXMAXTRACKstatic final int SM_CXMAXTRACK- See Also:
 
- 
SM_CYMAXTRACKstatic final int SM_CYMAXTRACK- See Also:
 
- 
SM_CXMAXIMIZEDstatic final int SM_CXMAXIMIZED- See Also:
 
- 
SM_CYMAXIMIZEDstatic final int SM_CYMAXIMIZED- See Also:
 
- 
SM_NETWORKstatic final int SM_NETWORK- See Also:
 
- 
SM_CLEANBOOTstatic final int SM_CLEANBOOT- See Also:
 
- 
SM_CXDRAGstatic final int SM_CXDRAG- See Also:
 
- 
SM_CYDRAGstatic final int SM_CYDRAG- See Also:
 
- 
SM_SHOWSOUNDSstatic final int SM_SHOWSOUNDS- See Also:
 
- 
SM_CXMENUCHECKstatic final int SM_CXMENUCHECK- See Also:
 
- 
SM_CYMENUCHECKstatic final int SM_CYMENUCHECK- See Also:
 
- 
SM_SLOWMACHINEstatic final int SM_SLOWMACHINE- See Also:
 
- 
SM_MIDEASTENABLEDstatic final int SM_MIDEASTENABLED- See Also:
 
- 
SM_MOUSEWHEELPRESENTstatic final int SM_MOUSEWHEELPRESENT- See Also:
 
- 
SM_XVIRTUALSCREENstatic final int SM_XVIRTUALSCREEN- See Also:
 
- 
SM_YVIRTUALSCREENstatic final int SM_YVIRTUALSCREEN- See Also:
 
- 
SM_CXVIRTUALSCREENstatic final int SM_CXVIRTUALSCREEN- See Also:
 
- 
SM_CYVIRTUALSCREENstatic final int SM_CYVIRTUALSCREEN- See Also:
 
- 
SM_CMONITORSstatic final int SM_CMONITORS- See Also:
 
- 
SM_SAMEDISPLAYFORMATstatic final int SM_SAMEDISPLAYFORMAT- See Also:
 
- 
SM_IMMENABLEDstatic final int SM_IMMENABLED- See Also:
 
- 
SM_CXFOCUSBORDERstatic final int SM_CXFOCUSBORDER- See Also:
 
- 
SM_CYFOCUSBORDERstatic final int SM_CYFOCUSBORDER- See Also:
 
- 
SM_TABLETPCstatic final int SM_TABLETPC- See Also:
 
- 
SM_MEDIACENTERstatic final int SM_MEDIACENTER- See Also:
 
- 
SM_STARTERstatic final int SM_STARTER- See Also:
 
- 
SM_SERVERR2static final int SM_SERVERR2- See Also:
 
- 
SM_MOUSEHORIZONTALWHEELPRESENTstatic final int SM_MOUSEHORIZONTALWHEELPRESENT- See Also:
 
- 
SM_CXPADDEDBORDERstatic final int SM_CXPADDEDBORDER- See Also:
 
- 
SM_REMOTESESSIONstatic final int SM_REMOTESESSION- See Also:
 
- 
SM_SHUTTINGDOWNstatic final int SM_SHUTTINGDOWN- See Also:
 
- 
SM_REMOTECONTROLstatic final int SM_REMOTECONTROL- See Also:
 
- 
SM_CARETBLINKINGENABLEDstatic final int SM_CARETBLINKINGENABLED- See Also:
 
- 
SW_HIDEstatic final int SW_HIDE- See Also:
 
- 
SW_SHOWNORMALstatic final int SW_SHOWNORMAL- See Also:
 
- 
SW_NORMALstatic final int SW_NORMAL- See Also:
 
- 
SW_SHOWMINIMIZEDstatic final int SW_SHOWMINIMIZED- See Also:
 
- 
SW_SHOWMAXIMIZEDstatic final int SW_SHOWMAXIMIZED- See Also:
 
- 
SW_MAXIMIZEstatic final int SW_MAXIMIZE- See Also:
 
- 
SW_SHOWNOACTIVATEstatic final int SW_SHOWNOACTIVATE- See Also:
 
- 
SW_SHOWstatic final int SW_SHOW- See Also:
 
- 
SW_MINIMIZEstatic final int SW_MINIMIZE- See Also:
 
- 
SW_SHOWMINNOACTIVEstatic final int SW_SHOWMINNOACTIVE- See Also:
 
- 
SW_SHOWNAstatic final int SW_SHOWNA- See Also:
 
- 
SW_RESTOREstatic final int SW_RESTORE- See Also:
 
- 
SW_SHOWDEFAULTstatic final int SW_SHOWDEFAULT- See Also:
 
- 
SW_FORCEMINIMIZEstatic final int SW_FORCEMINIMIZE- See Also:
 
- 
SW_MAXstatic final int SW_MAX- See Also:
 
- 
RDW_INVALIDATEstatic final int RDW_INVALIDATE- See Also:
 
- 
RDW_INTERNALPAINTstatic final int RDW_INTERNALPAINT- See Also:
 
- 
RDW_ERASEstatic final int RDW_ERASE- See Also:
 
- 
RDW_VALIDATEstatic final int RDW_VALIDATE- See Also:
 
- 
RDW_NOINTERNALPAINTstatic final int RDW_NOINTERNALPAINT- See Also:
 
- 
RDW_NOERASEstatic final int RDW_NOERASE- See Also:
 
- 
RDW_NOCHILDRENstatic final int RDW_NOCHILDREN- See Also:
 
- 
RDW_ALLCHILDRENstatic final int RDW_ALLCHILDREN- See Also:
 
- 
RDW_UPDATENOWstatic final int RDW_UPDATENOW- See Also:
 
- 
RDW_ERASENOWstatic final int RDW_ERASENOW- See Also:
 
- 
RDW_FRAMEstatic final int RDW_FRAME- See Also:
 
- 
RDW_NOFRAMEstatic final int RDW_NOFRAME- See Also:
 
- 
GW_HWNDFIRSTstatic final int GW_HWNDFIRSTThe retrieved handle identifies the window of the same type that is highest in the Z order. If the specified window is a topmost window, the handle identifies a topmost window. If the specified window is a top-level window, the handle identifies a top-level window. If the specified window is a child window, the handle identifies a sibling window.- See Also:
 
- 
GW_HWNDLASTstatic final int GW_HWNDLASTThe retrieved handle identifies the window of the same type that is lowest in the Z order. If the specified window is a topmost window, the handle identifies a topmost window. If the specified window is a top-level window, the handle identifies a top-level window. If the specified window is a child window, the handle identifies a sibling window.- See Also:
 
- 
GW_HWNDNEXTstatic final int GW_HWNDNEXTThe retrieved handle identifies the window below the specified window in the Z order. If the specified window is a topmost window, the handle identifies a topmost window. If the specified window is a top-level window, the handle identifies a top-level window. If the specified window is a child window, the handle identifies a sibling window.- See Also:
 
- 
GW_HWNDPREVstatic final int GW_HWNDPREVThe retrieved handle identifies the window above the specified window in the Z order. If the specified window is a topmost window, the handle identifies a topmost window. If the specified window is a top-level window, the handle identifies a top-level window. If the specified window is a child window, the handle identifies a sibling window.- See Also:
 
- 
GW_OWNERstatic final int GW_OWNERThe retrieved handle identifies the specified window's owner window, if any. For more information, see Owned Windows.- See Also:
 
- 
GW_CHILDstatic final int GW_CHILDThe retrieved handle identifies the child window at the top of the Z order, if the specified window is a parent window; otherwise, the retrieved handle is NULL. The function examines only child windows of the specified window. It does not examine descendant windows.- See Also:
 
- 
GW_ENABLEDPOPUPstatic final int GW_ENABLEDPOPUPThe retrieved handle identifies the enabled popup window owned by the specified window (the search uses the first such window found using GW_HWNDNEXT); otherwise, if there are no enabled popup windows, the retrieved handle is that of the specified window.- See Also:
 
- 
SWP_ASYNCWINDOWPOSstatic final int SWP_ASYNCWINDOWPOSIf the calling thread and the thread that owns the window are attached to different input queues, the system posts the request to the thread that owns the window. This prevents the calling thread from blocking its execution while other threads process the request.- See Also:
 
- 
SWP_DEFERERASEstatic final int SWP_DEFERERASEPrevents generation of the WM_SYNCPAINT message.- See Also:
 
- 
SWP_DRAWFRAMEstatic final int SWP_DRAWFRAMEDraws a frame (defined in the window's class description) around the window.- See Also:
 
- 
SWP_FRAMECHANGEDstatic final int SWP_FRAMECHANGEDApplies new frame styles set using the SetWindowLong function. Sends a WM_NCCALCSIZE message to the window, even if the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE is sent only when the window's size is being changed.- See Also:
 
- 
SWP_HIDEWINDOWstatic final int SWP_HIDEWINDOWHides the window.- See Also:
 
- 
SWP_NOACTIVATEstatic final int SWP_NOACTIVATEDoes not activate the window. If this flag is not set, the window is activated and moved to the top of either the topmost or non-topmost group (depending on the setting of the hWndInsertAfter parameter).- See Also:
 
- 
SWP_NOCOPYBITSstatic final int SWP_NOCOPYBITSDiscards the entire contents of the client area. If this flag is not specified, the valid contents of the client area are saved and copied back into the client area after the window is sized or repositioned.- See Also:
 
- 
SWP_NOMOVEstatic final int SWP_NOMOVERetains the current position (ignores X and Y parameters).- See Also:
 
- 
SWP_NOOWNERZORDERstatic final int SWP_NOOWNERZORDERDoes not change the owner window's position in the Z order.- See Also:
 
- 
SWP_NOREDRAWstatic final int SWP_NOREDRAWDoes not redraw changes. If this flag is set, 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 the window being moved. When this flag is set, the application must explicitly invalidate or redraw any parts of the window and parent window that need redrawing.- See Also:
 
- 
SWP_NOREPOSITIONstatic final int SWP_NOREPOSITIONSame as the SWP_NOOWNERZORDER flag.- See Also:
 
- 
SWP_NOSENDCHANGINGstatic final int SWP_NOSENDCHANGINGUsed by User32.SetWindowPos.
 Prevents the window from receiving the WM_WINDOWPOSCHANGING message.- See Also:
 
- 
SWP_NOSIZEstatic final int SWP_NOSIZERetains the current size (ignores the cx and cy parameters).- See Also:
 
- 
SWP_NOZORDERstatic final int SWP_NOZORDERRetains the current Z order (ignores the hWndInsertAfter parameter).- See Also:
 
- 
SWP_SHOWWINDOWstatic final int SWP_SHOWWINDOWDisplays the window.- See Also:
 
- 
SC_MINIMIZEstatic final int SC_MINIMIZEMinimizes the window.- See Also:
 
- 
SC_MAXIMIZEstatic final int SC_MAXIMIZEMaximizes the window.- See Also:
 
- 
BS_PUSHBUTTONstatic final int BS_PUSHBUTTONCreates a push button that posts a WM_COMMAND message to the owner window when the user selects the button.- See Also:
 
- 
BS_DEFPUSHBUTTONstatic final int BS_DEFPUSHBUTTONCreates a push button that behaves like a BS_PUSHBUTTON style button, but has a distinct appearance.
 If the button is in a dialog box, the user can select the button by pressing the ENTER key, even when the button does not have the input focus.
 This style is useful for enabling the user to quickly select the most likely (default) option.- See Also:
 
- 
BS_CHECKBOXstatic final int BS_CHECKBOXCreates a small, empty check box with text. By default, the text is displayed to the right of the check box.
 To display the text to the left of the check box, combine this flag with the BS_LEFTTEXT style (or with the equivalent BS_RIGHTBUTTON style).- See Also:
 
- 
BS_AUTOCHECKBOXstatic final int BS_AUTOCHECKBOXCreates a button that is the same as a check box, except that the check state automatically toggles between checked and cleared each time the user selects the check box.- See Also:
 
- 
BS_RADIOBUTTONstatic final int BS_RADIOBUTTONCreates a small circle with text. By default, the text is displayed to the right of the circle.
 To display the text to the left of the circle, combine this flag with the BS_LEFTTEXT style (or with the equivalent BS_RIGHTBUTTON style).
 Use radio buttons for groups of related, but mutually exclusive choices.- See Also:
 
- 
BS_3STATEstatic final int BS_3STATECreates a button that is the same as a check box, except that the box can be grayed as well as checked or cleared.
 Use the grayed state to show that the state of the check box is not determined.- See Also:
 
- 
BS_AUTO3STATEstatic final int BS_AUTO3STATECreates a button that is the same as a three-state check box, except that the box changes its state when the user selects it.
 The state cycles through checked, indeterminate, and cleared.- See Also:
 
- 
BS_GROUPBOXstatic final int BS_GROUPBOXCreates a rectangle in which other controls can be grouped. Any text associated with this style is displayed in the rectangle's upper left corner.- See Also:
 
- 
BS_USERBUTTONstatic final int BS_USERBUTTONObsolete, but provided for compatibility with 16-bit versions of Windows. Applications should use BS_OWNERDRAW instead.- See Also:
 
- 
BS_AUTORADIOBUTTONstatic final int BS_AUTORADIOBUTTONCreates a button that is the same as a radio button, except that when the user selects it,
 the system automatically sets the button's check state to checked and automatically sets the check state for all other buttons in the same group to cleared.- See Also:
 
- 
BS_PUSHBOXstatic final int BS_PUSHBOXA button that only shows the text- See Also:
 
- 
BS_OWNERDRAWstatic final int BS_OWNERDRAWCreates an owner-drawn button.
 The owner window receives a WM_DRAWITEM message when a visual aspect of the button has changed.
 Do not combine the BS_OWNERDRAW style with any other button styles.- See Also:
 
- 
BS_TYPEMASKstatic final int BS_TYPEMASKDo not use this style.
 A composite style bit that results from using the OR operator on BS_* style bits.
 It can be used to mask out valid BS_* bits from a given bitmask.
 Note that this is out of date and does not correctly include all valid styles.
 Thus, you should not use this style.
 
 However, it makes basic GetWindowLong work when trying to test for a button style for basic button controls.- See Also:
 
- 
BS_LEFTTEXTstatic final int BS_LEFTTEXTPlaces text on the left side of the radio button or check box when combined with a radio button or check box style. Same as the BS_RIGHTBUTTON style.- See Also:
 
- 
MONITOR_DEFAULTTONULLstatic final int MONITOR_DEFAULTTONULLReturns NULL.- See Also:
 
- 
MONITOR_DEFAULTTOPRIMARYstatic final int MONITOR_DEFAULTTOPRIMARYReturns a handle to the primary display monitor.- See Also:
 
- 
MONITOR_DEFAULTTONEARESTstatic final int MONITOR_DEFAULTTONEARESTReturns a handle to the display monitor that is nearest to the window.- See Also:
 
- 
MONITORINFOF_PRIMARYstatic final int MONITORINFOF_PRIMARYThis is the primary display monitor.- See Also:
 
- 
CCHDEVICENAMEstatic final int CCHDEVICENAMELength of the device name in MONITORINFOEX- See Also:
 
- 
EWX_HYBRID_SHUTDOWNstatic final int EWX_HYBRID_SHUTDOWNBeginning with Windows 8: You can prepare the system for a faster startup by combining the EWX_HYBRID_SHUTDOWN flag with the EWX_SHUTDOWN flag.- See Also:
 
- 
EWX_LOGOFFstatic final int EWX_LOGOFFShuts down all processes running in the logon session of the process that called the ExitWindowsEx function. Then it logs the user off. This flag can be used only by processes running in an interactive user's logon session.- See Also:
 
- 
EWX_POWEROFFstatic final int EWX_POWEROFFShuts down the system and turns off the power. The system must support the power-off feature. The calling process must have the SE_SHUTDOWN_NAME privilege. For more information, seeUser32.ExitWindowsEx(com.sun.jna.platform.win32.WinDef.UINT, com.sun.jna.platform.win32.WinDef.DWORD).- See Also:
 
- 
EWX_REBOOTstatic final int EWX_REBOOTShuts down the system and then restarts the system. The calling process must have the SE_SHUTDOWN_NAME privilege. For more information, seeUser32.ExitWindowsEx(com.sun.jna.platform.win32.WinDef.UINT, com.sun.jna.platform.win32.WinDef.DWORD).- See Also:
 
- 
EWX_RESTARTAPPSstatic final int EWX_RESTARTAPPSShuts down the system and then restarts it, as well as any applications that have been registered for restart using the RegisterApplicationRestart function. These application receive the WM_QUERYENDSESSION message with lParam set to the ENDSESSION_CLOSEAPP value. For more information, see Guidelines for Applications.- See Also:
 
- 
EWX_SHUTDOWNstatic final int EWX_SHUTDOWNShuts down the system to a point at which it is safe to turn off the power. All file buffers have been flushed to disk, and all running processes have stopped. The calling process must have the SE_SHUTDOWN_NAME privilege. For more information, seeUser32.ExitWindowsEx(com.sun.jna.platform.win32.WinDef.UINT, com.sun.jna.platform.win32.WinDef.DWORD). Specifying this flag will not turn off the power even if the system supports the power-off feature. You must specify EWX_POWEROFF to do this. Windows XP with SP1: If the system supports the power-off feature, specifying this flag turns off the power.- See Also:
 
- 
EWX_FORCEstatic final int EWX_FORCEThis flag has no effect if terminal services is enabled. Otherwise, the system does not send the WM_QUERYENDSESSION message. This can cause applications to lose data. Therefore, you should only use this flag in an emergency.- See Also:
 
- 
EWX_FORCEIFHUNGstatic final int EWX_FORCEIFHUNGForces processes to terminate if they do not respond to the WM_QUERYENDSESSION or WM_ENDSESSION message within the timeout interval. For more information, seeUser32.ExitWindowsEx(com.sun.jna.platform.win32.WinDef.UINT, com.sun.jna.platform.win32.WinDef.DWORD).- See Also:
 
- 
GA_PARENTstatic final int GA_PARENTRetrieves the parent window. This does not include the owner, as it does with the GetParent function.- See Also:
 
- 
GA_ROOTstatic final int GA_ROOTRetrieves the root window by walking the chain of parent windows.- See Also:
 
- 
GA_ROOTOWNERstatic final int GA_ROOTOWNERRetrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.- See Also:
 
- 
GCW_ATOMstatic final int GCW_ATOMRetrieves an ATOM value that uniquely identifies the window class. This is the same atom that the RegisterClassEx function returns.- See Also:
 
- 
GCL_HICONstatic final int GCL_HICONRetrieves a handle to the icon associated with the class.- See Also:
 
- 
GCL_HICONSMstatic final int GCL_HICONSMRetrieves a handle to the small icon associated with the class.- See Also:
 
- 
GCL_CBCLSEXTRAstatic final int GCL_CBCLSEXTRARetrieves the size, in bytes, of the extra memory associated with the class.- See Also:
 
- 
GCL_CBWNDEXTRAstatic final int GCL_CBWNDEXTRARetrieves the size, in bytes, of the extra window memory associated with each window in the class. For information on how to access this memory, see GetWindowLongPtr.- See Also:
 
- 
GCLP_HBRBACKGROUNDstatic final int GCLP_HBRBACKGROUNDRetrieves a handle to the background brush associated with the class.- See Also:
 
- 
GCLP_HCURSORstatic final int GCLP_HCURSORRetrieves a handle to the cursor associated with the class.- See Also:
 
- 
GCLP_HICONstatic final int GCLP_HICONRetrieves a handle to the icon associated with the class.- See Also:
 
- 
GCLP_HICONSMstatic final int GCLP_HICONSMRetrieves a handle to the small icon associated with the class.- See Also:
 
- 
GCLP_HMODULEstatic final int GCLP_HMODULERetrieves a handle to the module that registered the class.- See Also:
 
- 
GCLP_MENUNAMEstatic final int GCLP_MENUNAMERetrieves the pointer to the menu name string. The string identifies the menu resource associated with the class.- See Also:
 
- 
GCL_STYLEstatic final int GCL_STYLERetrieves the window-class style bits.- See Also:
 
- 
GCLP_WNDPROCstatic final int GCLP_WNDPROCRetrieves the address of the window procedure, or a handle representing the address of the window procedure. You must use the CallWindowProc function to call the window procedure.- See Also:
 
- 
SMTO_ABORTIFHUNGstatic final int SMTO_ABORTIFHUNGThe function returns without waiting for the time-out period to elapse if the receiving thread appears to not respond or "hangs."- See Also:
 
- 
SMTO_BLOCKstatic final int SMTO_BLOCKPrevents the calling thread from processing any other requests until the function returns.- See Also:
 
- 
SMTO_NORMALstatic final int SMTO_NORMALThe calling thread is not prevented from processing other requests while waiting for the function to return.- See Also:
 
- 
SMTO_NOTIMEOUTIFNOTHUNGstatic final int SMTO_NOTIMEOUTIFNOTHUNGThe function does not enforce the time-out period as long as the receiving thread is processing messages.- See Also:
 
- 
SMTO_ERRORONEXITstatic final int SMTO_ERRORONEXITThe function should return 0 if the receiving window is destroyed or its owning thread dies while the message is being processed.- See Also:
 
- 
IDC_APPSTARTINGstatic final int IDC_APPSTARTINGStandard arrow and small hourglass cursor.- See Also:
 
- 
IDC_ARROWstatic final int IDC_ARROWStandard arrow cursor.- See Also:
 
- 
IDC_CROSSstatic final int IDC_CROSSCrosshair cursor.- See Also:
 
- 
IDC_HANDstatic final int IDC_HANDHand cursor.- See Also:
 
- 
IDC_HELPstatic final int IDC_HELPArrow and question mark cursor.- See Also:
 
- 
IDC_IBEAMstatic final int IDC_IBEAMI-beam cursor.- See Also:
 
- 
IDC_NOstatic final int IDC_NOSlashed circle cursor.- See Also:
 
- 
IDC_SIZEALLstatic final int IDC_SIZEALLFour-pointed arrow cursor pointing north, south, east, and west.- See Also:
 
- 
IDC_SIZENESWstatic final int IDC_SIZENESWDouble-pointed arrow cursor pointing northeast and southwest.- See Also:
 
- 
IDC_SIZENSstatic final int IDC_SIZENSDouble-pointed arrow cursor pointing north and south.- See Also:
 
- 
IDC_SIZENWSEstatic final int IDC_SIZENWSEDouble-pointed arrow cursor pointing northwest and southeast.- See Also:
 
- 
IDC_SIZEWEstatic final int IDC_SIZEWEDouble-pointed arrow cursor pointing west and east.- See Also:
 
- 
IDC_UPARROWstatic final int IDC_UPARROWVertical arrow cursor.- See Also:
 
- 
IDC_WAITstatic final int IDC_WAITHourglass cursor.- See Also:
 
- 
IDI_APPLICATIONstatic final int IDI_APPLICATIONApplication icon.- See Also:
 
- 
IDI_ASTERISKstatic final int IDI_ASTERISKAsterisk icon.- See Also:
 
- 
IDI_EXCLAMATIONstatic final int IDI_EXCLAMATIONExclamation point icon.- See Also:
 
- 
IDI_HANDstatic final int IDI_HANDStop sign icon.- See Also:
 
- 
IDI_QUESTIONstatic final int IDI_QUESTIONQuestion-mark icon.- See Also:
 
- 
IDI_WINLOGOstatic final int IDI_WINLOGOApplication icon. Windows 2000: Windows logo icon.- See Also:
 
- 
RIM_TYPEMOUSEstatic final int RIM_TYPEMOUSEThe device is a mouse.- See Also:
 
- 
RIM_TYPEKEYBOARDstatic final int RIM_TYPEKEYBOARDThe device is a keyboard.- See Also:
 
- 
RIM_TYPEHIDstatic final int RIM_TYPEHIDThe device is an HID that is not a keyboard and not a mouse.- See Also:
 
- 
CF_BITMATstatic final int CF_BITMATA handle to a bitmap (HBITMAP).- See Also:
 
- 
CF_DIBstatic final int CF_DIBA memory object containing a BITMAPINFO structure followed by the bitmap bits.- See Also:
 
- 
CF_DIBV5static final int CF_DIBV5A memory object containing a BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.- See Also:
 
- 
CF_DIFstatic final int CF_DIFSoftware Arts' Data Interchange Format.- See Also:
 
- 
CF_DSPBITMAPstatic final int CF_DSPBITMAPBitmap display format associated with a private format. The hMem parameter must be a handle to data that can be displayed in bitmap format in lieu of the privately formatted data.- See Also:
 
- 
CF_DSPENHMETAFILEstatic final int CF_DSPENHMETAFILEEnhanced metafile display format associated with a private format. The hMem parameter must be a handle to data that can be displayed in enhanced metafile format in lieu of the privately formatted data.- See Also:
 
- 
CF_DSPMETAFILEPICTstatic final int CF_DSPMETAFILEPICTMetafile-picture display format associated with a private format. The hMem parameter must be a handle to data that can be displayed in metafile-picture format in lieu of the privately formatted data.- See Also:
 
- 
CF_DSPTEXTstatic final int CF_DSPTEXTText display format associated with a private format. The hMem parameter must be a handle to data that can be displayed in text format in lieu of the privately formatted data.- See Also:
 
- 
CF_ENHMETAFILEstatic final int CF_ENHMETAFILEA handle to an enhanced metafile (HENHMETAFILE).- See Also:
 
- 
CF_GDIOBJFIRSTstatic final int CF_GDIOBJFIRSTStart of a range of integer values for application-defined GDI object clipboard formats. The end of the range is CF_GDIOBJLAST.Handles associated with clipboard formats in this range are not automatically deleted using the GlobalFree function when the clipboard is emptied. Also, when using values in this range, the hMem parameter is not a handle to a GDI object, but is a handle allocated by the GlobalAlloc function with the GMEM_MOVEABLE flag. - See Also:
 
- 
CF_GDIOBJLASTstatic final int CF_GDIOBJLAST- See Also:
 
- 
CF_HDROPstatic final int CF_HDROPA handle to type HDROP that identifies a list of files. An application can retrieve information about the files by passing the handle to the DragQueryFile function.- See Also:
 
- 
CF_LOCALEstatic final int CF_LOCALEThe data is a handle to the locale identifier associated with text in the clipboard. When you close the clipboard, if it contains CF_TEXT data but no CF_LOCALE data, the system automatically sets the CF_LOCALE format to the current input language. You can use the CF_LOCALE format to associate a different locale with the clipboard text.An application that pastes text from the clipboard can retrieve this format to determine which character set was used to generate the text. Note that the clipboard does not support plain text in multiple character sets. To achieve this, use a formatted text data type such as RTF instead. The system uses the code page associated with CF_LOCALE to implicitly convert from CF_TEXT to CF_UNICODETEXT. Therefore, the correct code page table is used for the conversion. - See Also:
 
- 
CF_METAFILEPICTstatic final int CF_METAFILEPICTHandle to a metafile picture format as defined by the METAFILEPICT structure. When passing a CF_METAFILEPICT handle by means of DDE, the application responsible for deleting hMem should also free the metafile referred to by the CF_METAFILEPICT handle.- See Also:
 
- 
CF_OEMTEXTstatic final int CF_OEMTEXTText format containing characters in the OEM character set. Each line ends with a carriage return/linefeed (CR-LF) combination. A null character signals the end of the data.- See Also:
 
- 
CF_OWNERDISPLAYstatic final int CF_OWNERDISPLAYOwner-display format. The clipboard owner must display and update the clipboard viewer window, and receive the WM_ASKCBFORMATNAME, WM_HSCROLLCLIPBOARD, WM_PAINTCLIPBOARD, WM_SIZECLIPBOARD, and WM_VSCROLLCLIPBOARD messages. The hMem parameter must be NULL.- See Also:
 
- 
CF_PALETTEstatic final int CF_PALETTEHandle to a color palette. Whenever an application places data in the clipboard that depends on or assumes a color palette, it should place the palette on the clipboard as well.If the clipboard contains data in the CF_PALETTE (logical color palette) format, the application should use the SelectPalette and RealizePalette functions to realize (compare) any other data in the clipboard against that logical palette. When displaying clipboard data, the clipboard always uses as its current palette any object on the clipboard that is in the CF_PALETTE format. - See Also:
 
- 
CF_PENDATAstatic final int CF_PENDATAData for the pen extensions to the Microsoft Windows for Pen Computing.- See Also:
 
- 
CF_PRIVATEFIRSTstatic final int CF_PRIVATEFIRSTStart of a range of integer values for private clipboard formats. The range ends with CF_PRIVATELAST. Handles associated with private clipboard formats are not freed automatically; the clipboard owner must free such handles, typically in response to the WM_DESTROYCLIPBOARD message.- See Also:
 
- 
CF_PRIVATELASTstatic final int CF_PRIVATELAST- See Also:
 
- 
CF_RIFFstatic final int CF_RIFFRepresents audio data more complex than can be represented in a CF_WAVE standard wave format.- See Also:
 
- 
CF_SYLKstatic final int CF_SYLKMicrosoft Symbolic Link (SYLK) format.- See Also:
 
- 
CF_TEXTstatic final int CF_TEXTText format. Each line ends with a carriage return/linefeed (CR-LF) combination. A null character signals the end of the data. Use this format for ANSI text.- See Also:
 
- 
CF_TIFFstatic final int CF_TIFFTagged-image file format.- See Also:
 
- 
CF_UNICODETEXTstatic final int CF_UNICODETEXTUnicode text format. Each line ends with a carriage return/linefeed (CR-LF) combination. A null character signals the end of the data.- See Also:
 
- 
CF_WAVEstatic final int CF_WAVERepresents audio data in one of the standard wave formats, such as 11 kHz or 22 kHz PCM.- See Also:
 
- 
MAPVK_VK_TO_VSCstatic final int MAPVK_VK_TO_VSCThe uCode parameter is a virtual-key code and is translated into a scan code. If it is a virtual-key code that does not distinguish between left- and right-hand keys, the left-hand scan code is returned. If there is no translation, the function returns 0. Used in uMapType parameter toUser32.MapVirtualKeyEx(int, int, com.sun.jna.platform.win32.WinDef.HKL)- See Also:
 
- 
MAPVK_VSC_TO_VKstatic final int MAPVK_VSC_TO_VKThe uCode parameter is a scan code and is translated into a virtual-key code that does not distinguish between left- and right-hand keys. If there is no translation, the function returns 0. Used in uMapType parameter toUser32.MapVirtualKeyEx(int, int, com.sun.jna.platform.win32.WinDef.HKL)- See Also:
 
- 
MAPVK_VK_TO_CHARstatic final int MAPVK_VK_TO_CHARThe uCode parameter is a virtual-key code and is translated into an unshifted character value in the low order word of the return value. Dead keys (diacritics) are indicated by setting the top bit of the return value. If there is no translation, the function returns 0. Used in uMapType parameter toUser32.MapVirtualKeyEx(int, int, com.sun.jna.platform.win32.WinDef.HKL)- See Also:
 
- 
MAPVK_VSC_TO_VK_EXstatic final int MAPVK_VSC_TO_VK_EXThe uCode parameter is a scan code and is translated into a virtual-key code that distinguishes between left- and right-hand keys. If there is no translation, the function returns 0. Used in uMapType parameter toUser32.MapVirtualKeyEx(int, int, com.sun.jna.platform.win32.WinDef.HKL)- See Also:
 
- 
MAPVK_VK_TO_VSC_EXstatic final int MAPVK_VK_TO_VSC_EXThe uCode parameter is a virtual-key code and is translated into a scan code. If it is a virtual-key code that does not distinguish between left- and right-hand keys, the left-hand scan code is returned. If the scan code is an extended scan code, the high byte of the uCode value can contain either 0xe0 or 0xe1 to specify the extended scan code. If there is no translation, the function returns 0. Used in uMapType parameter toUser32.MapVirtualKeyEx(int, int, com.sun.jna.platform.win32.WinDef.HKL)- See Also:
 
- 
KL_NAMELENGTHstatic final int KL_NAMELENGTHThe minimum length of a keyboard layout name.User32.GetKeyboardLayoutName(char[])- See Also:
 
- 
MODIFIER_SHIFT_MASKstatic final int MODIFIER_SHIFT_MASKBitmask for the SHIFT key modifier.- See Also:
 
- 
MODIFIER_CTRL_MASKstatic final int MODIFIER_CTRL_MASKBitmask for the CTRL key modifier.- See Also:
 
- 
MODIFIER_ALT_MASKstatic final int MODIFIER_ALT_MASKBitmask for the ALT key modifier.- See Also:
 
- 
MODIFIER_HANKAKU_MASKstatic final int MODIFIER_HANKAKU_MASKBitmask for the HANKAKU key modifier.- See Also:
 
- 
MODIFIER_RESERVED1_MASKstatic final int MODIFIER_RESERVED1_MASKBitmask for the RESERVED1 key modifier.- See Also:
 
- 
MODIFIER_RESERVED2_MASKstatic final int MODIFIER_RESERVED2_MASKBitmask for the RESERVED2 key modifier.- See Also:
 
 
-