namespace CefSharp.Wpf { /// /// Windows Message Enums /// Gratiosly based on http://www.pinvoke.net/default.aspx/Enums/WindowsMessages.html /// public enum WM : uint { /// /// 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. /// KEYDOWN = 0x0100, /// /// The WM_KEYUP message is posted to the window with the keyboard focus when a nonsystem key is released. A nonsystem /// key is a key that is pressed when the ALT key is not pressed, or a keyboard key that is pressed when a window has the /// keyboard focus. /// KEYUP = 0x0101, /// /// The WM_CHAR message is posted 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. /// CHAR = 0x0102, /// /// The WM_SYSKEYDOWN message is posted to the window with the keyboard focus when the user presses the F10 key (which /// activates the menu bar) or holds down the ALT key and then presses another key. It also occurs when no window /// currently has the keyboard focus; in this case, the WM_SYSKEYDOWN message is sent to the active window. The window /// that receives the message can distinguish between these two contexts by checking the context code in the lParam /// parameter. /// SYSKEYDOWN = 0x0104, /// /// The WM_SYSKEYUP message is posted to the window with the keyboard focus when the user releases a key that was pressed /// while the ALT key was held down. It also occurs when no window currently has the keyboard focus; in this case, the /// WM_SYSKEYUP message is sent to the active window. The window that receives the message can distinguish between these /// two contexts by checking the context code in the lParam parameter. /// SYSKEYUP = 0x0105, /// /// The WM_SYSCHAR message is posted to the window with the keyboard focus when a WM_SYSKEYDOWN message is translated by /// the TranslateMessage function. It specifies the character code of a system character key that is, a character key /// that is pressed while the ALT key is down. /// SYSCHAR = 0x0106, /// /// Sent to an application when the IME gets a character of the conversion result. A window receives this message through /// its WindowProc function. /// IME_CHAR = 0x0286, /// /// Sent immediately before the IME generates the composition string as a result of a keystroke. A window receives this /// message through its WindowProc function. /// IME_STARTCOMPOSITION = 0x10D, /// /// Sent to an application when the IME ends composition. A window receives this message through its WindowProc function. /// IME_ENDCOMPOSITION = 0x10E, /// /// 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. /// IME_COMPOSITION = 0x10F, /// /// Sent to an application when a window is activated. A window receives this message through its WindowProc function. /// IME_SETCONTEXT = 0x281, } }