You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.Assert(enumType.IsEnum,$"Type '{enumType.Name}' is not an enum");
17
+
Debug.Assert(actualUnderlyingType==underlyingType,$"Underlying type parameter '{underlyingType.Name}' does not match actual underlying type for enum '{enumType.Name}' ('{actualUnderlyingType.Name}')");
Copy file name to clipboardExpand all lines: Rubberduck.VBEEditor/WindowsApi/WM.cs
+18-45Lines changed: 18 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
1
usingSystem;
2
+
usingSystem.Collections.Generic;
3
+
usingRubberduck.VBEditor.Utility;
2
4
3
5
namespaceRubberduck.VBEditor.WindowsApi
4
6
{
@@ -395,6 +397,7 @@ public enum WM : uint
395
397
/// <summary>
396
398
/// This message filters for keyboard messages.
397
399
/// </summary>
400
+
[ReflectionIgnore]
398
401
KEYFIRST=0x0100,
399
402
/// <summary>
400
403
/// The WM_KEYDOWN message is posted 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.
@@ -436,6 +439,7 @@ public enum WM : uint
436
439
/// <summary>
437
440
/// This message filters for keyboard messages.
438
441
/// </summary>
442
+
[ReflectionIgnore]
439
443
KEYLAST=0x0109,
440
444
/// <summary>
441
445
/// Sent immediately before the IME generates the composition string as a result of a keystroke. A window receives this message through its WindowProc function.
@@ -449,6 +453,8 @@ public enum WM : uint
449
453
/// Sent to an application when the IME changes composition status as a result of a keystroke. A window receives this message through its WindowProc function.
450
454
/// </summary>
451
455
IME_COMPOSITION=0x010F,
456
+
457
+
[ReflectionIgnore]
452
458
IME_KEYLAST=0x010F,
453
459
/// <summary>
454
460
/// The WM_INITDIALOG message is sent to the dialog box procedure immediately before a dialog box is displayed. Dialog box procedures typically use this message to initialize controls and carry out any other initialization tasks that affect the appearance of the dialog box.
@@ -557,6 +563,7 @@ public enum WM : uint
557
563
/// <summary>
558
564
/// Use WM_MOUSEFIRST to specify the first mouse message. Use the PeekMessage() Function.
559
565
/// </summary>
566
+
[ReflectionIgnore]
560
567
MOUSEFIRST=0x0200,
561
568
/// <summary>
562
569
/// The WM_MOUSEMOVE message is posted to a window when the cursor moves. If the mouse is not captured, the message is posted to the window that contains the cursor. Otherwise, the message is posted to the window that has captured the mouse.
@@ -621,6 +628,7 @@ public enum WM : uint
621
628
/// <summary>
622
629
/// Use WM_MOUSELAST to specify the last mouse message. Used with PeekMessage() Function.
623
630
/// </summary>
631
+
[ReflectionIgnore]
624
632
MOUSELAST=0x020E,
625
633
/// <summary>
626
634
/// The WM_PARENTNOTIFY message is sent to the parent of a child window when the child window is created or destroyed, or when the user clicks a mouse button while the cursor is over the child window. When the child window is being created, the system sends WM_PARENTNOTIFY just before the CreateWindow or CreateWindowEx function that creates the window returns. When the child window is being destroyed, the system sends the message before any processing to destroy the window takes place.
@@ -903,10 +911,12 @@ public enum WM : uint
903
911
/// <summary>
904
912
/// The WM_APP constant is used by applications to help define private messages, usually of the form WM_APP+X, where X is an integer value.
905
913
/// </summary>
914
+
[ReflectionIgnore]
906
915
APP=0x8000,
907
916
/// <summary>
908
917
/// The WM_USER constant is used by applications to help define private messages for use by private window classes, usually of the form WM_USER+X, where X is an integer value.
909
918
/// </summary>
919
+
[ReflectionIgnore]
910
920
USER=0x0400,
911
921
912
922
/// <summary>
@@ -930,51 +940,14 @@ public enum WM : uint
930
940
/// Private message to signal focus RD shutdown. No parameters.
931
941
/// </summary>
932
942
RUBBERDUCK_SINKING=USER+0x0D1E,
943
+
}
933
944
934
-
/// <summary>
935
-
/// The accessibility state has changed.
936
-
/// </summary>
937
-
HSHELL_ACCESSIBILITYSTATE=11,
938
-
/// <summary>
939
-
/// The shell should activate its main window.
940
-
/// </summary>
941
-
HSHELL_ACTIVATESHELLWINDOW=3,
942
-
/// <summary>
943
-
/// 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.
944
-
/// If the Shell procedure handles the WM_COMMAND message, it should not call CallNextHookEx. See the Return Value section for more information.
945
-
/// </summary>
946
-
HSHELL_APPCOMMAND=12,
947
-
/// <summary>
948
-
/// A window is being minimized or maximized. The system needs the coordinates of the minimized rectangle for the window.
949
-
/// </summary>
950
-
HSHELL_GETMINRECT=5,
951
-
/// <summary>
952
-
/// Keyboard language was changed or a new keyboard layout was loaded.
953
-
/// </summary>
954
-
HSHELL_LANGUAGE=8,
955
-
/// <summary>
956
-
/// The title of a window in the task bar has been redrawn.
957
-
/// </summary>
958
-
HSHELL_REDRAW=6,
959
-
/// <summary>
960
-
/// 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.
961
-
/// </summary>
962
-
HSHELL_TASKMAN=7,
963
-
/// <summary>
964
-
/// A top-level, unowned window has been created. The window exists when the system calls this hook.
965
-
/// </summary>
966
-
HSHELL_WINDOWCREATED=1,
967
-
/// <summary>
968
-
/// A top-level, unowned window is about to be destroyed. The window still exists when the system calls this hook.
969
-
/// </summary>
970
-
HSHELL_WINDOWDESTROYED=2,
971
-
/// <summary>
972
-
/// The activation has changed to a different top-level, unowned window.
973
-
/// </summary>
974
-
HSHELL_WINDOWACTIVATED=4,
975
-
/// <summary>
976
-
/// A top-level window is being replaced. The window exists when the system calls this hook.
0 commit comments