Schnittstelle WinUser
- Alle Superschnittstellen:
WinDef
- Alle bekannten Unterschnittstellen:
User32
- Autor:
- dblock[at]dblock.org, Andreas "PAX" Lück, onkelpax-git[at]yahoo.de
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic class
static class
Contains data to be passed to another application by the WM_COPYDATA message.static class
Defines the message parameters passed to a WH_CALLWNDPROC hook procedure, CallWndProc.static class
static class
static class
Contains information about a simulated message generated by an input device other than a keyboard or mouse.static class
static class
static class
Each physical display is represented by a monitor handle of type HMONITOR.static interface
static class
static class
Used by SendInput to store information for synthesizing input events such as keystrokes, mouse movement, and mouse clicks.static class
static class
Contains information about a simulated keyboard event.static class
Contains the time of the last input.static interface
static interface
static interface
An 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 class
The MONITORINFO structure contains information about a display monitor.static class
The MONITORINFOEX structure contains information about a display monitor.static class
Contains information about a simulated mouse event.static class
static class
static class
static class
Contains information about a raw input device.static class
Specifies the width and height of a rectangle.static class
static class
Contains information about the placement of a window on the screen.static interface
An application-defined function that processes messages sent to a window.static interface
An 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 class
Contains window class information.static interface
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.platform.win32.WinDef
WinDef.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
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final int
static final int
static final int
static final int
static final int
Creates 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 int
Creates 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 int
Creates 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 int
Creates 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 int
Creates a small, empty check box with text.static final int
Creates 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 int
Creates a rectangle in which other controls can be grouped.static final int
Places text on the left side of the radio button or check box when combined with a radio button or check box style.static final int
Creates 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 int
A button that only shows the textstatic final int
Creates a push button that posts a WM_COMMAND message to the owner window when the user selects the button.static final int
Creates a small circle with text.static final int
Do 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 int
Obsolete, but provided for compatibility with 16-bit versions of Windows.static final int
Length of the device name in MONITORINFOEXstatic final int
A handle to a bitmap (HBITMAP).static final int
A memory object containing a BITMAPINFO structure followed by the bitmap bits.static final int
A memory object containing a BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.static final int
Software Arts' Data Interchange Format.static final int
Bitmap display format associated with a private format.static final int
Enhanced metafile display format associated with a private format.static final int
Metafile-picture display format associated with a private format.static final int
Text display format associated with a private format.static final int
A handle to an enhanced metafile (HENHMETAFILE).static final int
Start of a range of integer values for application-defined GDI object clipboard formats.static final int
static final int
A handle to type HDROP that identifies a list of files.static final int
The data is a handle to the locale identifier associated with text in the clipboard.static final int
Handle to a metafile picture format as defined by the METAFILEPICT structure.static final int
Text format containing characters in the OEM character set.static final int
Owner-display format.static final int
Handle to a color palette.static final int
Data for the pen extensions to the Microsoft Windows for Pen Computing.static final int
Start of a range of integer values for private clipboard formats.static final int
static final int
Represents audio data more complex than can be represented in a CF_WAVE standard wave format.static final int
Microsoft Symbolic Link (SYLK) format.static final int
Text format.static final int
Tagged-image file format.static final int
Unicode text format.static final int
Represents audio data in one of the standard wave formats, such as 11 kHz or 22 kHz PCM.static final int
static final int
static final int
static final int
This flag has no effect if terminal services is enabled.static final int
Forces processes to terminate if they do not respond to the WM_QUERYENDSESSION or WM_ENDSESSION message within the timeout interval.static final int
Beginning 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 int
Shuts down all processes running in the logon session of the process that called the ExitWindowsEx function.static final int
Shuts down the system and turns off the power.static final int
Shuts down the system and then restarts the system.static final int
Shuts down the system and then restarts it, as well as any applications that have been registered for restart using the RegisterApplicationRestart function.static final int
Shuts down the system to a point at which it is safe to turn off the power.static final int
static final int
static final int
static final int
static final int
static final int
static final int
Retrieves the parent window.static final int
Retrieves the root window by walking the chain of parent windows.static final int
Retrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.static final int
Retrieves the size, in bytes, of the extra memory associated with the class.static final int
Retrieves the size, in bytes, of the extra window memory associated with each window in the class.static final int
Retrieves a handle to the icon associated with the class.static final int
Retrieves a handle to the small icon associated with the class.static final int
Retrieves the window-class style bits.static final int
Retrieves a handle to the background brush associated with the class.static final int
Retrieves a handle to the cursor associated with the class.static final int
Retrieves a handle to the icon associated with the class.static final int
Retrieves a handle to the small icon associated with the class.static final int
Retrieves a handle to the module that registered the class.static final int
Retrieves the pointer to the menu name string.static final int
Retrieves the address of the window procedure, or a handle representing the address of the window procedure.static final int
Retrieves an ATOM value that uniquely identifies the window class.static final int
The 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 int
The 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 int
The retrieved handle identifies the window of the same type that is highest in the Z order.static final int
The retrieved handle identifies the window of the same type that is lowest in the Z order.static final int
The retrieved handle identifies the window below the specified window in the Z order.static final int
The retrieved handle identifies the window above the specified window in the Z order.static final int
The retrieved handle identifies the specified window's owner window, if any.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final WinDef.HWND
static final WinDef.HWND
static final int
Retrieve the large icon for the window.static final int
Retrieve the small icon for the window.static final int
Retrieves the small icon provided by the application.static final int
Standard arrow and small hourglass cursor.static final int
Standard arrow cursor.static final int
Crosshair cursor.static final int
Hand cursor.static final int
Arrow and question mark cursor.static final int
I-beam cursor.static final int
Slashed circle cursor.static final int
Four-pointed arrow cursor pointing north, south, east, and west.static final int
Double-pointed arrow cursor pointing northeast and southwest.static final int
Double-pointed arrow cursor pointing north and south.static final int
Double-pointed arrow cursor pointing northwest and southeast.static final int
Double-pointed arrow cursor pointing west and east.static final int
Vertical arrow cursor.static final int
Hourglass cursor.static final int
Application icon.static final int
Asterisk icon.static final int
Exclamation point icon.static final int
Stop sign icon.static final int
Question-mark icon.static final int
Application icon.static final int
static final int
static final int
static final int
static final int
The minimum length of a keyboard layout name.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
static final int
static final int
static final int
static final int
static final int
The 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 int
The uCode parameter is a virtual-key code and is translated into a scan code.static final int
The uCode parameter is a virtual-key code and is translated into a scan code.static final int
The 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 int
The uCode parameter is a scan code and is translated into a virtual-key code that distinguishes between left- and right-hand keys.static final int
static final int
static final int
static final int
static final int
static final int
Bitmask for the ALT key modifier.static final int
Bitmask for the CTRL key modifier.static final int
Bitmask for the HANKAKU key modifier.static final int
Bitmask for the RESERVED1 key modifier.static final int
Bitmask for the RESERVED2 key modifier.static final int
Bitmask for the SHIFT key modifier.static final int
Returns a handle to the display monitor that is nearest to the window.static final int
Returns NULL.static final int
Returns a handle to the primary display monitor.static final int
This is the primary display monitor.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
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
static final int
static final int
static final int
static final int
static final int
The device is an HID that is not a keyboard and not a mouse.static final int
The device is a keyboard.static final int
The device is a mouse.static final int
Maximizes the window.static final int
Minimizes the window.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
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
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
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
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
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
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
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
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
The function returns without waiting for the time-out period to elapse if the receiving thread appears to not respond or "hangs."static final int
Prevents the calling thread from processing any other requests until the function returns.static final int
The function should return 0 if the receiving window is destroyed or its owning thread dies while the message is being processed.static final int
The calling thread is not prevented from processing other requests while waiting for the function to return.static final int
The function does not enforce the time-out period as long as the receiving thread is processing messages.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
static final int
static final int
static final int
static final int
static final int
If 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 int
Prevents generation of the WM_SYNCPAINT message.static final int
Draws a frame (defined in the window's class description) around the window.static final int
Applies new frame styles set using the SetWindowLong function.static final int
Hides the window.static final int
Does not activate the window.static final int
Discards the entire contents of the client area.static final int
Retains the current position (ignores X and Y parameters).static final int
Does not change the owner window's position in the Z order.static final int
Does not redraw changes.static final int
Same as the SWP_NOOWNERZORDER flag.static final int
Used by User32.SetWindowPos.static final int
Retains the current size (ignores the cx and cy parameters).static final int
Retains the current Z order (ignores the hWndInsertAfter parameter).static final int
Displays the window.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
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Posted to the window with the keyboard focus when a WM_KEYDOWN message is translated by the TranslateMessage function.static final int
Sent as a signal that a window or an application should terminate.static final int
An application sends the WM_COPYDATA message to pass data to another application.static final int
static final int
static final int
static final int
Sent 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 int
Sent to a window to retrieve a handle to the large or small icon associated with a window.static final int
Posted when the user presses a hot key registered by the RegisterHotKey function.static final int
Posted to the window with the keyboard focus when a nonsystem key is pressed.static final int
static final int
An application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window.static final int
The 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 int
static final int
Indicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function.static final int
static final int
Sent to a window when the window is about to be hidden or shown.static final int
static final int
A 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 int
static final int
static final int
Used 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 int
The window has a thin-line border.static final int
The window has a title bar (includes the WS_BORDER style).static final int
The window is a child window.static final int
Same as the WS_CHILD style.static final int
Excludes the area occupied by child windows when drawing occurs within the parent window.static final int
Clips 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 int
The window is initially disabled.static final int
The window has a border of a style typically used with dialog boxes.static final int
static final int
static final int
static final int
The window is the first control of a group of controls.static final int
The window has a horizontal scroll bar.static final int
The window is initially minimized.static final int
The window is initially maximized.static final int
The window has a maximize button.static final int
The window is initially minimized.static final int
The window has a minimize button.static final int
The window style overlapped.static final int
The window is an overlapped window.static final int
The windows is a pop-up window.static final int
The window is a pop-up window.static final int
The window has a sizing border.static final int
The window has a window menu on its title bar.static final int
The window is a control that can receive the keyboard focus when the user presses the TAB key.static final int
The window has a sizing border.static final int
The window is an overlapped window.static final int
The window is an overlapped window.static final int
The window is initially visible.static final int
The window has a vertical scroll bar. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungRegisterPowerSettingNotification
(WinNT.HANDLE hRecipient, Guid.GUID PowerSettingGuid, int Flags) Registers the application to receive power setting notifications for the specific power setting event.Unregisters the power setting notification.
-
Felddetails
-
HWND_BROADCAST
-
HWND_MESSAGE
-
FLASHW_STOP
static final int FLASHW_STOP- Siehe auch:
-
FLASHW_CAPTION
static final int FLASHW_CAPTION- Siehe auch:
-
FLASHW_TRAY
static final int FLASHW_TRAY- Siehe auch:
-
FLASHW_ALL
static final int FLASHW_ALL- Siehe auch:
-
FLASHW_TIMER
static final int FLASHW_TIMER- Siehe auch:
-
FLASHW_TIMERNOFG
static final int FLASHW_TIMERNOFG- Siehe auch:
-
IMAGE_BITMAP
static final int IMAGE_BITMAP- Siehe auch:
-
IMAGE_ICON
static final int IMAGE_ICON- Siehe auch:
-
IMAGE_CURSOR
static final int IMAGE_CURSOR- Siehe auch:
-
IMAGE_ENHMETAFILE
static final int IMAGE_ENHMETAFILE- Siehe auch:
-
LR_DEFAULTCOLOR
static final int LR_DEFAULTCOLOR- Siehe auch:
-
LR_MONOCHROME
static final int LR_MONOCHROME- Siehe auch:
-
LR_COLOR
static final int LR_COLOR- Siehe auch:
-
LR_COPYRETURNORG
static final int LR_COPYRETURNORG- Siehe auch:
-
LR_COPYDELETEORG
static final int LR_COPYDELETEORG- Siehe auch:
-
LR_LOADFROMFILE
static final int LR_LOADFROMFILE- Siehe auch:
-
LR_LOADTRANSPARENT
static final int LR_LOADTRANSPARENT- Siehe auch:
-
LR_DEFAULTSIZE
static final int LR_DEFAULTSIZE- Siehe auch:
-
LR_VGACOLOR
static final int LR_VGACOLOR- Siehe auch:
-
LR_LOADMAP3DCOLORS
static final int LR_LOADMAP3DCOLORS- Siehe auch:
-
LR_CREATEDIBSECTION
static final int LR_CREATEDIBSECTION- Siehe auch:
-
LR_COPYFROMRESOURCE
static final int LR_COPYFROMRESOURCE- Siehe auch:
-
LR_SHARED
static final int LR_SHARED- Siehe auch:
-
GWL_EXSTYLE
static final int GWL_EXSTYLE- Siehe auch:
-
GWL_STYLE
static final int GWL_STYLE- Siehe auch:
-
GWL_WNDPROC
static final int GWL_WNDPROC- Siehe auch:
-
GWL_HINSTANCE
static final int GWL_HINSTANCE- Siehe auch:
-
GWL_ID
static final int GWL_ID- Siehe auch:
-
GWL_USERDATA
static final int GWL_USERDATA- Siehe auch:
-
GWL_HWNDPARENT
static final int GWL_HWNDPARENT- Siehe auch:
-
DWL_DLGPROC
static final int DWL_DLGPROC -
DWL_MSGRESULT
static final int DWL_MSGRESULT- Siehe auch:
-
DWL_USER
static final int DWL_USER -
WS_BORDER
static final int WS_BORDERThe window has a thin-line border.- Siehe auch:
-
WS_CAPTION
static final int WS_CAPTIONThe window has a title bar (includes the WS_BORDER style).- Siehe auch:
-
WS_CHILD
static 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.- Siehe auch:
-
WS_CHILDWINDOW
static final int WS_CHILDWINDOWSame as the WS_CHILD style.- Siehe auch:
-
WS_CLIPCHILDREN
static 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.- Siehe auch:
-
WS_CLIPSIBLINGS
static 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.- Siehe auch:
-
WS_DISABLED
static 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.- Siehe auch:
-
WS_DLGFRAME
static 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.- Siehe auch:
-
WS_GROUP
static 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.- Siehe auch:
-
WS_HSCROLL
static final int WS_HSCROLLThe window has a horizontal scroll bar.- Siehe auch:
-
WS_ICONIC
static final int WS_ICONICThe window is initially minimized. Same as the WS_MINIMIZE style.- Siehe auch:
-
WS_MAXIMIZE
static final int WS_MAXIMIZEThe window is initially maximized.- Siehe auch:
-
WS_MAXIMIZEBOX
static 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.- Siehe auch:
-
WS_MINIMIZE
static final int WS_MINIMIZEThe window is initially minimized. Same as the WS_ICONIC style.- Siehe auch:
-
WS_MINIMIZEBOX
static 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.- Siehe auch:
-
WS_OVERLAPPED
static 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.- Siehe auch:
-
WS_POPUP
static final int WS_POPUPThe windows is a pop-up window. This style cannot be used with the WS_CHILD style.- Siehe auch:
-
WS_SYSMENU
static final int WS_SYSMENUThe window has a window menu on its title bar. The WS_CAPTION style must also be specified.- Siehe auch:
-
WS_THICKFRAME
static final int WS_THICKFRAMEThe window has a sizing border. Same as the WS_SIZEBOX style.- Siehe auch:
-
WS_POPUPWINDOW
static 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.- Siehe auch:
-
WS_OVERLAPPEDWINDOW
static final int WS_OVERLAPPEDWINDOWThe window is an overlapped window. Same as the WS_TILEDWINDOW style.- Siehe auch:
-
WS_SIZEBOX
static final int WS_SIZEBOXThe window has a sizing border. Same as the WS_THICKFRAME style.- Siehe auch:
-
WS_TABSTOP
static 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.- Siehe auch:
-
WS_TILED
static 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.- Siehe auch:
-
WS_TILEDWINDOW
static final int WS_TILEDWINDOWThe window is an overlapped window. Same as the WS_OVERLAPPEDWINDOW style.- Siehe auch:
-
WS_VISIBLE
static final int WS_VISIBLEThe window is initially visible. This style can be turned on and off by using the ShowWindow or SetWindowPos function.- Siehe auch:
-
WS_VSCROLL
static final int WS_VSCROLLThe window has a vertical scroll bar.- Siehe auch:
-
WS_EX_COMPOSITED
static final int WS_EX_COMPOSITED- Siehe auch:
-
WS_EX_LAYERED
static final int WS_EX_LAYERED- Siehe auch:
-
WS_EX_TRANSPARENT
static final int WS_EX_TRANSPARENT- Siehe auch:
-
LWA_COLORKEY
static final int LWA_COLORKEY- Siehe auch:
-
LWA_ALPHA
static final int LWA_ALPHA- Siehe auch:
-
ULW_COLORKEY
static final int ULW_COLORKEY- Siehe auch:
-
ULW_ALPHA
static final int ULW_ALPHA- Siehe auch:
-
ULW_OPAQUE
static final int ULW_OPAQUE- Siehe auch:
-
AC_SRC_OVER
static final int AC_SRC_OVER- Siehe auch:
-
AC_SRC_ALPHA
static final int AC_SRC_ALPHA- Siehe auch:
-
AC_SRC_NO_PREMULT_ALPHA
static final int AC_SRC_NO_PREMULT_ALPHA- Siehe auch:
-
AC_SRC_NO_ALPHA
static final int AC_SRC_NO_ALPHA- Siehe auch:
-
VK_SHIFT
static final int VK_SHIFT- Siehe auch:
-
VK_LSHIFT
static final int VK_LSHIFT- Siehe auch:
-
VK_RSHIFT
static final int VK_RSHIFT- Siehe auch:
-
VK_CONTROL
static final int VK_CONTROL- Siehe auch:
-
VK_LCONTROL
static final int VK_LCONTROL- Siehe auch:
-
VK_RCONTROL
static final int VK_RCONTROL- Siehe auch:
-
VK_MENU
static final int VK_MENU- Siehe auch:
-
VK_LMENU
static final int VK_LMENU- Siehe auch:
-
VK_RMENU
static final int VK_RMENU- Siehe auch:
-
MOD_ALT
static final int MOD_ALT- Siehe auch:
-
MOD_CONTROL
static final int MOD_CONTROL- Siehe auch:
-
MOD_NOREPEAT
static final int MOD_NOREPEAT- Siehe auch:
-
MOD_SHIFT
static final int MOD_SHIFT- Siehe auch:
-
MOD_WIN
static final int MOD_WIN- Siehe auch:
-
WH_KEYBOARD
static final int WH_KEYBOARD- Siehe auch:
-
WH_CALLWNDPROC
static final int WH_CALLWNDPROC- Siehe auch:
-
WH_MOUSE
static final int WH_MOUSE- Siehe auch:
-
WH_KEYBOARD_LL
static final int WH_KEYBOARD_LL- Siehe auch:
-
WH_MOUSE_LL
static final int WH_MOUSE_LL- Siehe auch:
-
WM_PAINT
static 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.- Siehe auch:
-
WM_CLOSE
static final int WM_CLOSESent as a signal that a window or an application should terminate.- Siehe auch:
-
WM_QUIT
static final int WM_QUITIndicates a request to terminate an application, and is generated when the application calls the PostQuitMessage function.- Siehe auch:
-
WM_SHOWWINDOW
static final int WM_SHOWWINDOWSent to a window when the window is about to be hidden or shown.- Siehe auch:
-
WM_DRAWITEM
static 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.- Siehe auch:
-
WM_KEYDOWN
static 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.- Siehe auch:
-
WM_CHAR
static 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.- Siehe auch:
-
WM_SYSCOMMAND
static 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.- Siehe auch:
-
WM_MDIMAXIMIZE
static final int WM_MDIMAXIMIZEAn application sends the WM_MDIMAXIMIZE message to a multiple-document interface (MDI) client window to maximize an MDI child window.- Siehe auch:
-
WM_HOTKEY
static 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.- Siehe auch:
-
WM_USER
static 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.- Siehe auch:
-
WM_COPYDATA
static final int WM_COPYDATAAn application sends the WM_COPYDATA message to pass data to another application.- Siehe auch:
-
WM_KEYUP
static final int WM_KEYUP- Siehe auch:
-
WM_SYSKEYDOWN
static final int WM_SYSKEYDOWN- Siehe auch:
-
WM_SYSKEYUP
static final int WM_SYSKEYUP- Siehe auch:
-
WM_SESSION_CHANGE
static final int WM_SESSION_CHANGE- Siehe auch:
-
WM_CREATE
static final int WM_CREATE- Siehe auch:
-
WM_SIZE
static final int WM_SIZE- Siehe auch:
-
WM_DESTROY
static final int WM_DESTROY- Siehe auch:
-
WM_DEVICECHANGE
static final int WM_DEVICECHANGE- Siehe auch:
-
WM_GETICON
static 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.- Siehe auch:
-
ICON_BIG
static final int ICON_BIGRetrieve the large icon for the window.- Siehe auch:
-
ICON_SMALL
static final int ICON_SMALLRetrieve the small icon for the window.- Siehe auch:
-
ICON_SMALL2
static 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.- Siehe auch:
-
SM_CXSCREEN
static final int SM_CXSCREEN- Siehe auch:
-
SM_CYSCREEN
static final int SM_CYSCREEN- Siehe auch:
-
SM_CXVSCROLL
static final int SM_CXVSCROLL- Siehe auch:
-
SM_CYHSCROLL
static final int SM_CYHSCROLL- Siehe auch:
-
SM_CYCAPTION
static final int SM_CYCAPTION- Siehe auch:
-
SM_CXBORDER
static final int SM_CXBORDER- Siehe auch:
-
SM_CYBORDER
static final int SM_CYBORDER- Siehe auch:
-
SM_CXDLGFRAME
static final int SM_CXDLGFRAME- Siehe auch:
-
SM_CYDLGFRAME
static final int SM_CYDLGFRAME- Siehe auch:
-
SM_CYVTHUMB
static final int SM_CYVTHUMB- Siehe auch:
-
SM_CXHTHUMB
static final int SM_CXHTHUMB- Siehe auch:
-
SM_CXICON
static final int SM_CXICON- Siehe auch:
-
SM_CYICON
static final int SM_CYICON- Siehe auch:
-
SM_CXCURSOR
static final int SM_CXCURSOR- Siehe auch:
-
SM_CYCURSOR
static final int SM_CYCURSOR- Siehe auch:
-
SM_CYMENU
static final int SM_CYMENU- Siehe auch:
-
SM_CXFULLSCREEN
static final int SM_CXFULLSCREEN- Siehe auch:
-
SM_CYFULLSCREEN
static final int SM_CYFULLSCREEN- Siehe auch:
-
SM_CYKANJIWINDOW
static final int SM_CYKANJIWINDOW- Siehe auch:
-
SM_MOUSEPRESENT
static final int SM_MOUSEPRESENT- Siehe auch:
-
SM_CYVSCROLL
static final int SM_CYVSCROLL- Siehe auch:
-
SM_CXHSCROLL
static final int SM_CXHSCROLL- Siehe auch:
-
SM_DEBUG
static final int SM_DEBUG- Siehe auch:
-
SM_SWAPBUTTON
static final int SM_SWAPBUTTON- Siehe auch:
-
SM_RESERVED1
static final int SM_RESERVED1- Siehe auch:
-
SM_RESERVED2
static final int SM_RESERVED2- Siehe auch:
-
SM_RESERVED3
static final int SM_RESERVED3- Siehe auch:
-
SM_RESERVED4
static final int SM_RESERVED4- Siehe auch:
-
SM_CXMIN
static final int SM_CXMIN- Siehe auch:
-
SM_CYMIN
static final int SM_CYMIN- Siehe auch:
-
SM_CXSIZE
static final int SM_CXSIZE- Siehe auch:
-
SM_CYSIZE
static final int SM_CYSIZE- Siehe auch:
-
SM_CXFRAME
static final int SM_CXFRAME- Siehe auch:
-
SM_CYFRAME
static final int SM_CYFRAME- Siehe auch:
-
SM_CXMINTRACK
static final int SM_CXMINTRACK- Siehe auch:
-
SM_CYMINTRACK
static final int SM_CYMINTRACK- Siehe auch:
-
SM_CXDOUBLECLK
static final int SM_CXDOUBLECLK- Siehe auch:
-
SM_CYDOUBLECLK
static final int SM_CYDOUBLECLK- Siehe auch:
-
SM_CXICONSPACING
static final int SM_CXICONSPACING- Siehe auch:
-
SM_CYICONSPACING
static final int SM_CYICONSPACING- Siehe auch:
-
SM_MENUDROPALIGNMENT
static final int SM_MENUDROPALIGNMENT- Siehe auch:
-
SM_PENWINDOWS
static final int SM_PENWINDOWS- Siehe auch:
-
SM_DBCSENABLED
static final int SM_DBCSENABLED- Siehe auch:
-
SM_CMOUSEBUTTONS
static final int SM_CMOUSEBUTTONS- Siehe auch:
-
SM_CXFIXEDFRAME
static final int SM_CXFIXEDFRAME- Siehe auch:
-
SM_CYFIXEDFRAME
static final int SM_CYFIXEDFRAME- Siehe auch:
-
SM_CXSIZEFRAME
static final int SM_CXSIZEFRAME- Siehe auch:
-
SM_CYSIZEFRAME
static final int SM_CYSIZEFRAME- Siehe auch:
-
SM_SECURE
static final int SM_SECURE- Siehe auch:
-
SM_CXEDGE
static final int SM_CXEDGE- Siehe auch:
-
SM_CYEDGE
static final int SM_CYEDGE- Siehe auch:
-
SM_CXMINSPACING
static final int SM_CXMINSPACING- Siehe auch:
-
SM_CYMINSPACING
static final int SM_CYMINSPACING- Siehe auch:
-
SM_CXSMICON
static final int SM_CXSMICON- Siehe auch:
-
SM_CYSMICON
static final int SM_CYSMICON- Siehe auch:
-
SM_CYSMCAPTION
static final int SM_CYSMCAPTION- Siehe auch:
-
SM_CXSMSIZE
static final int SM_CXSMSIZE- Siehe auch:
-
SM_CYSMSIZE
static final int SM_CYSMSIZE- Siehe auch:
-
SM_CXMENUSIZE
static final int SM_CXMENUSIZE- Siehe auch:
-
SM_CYMENUSIZE
static final int SM_CYMENUSIZE- Siehe auch:
-
SM_ARRANGE
static final int SM_ARRANGE- Siehe auch:
-
SM_CXMINIMIZED
static final int SM_CXMINIMIZED- Siehe auch:
-
SM_CYMINIMIZED
static final int SM_CYMINIMIZED- Siehe auch:
-
SM_CXMAXTRACK
static final int SM_CXMAXTRACK- Siehe auch:
-
SM_CYMAXTRACK
static final int SM_CYMAXTRACK- Siehe auch:
-
SM_CXMAXIMIZED
static final int SM_CXMAXIMIZED- Siehe auch:
-
SM_CYMAXIMIZED
static final int SM_CYMAXIMIZED- Siehe auch:
-
SM_NETWORK
static final int SM_NETWORK- Siehe auch:
-
SM_CLEANBOOT
static final int SM_CLEANBOOT- Siehe auch:
-
SM_CXDRAG
static final int SM_CXDRAG- Siehe auch:
-
SM_CYDRAG
static final int SM_CYDRAG- Siehe auch:
-
SM_SHOWSOUNDS
static final int SM_SHOWSOUNDS- Siehe auch:
-
SM_CXMENUCHECK
static final int SM_CXMENUCHECK- Siehe auch:
-
SM_CYMENUCHECK
static final int SM_CYMENUCHECK- Siehe auch:
-
SM_SLOWMACHINE
static final int SM_SLOWMACHINE- Siehe auch:
-
SM_MIDEASTENABLED
static final int SM_MIDEASTENABLED- Siehe auch:
-
SM_MOUSEWHEELPRESENT
static final int SM_MOUSEWHEELPRESENT- Siehe auch:
-
SM_XVIRTUALSCREEN
static final int SM_XVIRTUALSCREEN- Siehe auch:
-
SM_YVIRTUALSCREEN
static final int SM_YVIRTUALSCREEN- Siehe auch:
-
SM_CXVIRTUALSCREEN
static final int SM_CXVIRTUALSCREEN- Siehe auch:
-
SM_CYVIRTUALSCREEN
static final int SM_CYVIRTUALSCREEN- Siehe auch:
-
SM_CMONITORS
static final int SM_CMONITORS- Siehe auch:
-
SM_SAMEDISPLAYFORMAT
static final int SM_SAMEDISPLAYFORMAT- Siehe auch:
-
SM_IMMENABLED
static final int SM_IMMENABLED- Siehe auch:
-
SM_CXFOCUSBORDER
static final int SM_CXFOCUSBORDER- Siehe auch:
-
SM_CYFOCUSBORDER
static final int SM_CYFOCUSBORDER- Siehe auch:
-
SM_TABLETPC
static final int SM_TABLETPC- Siehe auch:
-
SM_MEDIACENTER
static final int SM_MEDIACENTER- Siehe auch:
-
SM_STARTER
static final int SM_STARTER- Siehe auch:
-
SM_SERVERR2
static final int SM_SERVERR2- Siehe auch:
-
SM_MOUSEHORIZONTALWHEELPRESENT
static final int SM_MOUSEHORIZONTALWHEELPRESENT- Siehe auch:
-
SM_CXPADDEDBORDER
static final int SM_CXPADDEDBORDER- Siehe auch:
-
SM_REMOTESESSION
static final int SM_REMOTESESSION- Siehe auch:
-
SM_SHUTTINGDOWN
static final int SM_SHUTTINGDOWN- Siehe auch:
-
SM_REMOTECONTROL
static final int SM_REMOTECONTROL- Siehe auch:
-
SM_CARETBLINKINGENABLED
static final int SM_CARETBLINKINGENABLED- Siehe auch:
-
SW_HIDE
static final int SW_HIDE- Siehe auch:
-
SW_SHOWNORMAL
static final int SW_SHOWNORMAL- Siehe auch:
-
SW_NORMAL
static final int SW_NORMAL- Siehe auch:
-
SW_SHOWMINIMIZED
static final int SW_SHOWMINIMIZED- Siehe auch:
-
SW_SHOWMAXIMIZED
static final int SW_SHOWMAXIMIZED- Siehe auch:
-
SW_MAXIMIZE
static final int SW_MAXIMIZE- Siehe auch:
-
SW_SHOWNOACTIVATE
static final int SW_SHOWNOACTIVATE- Siehe auch:
-
SW_SHOW
static final int SW_SHOW- Siehe auch:
-
SW_MINIMIZE
static final int SW_MINIMIZE- Siehe auch:
-
SW_SHOWMINNOACTIVE
static final int SW_SHOWMINNOACTIVE- Siehe auch:
-
SW_SHOWNA
static final int SW_SHOWNA- Siehe auch:
-
SW_RESTORE
static final int SW_RESTORE- Siehe auch:
-
SW_SHOWDEFAULT
static final int SW_SHOWDEFAULT- Siehe auch:
-
SW_FORCEMINIMIZE
static final int SW_FORCEMINIMIZE- Siehe auch:
-
SW_MAX
static final int SW_MAX- Siehe auch:
-
RDW_INVALIDATE
static final int RDW_INVALIDATE- Siehe auch:
-
RDW_INTERNALPAINT
static final int RDW_INTERNALPAINT- Siehe auch:
-
RDW_ERASE
static final int RDW_ERASE- Siehe auch:
-
RDW_VALIDATE
static final int RDW_VALIDATE- Siehe auch:
-
RDW_NOINTERNALPAINT
static final int RDW_NOINTERNALPAINT- Siehe auch:
-
RDW_NOERASE
static final int RDW_NOERASE- Siehe auch:
-
RDW_NOCHILDREN
static final int RDW_NOCHILDREN- Siehe auch:
-
RDW_ALLCHILDREN
static final int RDW_ALLCHILDREN- Siehe auch:
-
RDW_UPDATENOW
static final int RDW_UPDATENOW- Siehe auch:
-
RDW_ERASENOW
static final int RDW_ERASENOW- Siehe auch:
-
RDW_FRAME
static final int RDW_FRAME- Siehe auch:
-
RDW_NOFRAME
static final int RDW_NOFRAME- Siehe auch:
-
GW_HWNDFIRST
static 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.- Siehe auch:
-
GW_HWNDLAST
static 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.- Siehe auch:
-
GW_HWNDNEXT
static 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.- Siehe auch:
-
GW_HWNDPREV
static 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.- Siehe auch:
-
GW_OWNER
static final int GW_OWNERThe retrieved handle identifies the specified window's owner window, if any. For more information, see Owned Windows.- Siehe auch:
-
GW_CHILD
static 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.- Siehe auch:
-
GW_ENABLEDPOPUP
static 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.- Siehe auch:
-
SWP_ASYNCWINDOWPOS
static 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.- Siehe auch:
-
SWP_DEFERERASE
static final int SWP_DEFERERASEPrevents generation of the WM_SYNCPAINT message.- Siehe auch:
-
SWP_DRAWFRAME
static final int SWP_DRAWFRAMEDraws a frame (defined in the window's class description) around the window.- Siehe auch:
-
SWP_FRAMECHANGED
static 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.- Siehe auch:
-
SWP_HIDEWINDOW
static final int SWP_HIDEWINDOWHides the window.- Siehe auch:
-
SWP_NOACTIVATE
static 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).- Siehe auch:
-
SWP_NOCOPYBITS
static 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.- Siehe auch:
-
SWP_NOMOVE
static final int SWP_NOMOVERetains the current position (ignores X and Y parameters).- Siehe auch:
-
SWP_NOOWNERZORDER
static final int SWP_NOOWNERZORDERDoes not change the owner window's position in the Z order.- Siehe auch:
-
SWP_NOREDRAW
static 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.- Siehe auch:
-
SWP_NOREPOSITION
static final int SWP_NOREPOSITIONSame as the SWP_NOOWNERZORDER flag.- Siehe auch:
-
SWP_NOSENDCHANGING
static final int SWP_NOSENDCHANGINGUsed by User32.SetWindowPos.
Prevents the window from receiving the WM_WINDOWPOSCHANGING message.- Siehe auch:
-
SWP_NOSIZE
static final int SWP_NOSIZERetains the current size (ignores the cx and cy parameters).- Siehe auch:
-
SWP_NOZORDER
static final int SWP_NOZORDERRetains the current Z order (ignores the hWndInsertAfter parameter).- Siehe auch:
-
SWP_SHOWWINDOW
static final int SWP_SHOWWINDOWDisplays the window.- Siehe auch:
-
SC_MINIMIZE
static final int SC_MINIMIZEMinimizes the window.- Siehe auch:
-
SC_MAXIMIZE
static final int SC_MAXIMIZEMaximizes the window.- Siehe auch:
-
BS_PUSHBUTTON
static final int BS_PUSHBUTTONCreates a push button that posts a WM_COMMAND message to the owner window when the user selects the button.- Siehe auch:
-
BS_DEFPUSHBUTTON
static 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.- Siehe auch:
-
BS_CHECKBOX
static 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).- Siehe auch:
-
BS_AUTOCHECKBOX
static 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.- Siehe auch:
-
BS_RADIOBUTTON
static 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.- Siehe auch:
-
BS_3STATE
static 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.- Siehe auch:
-
BS_AUTO3STATE
static 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.- Siehe auch:
-
BS_GROUPBOX
static 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.- Siehe auch:
-
BS_USERBUTTON
static final int BS_USERBUTTONObsolete, but provided for compatibility with 16-bit versions of Windows. Applications should use BS_OWNERDRAW instead.- Siehe auch:
-
BS_AUTORADIOBUTTON
static 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.- Siehe auch:
-
BS_PUSHBOX
static final int BS_PUSHBOXA button that only shows the text- Siehe auch:
-
BS_OWNERDRAW
static 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.- Siehe auch:
-
BS_TYPEMASK
static 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.- Siehe auch:
-
BS_LEFTTEXT
static 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.- Siehe auch:
-
MONITOR_DEFAULTTONULL
static final int MONITOR_DEFAULTTONULLReturns NULL.- Siehe auch:
-
MONITOR_DEFAULTTOPRIMARY
static final int MONITOR_DEFAULTTOPRIMARYReturns a handle to the primary display monitor.- Siehe auch:
-
MONITOR_DEFAULTTONEAREST
static final int MONITOR_DEFAULTTONEARESTReturns a handle to the display monitor that is nearest to the window.- Siehe auch:
-
MONITORINFOF_PRIMARY
static final int MONITORINFOF_PRIMARYThis is the primary display monitor.- Siehe auch:
-
CCHDEVICENAME
static final int CCHDEVICENAMELength of the device name in MONITORINFOEX- Siehe auch:
-
EWX_HYBRID_SHUTDOWN
static 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.- Siehe auch:
-
EWX_LOGOFF
static 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.- Siehe auch:
-
EWX_POWEROFF
static 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)
.- Siehe auch:
-
EWX_REBOOT
static 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)
.- Siehe auch:
-
EWX_RESTARTAPPS
static 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.- Siehe auch:
-
EWX_SHUTDOWN
static 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.- Siehe auch:
-
EWX_FORCE
static 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.- Siehe auch:
-
EWX_FORCEIFHUNG
static 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)
.- Siehe auch:
-
GA_PARENT
static final int GA_PARENTRetrieves the parent window. This does not include the owner, as it does with the GetParent function.- Siehe auch:
-
GA_ROOT
static final int GA_ROOTRetrieves the root window by walking the chain of parent windows.- Siehe auch:
-
GA_ROOTOWNER
static final int GA_ROOTOWNERRetrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.- Siehe auch:
-
GCW_ATOM
static final int GCW_ATOMRetrieves an ATOM value that uniquely identifies the window class. This is the same atom that the RegisterClassEx function returns.- Siehe auch:
-
GCL_HICON
static final int GCL_HICONRetrieves a handle to the icon associated with the class.- Siehe auch:
-
GCL_HICONSM
static final int GCL_HICONSMRetrieves a handle to the small icon associated with the class.- Siehe auch:
-
GCL_CBCLSEXTRA
static final int GCL_CBCLSEXTRARetrieves the size, in bytes, of the extra memory associated with the class.- Siehe auch:
-
GCL_CBWNDEXTRA
static 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.- Siehe auch:
-
GCLP_HBRBACKGROUND
static final int GCLP_HBRBACKGROUNDRetrieves a handle to the background brush associated with the class.- Siehe auch:
-
GCLP_HCURSOR
static final int GCLP_HCURSORRetrieves a handle to the cursor associated with the class.- Siehe auch:
-
GCLP_HICON
static final int GCLP_HICONRetrieves a handle to the icon associated with the class.- Siehe auch:
-
GCLP_HICONSM
static final int GCLP_HICONSMRetrieves a handle to the small icon associated with the class.- Siehe auch:
-
GCLP_HMODULE
static final int GCLP_HMODULERetrieves a handle to the module that registered the class.- Siehe auch:
-
GCLP_MENUNAME
static final int GCLP_MENUNAMERetrieves the pointer to the menu name string. The string identifies the menu resource associated with the class.- Siehe auch:
-
GCL_STYLE
static final int GCL_STYLERetrieves the window-class style bits.- Siehe auch:
-
GCLP_WNDPROC
static 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.- Siehe auch:
-
SMTO_ABORTIFHUNG
static 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."- Siehe auch:
-
SMTO_BLOCK
static final int SMTO_BLOCKPrevents the calling thread from processing any other requests until the function returns.- Siehe auch:
-
SMTO_NORMAL
static final int SMTO_NORMALThe calling thread is not prevented from processing other requests while waiting for the function to return.- Siehe auch:
-
SMTO_NOTIMEOUTIFNOTHUNG
static final int SMTO_NOTIMEOUTIFNOTHUNGThe function does not enforce the time-out period as long as the receiving thread is processing messages.- Siehe auch:
-
SMTO_ERRORONEXIT
static 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.- Siehe auch:
-
IDC_APPSTARTING
static final int IDC_APPSTARTINGStandard arrow and small hourglass cursor.- Siehe auch:
-
IDC_ARROW
static final int IDC_ARROWStandard arrow cursor.- Siehe auch:
-
IDC_CROSS
static final int IDC_CROSSCrosshair cursor.- Siehe auch:
-
IDC_HAND
static final int IDC_HANDHand cursor.- Siehe auch:
-
IDC_HELP
static final int IDC_HELPArrow and question mark cursor.- Siehe auch:
-
IDC_IBEAM
static final int IDC_IBEAMI-beam cursor.- Siehe auch:
-
IDC_NO
static final int IDC_NOSlashed circle cursor.- Siehe auch:
-
IDC_SIZEALL
static final int IDC_SIZEALLFour-pointed arrow cursor pointing north, south, east, and west.- Siehe auch:
-
IDC_SIZENESW
static final int IDC_SIZENESWDouble-pointed arrow cursor pointing northeast and southwest.- Siehe auch:
-
IDC_SIZENS
static final int IDC_SIZENSDouble-pointed arrow cursor pointing north and south.- Siehe auch:
-
IDC_SIZENWSE
static final int IDC_SIZENWSEDouble-pointed arrow cursor pointing northwest and southeast.- Siehe auch:
-
IDC_SIZEWE
static final int IDC_SIZEWEDouble-pointed arrow cursor pointing west and east.- Siehe auch:
-
IDC_UPARROW
static final int IDC_UPARROWVertical arrow cursor.- Siehe auch:
-
IDC_WAIT
static final int IDC_WAITHourglass cursor.- Siehe auch:
-
IDI_APPLICATION
static final int IDI_APPLICATIONApplication icon.- Siehe auch:
-
IDI_ASTERISK
static final int IDI_ASTERISKAsterisk icon.- Siehe auch:
-
IDI_EXCLAMATION
static final int IDI_EXCLAMATIONExclamation point icon.- Siehe auch:
-
IDI_HAND
static final int IDI_HANDStop sign icon.- Siehe auch:
-
IDI_QUESTION
static final int IDI_QUESTIONQuestion-mark icon.- Siehe auch:
-
IDI_WINLOGO
static final int IDI_WINLOGOApplication icon. Windows 2000: Windows logo icon.- Siehe auch:
-
RIM_TYPEMOUSE
static final int RIM_TYPEMOUSEThe device is a mouse.- Siehe auch:
-
RIM_TYPEKEYBOARD
static final int RIM_TYPEKEYBOARDThe device is a keyboard.- Siehe auch:
-
RIM_TYPEHID
static final int RIM_TYPEHIDThe device is an HID that is not a keyboard and not a mouse.- Siehe auch:
-
CF_BITMAT
static final int CF_BITMATA handle to a bitmap (HBITMAP).- Siehe auch:
-
CF_DIB
static final int CF_DIBA memory object containing a BITMAPINFO structure followed by the bitmap bits.- Siehe auch:
-
CF_DIBV5
static final int CF_DIBV5A memory object containing a BITMAPV5HEADER structure followed by the bitmap color space information and the bitmap bits.- Siehe auch:
-
CF_DIF
static final int CF_DIFSoftware Arts' Data Interchange Format.- Siehe auch:
-
CF_DSPBITMAP
static 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.- Siehe auch:
-
CF_DSPENHMETAFILE
static 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.- Siehe auch:
-
CF_DSPMETAFILEPICT
static 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.- Siehe auch:
-
CF_DSPTEXT
static 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.- Siehe auch:
-
CF_ENHMETAFILE
static final int CF_ENHMETAFILEA handle to an enhanced metafile (HENHMETAFILE).- Siehe auch:
-
CF_GDIOBJFIRST
static 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.
- Siehe auch:
-
CF_GDIOBJLAST
static final int CF_GDIOBJLAST- Siehe auch:
-
CF_HDROP
static 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.- Siehe auch:
-
CF_LOCALE
static 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.
- Siehe auch:
-
CF_METAFILEPICT
static 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.- Siehe auch:
-
CF_OEMTEXT
static 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.- Siehe auch:
-
CF_OWNERDISPLAY
static 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.- Siehe auch:
-
CF_PALETTE
static 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.
- Siehe auch:
-
CF_PENDATA
static final int CF_PENDATAData for the pen extensions to the Microsoft Windows for Pen Computing.- Siehe auch:
-
CF_PRIVATEFIRST
static 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.- Siehe auch:
-
CF_PRIVATELAST
static final int CF_PRIVATELAST- Siehe auch:
-
CF_RIFF
static final int CF_RIFFRepresents audio data more complex than can be represented in a CF_WAVE standard wave format.- Siehe auch:
-
CF_SYLK
static final int CF_SYLKMicrosoft Symbolic Link (SYLK) format.- Siehe auch:
-
CF_TEXT
static 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.- Siehe auch:
-
CF_TIFF
static final int CF_TIFFTagged-image file format.- Siehe auch:
-
CF_UNICODETEXT
static 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.- Siehe auch:
-
CF_WAVE
static final int CF_WAVERepresents audio data in one of the standard wave formats, such as 11 kHz or 22 kHz PCM.- Siehe auch:
-
MAPVK_VK_TO_VSC
static 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)
- Siehe auch:
-
MAPVK_VSC_TO_VK
static 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)
- Siehe auch:
-
MAPVK_VK_TO_CHAR
static 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)
- Siehe auch:
-
MAPVK_VSC_TO_VK_EX
static 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)
- Siehe auch:
-
MAPVK_VK_TO_VSC_EX
static 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)
- Siehe auch:
-
KL_NAMELENGTH
static final int KL_NAMELENGTHThe minimum length of a keyboard layout name.User32.GetKeyboardLayoutName(char[])
- Siehe auch:
-
MODIFIER_SHIFT_MASK
static final int MODIFIER_SHIFT_MASKBitmask for the SHIFT key modifier.- Siehe auch:
-
MODIFIER_CTRL_MASK
static final int MODIFIER_CTRL_MASKBitmask for the CTRL key modifier.- Siehe auch:
-
MODIFIER_ALT_MASK
static final int MODIFIER_ALT_MASKBitmask for the ALT key modifier.- Siehe auch:
-
MODIFIER_HANKAKU_MASK
static final int MODIFIER_HANKAKU_MASKBitmask for the HANKAKU key modifier.- Siehe auch:
-
MODIFIER_RESERVED1_MASK
static final int MODIFIER_RESERVED1_MASKBitmask for the RESERVED1 key modifier.- Siehe auch:
-
MODIFIER_RESERVED2_MASK
static final int MODIFIER_RESERVED2_MASKBitmask for the RESERVED2 key modifier.- Siehe auch:
-
WM_POWERBROADCAST
static final int WM_POWERBROADCAST- Siehe auch:
-
PBT_APMQUERYSUSPEND
static final int PBT_APMQUERYSUSPEND- Siehe auch:
-
PBT_APMQUERYSTANDBY
static final int PBT_APMQUERYSTANDBY- Siehe auch:
-
PBT_APMQUERYSUSPENDFAILED
static final int PBT_APMQUERYSUSPENDFAILED- Siehe auch:
-
PBT_APMQUERYSTANDBYFAILED
static final int PBT_APMQUERYSTANDBYFAILED- Siehe auch:
-
PBT_APMSUSPEND
static final int PBT_APMSUSPEND- Siehe auch:
-
PBT_APMSTANDBY
static final int PBT_APMSTANDBY- Siehe auch:
-
PBT_APMRESUMECRITICAL
static final int PBT_APMRESUMECRITICAL- Siehe auch:
-
PBT_APMRESUMESUSPEND
static final int PBT_APMRESUMESUSPEND- Siehe auch:
-
PBT_APMRESUMESTANDBY
static final int PBT_APMRESUMESTANDBY- Siehe auch:
-
PBT_APMBATTERYLOW
static final int PBT_APMBATTERYLOW- Siehe auch:
-
PBT_APMPOWERSTATUSCHANGE
static final int PBT_APMPOWERSTATUSCHANGE- Siehe auch:
-
PBT_APMOEMEVENT
static final int PBT_APMOEMEVENT- Siehe auch:
-
PBT_APMRESUMEAUTOMATIC
static final int PBT_APMRESUMEAUTOMATIC- Siehe auch:
-
PBT_POWERSETTINGCHANGE
static final int PBT_POWERSETTINGCHANGE- Siehe auch:
-
-
Methodendetails
-
RegisterPowerSettingNotification
WinUser.HPOWERNOTIFY RegisterPowerSettingNotification(WinNT.HANDLE hRecipient, Guid.GUID PowerSettingGuid, int Flags) Registers the application to receive power setting notifications for the specific power setting event.- Parameter:
hRecipient
- Handle indicating where the power setting notifications are to be sent. For interactive applications, the Flags parameter should be DEVICE_NOTIFY_WINDOW_HANDLE, and the hRecipient parameter should be a window handle. For services, the Flags parameter should be DEVICE_NOTIFY_SERVICE_HANDLE, and the hRecipient parameter should be a SERVICE_STATUS_HANDLE as returned from RegisterServiceCtrlHandlerEx.PowerSettingGuid
- The GUID of the power setting for which notifications are to be sent.Flags
-- DEVICE_NOTIFY_WINDOW_HANDLE - Notifications are sent using WM_POWERBROADCAST messages with a wParam parameter of PBT_POWERSETTINGCHANGE.
- DEVICE_NOTIFY_SERVICE_HANDLE - Notifications are sent to the HandlerEx callback function with a dwControl parameter of SERVICE_CONTROL_POWEREVENT and a dwEventType of PBT_POWERSETTINGCHANGE.
- Gibt zurück:
- a notification handle for unregistering for power notifications. If the function fails, the return value is NULL. To get extended error information, call GetLastError.
-
UnregisterPowerSettingNotification
Unregisters the power setting notification.- Parameter:
Handle
- The handle returned from the RegisterPowerSettingNotification function.- Gibt zurück:
- If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError.
-