mirror of https://github.com/dahall/Vanara.git
Removed incorrect FlagsAttribute from WindowMessage enum and removed duplicate, unused WM_HSHELL values
parent
6f0255aa56
commit
ddfad23ac1
|
@ -5,7 +5,7 @@ namespace Vanara.PInvoke
|
|||
public static partial class User32
|
||||
{
|
||||
/// <summary>Windows Messages</summary>
|
||||
[Flags]
|
||||
//[Flags]
|
||||
public enum WindowMessage
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -436,6 +436,24 @@ namespace Vanara.PInvoke
|
|||
/// <summary>The WM_SYNCPAINT message is used to synchronize painting while avoiding linking independent GUI threads.</summary>
|
||||
WM_SYNCPAINT = 0x0088,
|
||||
|
||||
/// <summary/>
|
||||
WM_UAHDESTROYWINDOW = 0x0090,
|
||||
|
||||
/// <summary/>
|
||||
WM_UAHDRAWMENU = 0x0091,
|
||||
|
||||
/// <summary/>
|
||||
WM_UAHDRAWMENUITEM = 0x0092,
|
||||
|
||||
/// <summary/>
|
||||
WM_UAHINITMENU = 0x0093,
|
||||
|
||||
/// <summary/>
|
||||
WM_UAHMEASUREMENUITEM = 0x0094,
|
||||
|
||||
/// <summary/>
|
||||
WM_UAHNCPAINTMENUPOPUP = 0x0095,
|
||||
|
||||
/// <summary>
|
||||
/// The WM_NCMOUSEMOVE message is posted to a window when the cursor is moved within the nonclient area of the window. This
|
||||
/// message is posted to the window that contains the cursor. If a window has captured the mouse, this message is not posted.
|
||||
|
@ -1335,47 +1353,47 @@ namespace Vanara.PInvoke
|
|||
/// </summary>
|
||||
WM_SYSTIMER = 0x118,
|
||||
|
||||
/// <summary>The accessibility state has changed.</summary>
|
||||
WM_HSHELL_ACCESSIBILITYSTATE = 11,
|
||||
///// <summary>The accessibility state has changed.</summary>
|
||||
//WM_HSHELL_ACCESSIBILITYSTATE = 11,
|
||||
|
||||
/// <summary>The shell should activate its main window.</summary>
|
||||
WM_HSHELL_ACTIVATESHELLWINDOW = 3,
|
||||
///// <summary>The shell should activate its main window.</summary>
|
||||
//WM_HSHELL_ACTIVATESHELLWINDOW = 3,
|
||||
|
||||
/// <summary>
|
||||
/// The user completed an input event (for example, pressed an application command button on the mouse or an application command
|
||||
/// key on the keyboard), and the application did not handle the WM_APPCOMMAND message generated by that input. If the Shell
|
||||
/// procedure handles the WM_COMMAND message, it should not call CallNextHookEx. See the Return Value section for more information.
|
||||
/// </summary>
|
||||
WM_HSHELL_APPCOMMAND = 12,
|
||||
///// <summary>
|
||||
///// The user completed an input event (for example, pressed an application command button on the mouse or an application command
|
||||
///// key on the keyboard), and the application did not handle the WM_APPCOMMAND message generated by that input. If the Shell
|
||||
///// procedure handles the WM_COMMAND message, it should not call CallNextHookEx. See the Return Value section for more information.
|
||||
///// </summary>
|
||||
//WM_HSHELL_APPCOMMAND = 12,
|
||||
|
||||
/// <summary>
|
||||
/// A window is being minimized or maximized. The system needs the coordinates of the minimized rectangle for the window.
|
||||
/// </summary>
|
||||
WM_HSHELL_GETMINRECT = 5,
|
||||
///// <summary>
|
||||
///// A window is being minimized or maximized. The system needs the coordinates of the minimized rectangle for the window.
|
||||
///// </summary>
|
||||
//WM_HSHELL_GETMINRECT = 5,
|
||||
|
||||
/// <summary>Keyboard language was changed or a new keyboard layout was loaded.</summary>
|
||||
WM_HSHELL_LANGUAGE = 8,
|
||||
///// <summary>Keyboard language was changed or a new keyboard layout was loaded.</summary>
|
||||
//WM_HSHELL_LANGUAGE = 8,
|
||||
|
||||
/// <summary>The title of a window in the task bar has been redrawn.</summary>
|
||||
WM_HSHELL_REDRAW = 6,
|
||||
///// <summary>The title of a window in the task bar has been redrawn.</summary>
|
||||
//WM_HSHELL_REDRAW = 6,
|
||||
|
||||
/// <summary>
|
||||
/// The user has selected the task list. A shell application that provides a task list should return TRUE to prevent Windows from
|
||||
/// starting its task list.
|
||||
/// </summary>
|
||||
WM_HSHELL_TASKMAN = 7,
|
||||
///// <summary>
|
||||
///// The user has selected the task list. A shell application that provides a task list should return TRUE to prevent Windows from
|
||||
///// starting its task list.
|
||||
///// </summary>
|
||||
//WM_HSHELL_TASKMAN = 7,
|
||||
|
||||
/// <summary>A top-level, unowned window has been created. The window exists when the system calls this hook.</summary>
|
||||
WM_HSHELL_WINDOWCREATED = 1,
|
||||
///// <summary>A top-level, unowned window has been created. The window exists when the system calls this hook.</summary>
|
||||
//WM_HSHELL_WINDOWCREATED = 1,
|
||||
|
||||
/// <summary>A top-level, unowned window is about to be destroyed. The window still exists when the system calls this hook.</summary>
|
||||
WM_HSHELL_WINDOWDESTROYED = 2,
|
||||
///// <summary>A top-level, unowned window is about to be destroyed. The window still exists when the system calls this hook.</summary>
|
||||
//WM_HSHELL_WINDOWDESTROYED = 2,
|
||||
|
||||
/// <summary>The activation has changed to a different top-level, unowned window.</summary>
|
||||
WM_HSHELL_WINDOWACTIVATED = 4,
|
||||
///// <summary>The activation has changed to a different top-level, unowned window.</summary>
|
||||
//WM_HSHELL_WINDOWACTIVATED = 4,
|
||||
|
||||
/// <summary>A top-level window is being replaced. The window exists when the system calls this hook.</summary>
|
||||
WM_HSHELL_WINDOWREPLACED = 13
|
||||
///// <summary>A top-level window is being replaced. The window exists when the system calls this hook.</summary>
|
||||
//WM_HSHELL_WINDOWREPLACED = 13
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue