2 writes to Msg
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\PbrsForward.cs (1)
130
_lastKeyDown.
Msg
= 0;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Message.cs (1)
105
Msg
= msg,
47 references to Msg
System.Windows.Forms (30)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3212
(uint)m.
Msg
,
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
2112
if (m.
Msg
is >= ((int)PInvokeCore.WM_NCLBUTTONDOWN) and <= ((int)PInvokeCore.WM_NCMBUTTONDBLCLK))
System\Windows\Forms\Control.cs (8)
8717
if (message.
Msg
is ((int)PInvokeCore.WM_KEYDOWN) or ((int)PInvokeCore.WM_SYSKEYDOWN))
8915
/// parameter contains the window message that must be processed. Possible values for the <see cref="Message.
Msg
"/>
8998
/// <see cref="Message.
Msg
"/> property are WM_CHAR, WM_KEYDOWN, WM_SYSKEYDOWN, WM_KEYUP, and WM_SYSKEYUP.
9013
/// <see cref="Message.
Msg
"/> property are WM_CHAR, WM_KEYDOWN, WM_SYSKEYDOWN, WM_KEYUP, and WM_SYSKEYUP. The
12668
if (m.
Msg
== (int)s_threadCallbackMessage && m.
Msg
!= 0)
12673
else if (m.
Msg
== (int)WM_GETCONTROLNAME)
12678
else if (m.
Msg
== (int)WM_GETCONTROLTYPE)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
21873
if (m.
Msg
is ((int)PInvokeCore.WM_SYSKEYDOWN) or ((int)PInvokeCore.WM_KEYDOWN))
System\Windows\Forms\Controls\Menus\MenuStrip.cs (1)
252
if (m.
Msg
== (int)PInvokeCore.WM_MOUSEACTIVATE && (ActiveDropDowns.Count == 0))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
5329
switch (m.
Msg
)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2452
if (m.
Msg
== PInvokeCore.WM_CHAR && ImeWmCharsToIgnore > 0)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
569
if ((m.
Msg
== (int)PInvokeCore.WM_NCHITTEST) && SizingGrip)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
4681
if (m.
Msg
== (int)PInvokeCore.WM_NCDESTROY)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
727
if (m.
Msg
== (int)PInvokeCore.WM_SYSKEYDOWN)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
496
else if (m.
Msg
is >= ((int)PInvokeCore.WM_NCLBUTTONDOWN) and <= ((int)PInvokeCore.WM_NCMBUTTONDBLCLK))
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.StickyLabel.cs (1)
40
if (m.
Msg
is >= ((int)PInvokeCore.WM_KEYFIRST) and <= ((int)PInvokeCore.WM_KEYLAST))
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
395
if (m.
Msg
== (int)PInvokeCore.WM_GETOBJECT && m.LParamInternal == PInvoke.UiaRootObjectId)
System\Windows\Forms\Form.cs (4)
3492
(uint)m.
Msg
,
3500
m.ResultInternal = PInvoke.DefMDIChildProc(m.HWND, (uint)m.
Msg
, m.WParamInternal, m.LParamInternal);
6680
if (m.
Msg
!= (int)PInvokeCore.WM_ENDSESSION)
6781
if (m.
Msg
!= (int)PInvokeCore.WM_QUERYENDSESSION)
System\Windows\Forms\NativeWindow.cs (2)
507
m.ResultInternal = PInvokeCore.DefWindowProc(m.HWND, (uint)m.
Msg
, m.WParamInternal, m.LParamInternal);
514
(uint)m.
Msg
,
System\Windows\Forms\NotifyIcon.cs (1)
806
if (msg.
Msg
== (int)WM_TASKBARCREATED)
System\Windows\Forms\SendKeys\SendKeys.SKWindow.cs (1)
23
if (m.
Msg
== (int)PInvokeCore.WM_CANCELJOURNAL)
System\Windows\Forms\ToolTip\ToolTip.cs (1)
2269
switch (message.
Msg
)
System\Windows\Forms\WindowSubclassHandler.cs (1)
234
(uint)m.
Msg
,
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (2)
280
if (m.
Msg
== (int)WM_GETALLSNAPLINES)
284
else if (m.
Msg
== (int)WM_GETRECENTSNAPLINES)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (2)
183
if (m.
Msg
== (int)PInvokeCore.WM_LBUTTONDOWN)
187
else if (m.
Msg
== (int)PInvokeCore.WM_LBUTTONDBLCLK)
System\Windows\Forms\Design\ControlDesigner.ChildWindowTarget.cs (1)
77
if (m.
Msg
== (int)PInvokeCore.WM_CREATE)
System\Windows\Forms\Design\ControlDesigner.cs (1)
2115
if (m.
Msg
== (int)PInvokeCore.WM_NCACTIVATE)
System\Windows\Forms\Design\DesignerFrame.cs (2)
521
else if (m.
Msg
is (int)PInvokeCore.WM_VSCROLL or (int)PInvokeCore.WM_HSCROLL && BehaviorService is not null)
525
else if ((m.
Msg
== (int)PInvokeCore.WM_MOUSEWHEEL))
System\Windows\Forms\Design\GroupBoxDesigner.cs (1)
106
switch (m.
Msg
)
System\Windows\Forms\Design\ListViewDesigner.cs (1)
133
switch (m.
Msg
)
System\Windows\Forms\Design\PbrsForward.cs (3)
72
if (m.
Msg
is >= ((int)PInvokeCore.WM_KEYFIRST)
82
switch (m.
Msg
)
151
else if (_ignoreMessages && m.
Msg
!= (int)PInvokeCore.WM_IME_COMPOSITION)
System\Windows\Forms\Design\ScrollableControlDesigner.cs (1)
50
switch (m.
Msg
)
System.Windows.Forms.Primitives (3)
Interop\User32\WMExtensions.cs (2)
28
=> message.
Msg
>= (int)firstMessage && message.
Msg
<= (int)secondMessage;
System\Windows\Forms\Message.cs (1)
135
public override readonly int GetHashCode() => HashCode.Combine(HWnd,
Msg
);