5 writes to MsgInternal
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (1)
1700
msg.
MsgInternal
= (MessageId)win32Message.message;
System\Windows\Forms\Application.cs (1)
784
message.
MsgInternal
= (MessageId)msg.message;
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (1)
262
msg.
MsgInternal
= (MessageId)win32Message.message;
System\Windows\Forms\Form.cs (1)
4736
msg.
MsgInternal
= (MessageId)win32Message.message;
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Message.cs (1)
31
set =>
MsgInternal
= (MessageId)value;
186 references to MsgInternal
System.Windows.Forms (121)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (1)
184
switch (m.
MsgInternal
)
System\Windows\Forms\ActiveX\AxHost.cs (2)
3073
switch (m.
MsgInternal
)
3193
if (m.
MsgInternal
== _subclassCheckMessage)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1870
lpmsg->message = (uint)msg.
MsgInternal
;
System\Windows\Forms\Application.ParkingWindow.cs (2)
141
if (m.
MsgInternal
== PInvokeCore.WM_SHOWWINDOW)
145
switch (m.
MsgInternal
)
System\Windows\Forms\Application.ThreadContext.cs (1)
879
msg.message = (uint)message.
MsgInternal
;
System\Windows\Forms\Control.ControlNativeWindow.cs (1)
86
switch (m.
MsgInternal
)
System\Windows\Forms\Control.cs (21)
8618
if (msg.
MsgInternal
== PInvokeCore.WM_KEYDOWN || msg.
MsgInternal
== PInvokeCore.WM_SYSKEYDOWN)
8640
else if (msg.
MsgInternal
== PInvokeCore.WM_CHAR || msg.
MsgInternal
== PInvokeCore.WM_SYSCHAR)
8642
if (msg.
MsgInternal
== PInvokeCore.WM_CHAR && IsInputChar((char)(nint)msg.WParamInternal))
8714
if (message.
MsgInternal
== PInvokeCore.WM_KEYDOWN || message.
MsgInternal
== PInvokeCore.WM_SYSKEYDOWN)
8723
else if (message.
MsgInternal
== PInvokeCore.WM_CHAR || message.
MsgInternal
== PInvokeCore.WM_SYSCHAR)
8904
if (m.
MsgInternal
== PInvokeCore.WM_CHAR || m.
MsgInternal
== PInvokeCore.WM_SYSCHAR)
8921
else if (m.
MsgInternal
== PInvokeCore.WM_IME_CHAR)
8939
if (m.
MsgInternal
== PInvokeCore.WM_KEYDOWN || m.
MsgInternal
== PInvokeCore.WM_SYSKEYDOWN)
9402
MessageId.WM_REFLECT | m.
MsgInternal
,
11213
m.ResultInternal = (LRESULT)(nint)control.InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.
MsgInternal
);
11725
MessageId.WM_REFLECT | m.
MsgInternal
,
11732
MessageId.WM_REFLECT | m.
MsgInternal
,
11780
MessageId.WM_REFLECT | m.
MsgInternal
,
12259
switch (m.
MsgInternal
)
12646
if (m.
MsgInternal
== RegisteredMessage.WM_MOUSEENTER)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
333
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (3)
1354
switch (m.
MsgInternal
)
1373
switch (m.
MsgInternal
)
1419
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\ComboBox\ComboBox.ACNativeWindow.cs (1)
71
if (m.
MsgInternal
== PInvokeCore.WM_NCDESTROY)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildNativeWindow.cs (1)
23
switch ((uint)m.
MsgInternal
)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (6)
1392
switch (m.
MsgInternal
)
2018
if (m.
MsgInternal
== PInvokeCore.WM_KEYDOWN)
2036
else if (m.
MsgInternal
== PInvokeCore.WM_CHAR)
3630
switch (m.
MsgInternal
)
3677
m.ResultInternal = (LRESULT)(nint)InitializeDCForWmCtlColor((HDC)(nint)m.WParamInternal, m.
MsgInternal
);
3825
if (m.
MsgInternal
== RegisteredMessage.WM_MOUSEENTER)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (12)
21909
PInvokeCore.SendMessage(EditingControl, m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
21920
&& (m.
MsgInternal
== PInvokeCore.WM_SYSCHAR || m.
MsgInternal
== PInvokeCore.WM_CHAR || m.
MsgInternal
== PInvokeCore.WM_IME_CHAR))
21925
PInvokeCore.SendMessage(EditingControl, m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
21943
dataGridViewWantsInputKey = m.
MsgInternal
== PInvokeCore.WM_CHAR
21969
if (EditingControl is not null && (m.
MsgInternal
== PInvokeCore.WM_KEYDOWN || m.
MsgInternal
== PInvokeCore.WM_SYSKEYDOWN))
21982
if (m.
MsgInternal
== PInvokeCore.WM_KEYDOWN || m.
MsgInternal
== PInvokeCore.WM_SYSKEYDOWN)
30063
switch (m.
MsgInternal
)
30096
PInvokeCore.SendMessage(EditingControl, m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxEditingControl.cs (3)
254
if (m.
MsgInternal
== PInvokeCore.WM_CHAR
266
if (m.
MsgInternal
== PInvokeCore.WM_CHAR && ModifierKeys == Keys.Control && Multiline && AcceptsReturn)
275
if (m.
MsgInternal
== PInvokeCore.WM_KEYDOWN && ModifierKeys == Keys.Control)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1553
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
689
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\Labels\Label.cs (1)
1429
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1762
switch (msg.
MsgInternal
)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (3)
933
switch (m.
MsgInternal
)
942
if (m.
MsgInternal
== LBC_GETCHECKSTATE)
954
else if (m.
MsgInternal
== LBC_SETCHECKSTATE)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2401
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
6983
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2194
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
4259
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridToolTip.cs (1)
167
switch (msg.
MsgInternal
)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1497
if (_dropDownHolder?.Visible == true && m.
MsgInternal
== PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal != Keys.Tab)
1502
m.ResultInternal = PInvokeCore.SendMessage(control, m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (3)
664
if (m.
MsgInternal
== PInvokeCore.WM_ACTIVATE)
674
else if (m.
MsgInternal
== PInvokeCore.WM_CLOSE)
684
else if (m.
MsgInternal
== PInvokeCore.WM_DPICHANGED)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
319
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
3446
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\Splitter\Splitter.SplitterMessageFilter.cs (3)
21
if (m.
MsgInternal
< PInvokeCore.WM_KEYFIRST || m.
MsgInternal
> PInvokeCore.WM_KEYLAST)
26
if (m.
MsgInternal
== PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal == Keys.Escape)
System\Windows\Forms\Controls\TabControl\TabControl.cs (2)
2066
switch (m.
MsgInternal
)
2131
if (m.
MsgInternal
== _tabBaseReLayoutMessage)
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (2)
2905
switch (m.
MsgInternal
)
2932
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
915
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2088
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
628
if (m.
MsgInternal
== PInvokeCore.WM_NCHITTEST)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
4584
if (m.
MsgInternal
== PInvokeCore.WM_SETFOCUS)
4592
if (!AllowClickThrough && m.
MsgInternal
== PInvokeCore.WM_MOUSEACTIVATE)
4642
if (AllowClickThrough && m.
MsgInternal
== PInvokeCore.WM_MOUSEACTIVATE && m.ResultInternal == PInvoke.MA_ACTIVATEANDEAT)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.RestoreFocusMessageFilter.cs (1)
26
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1890
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.cs (1)
569
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
103
if (m.
MsgInternal
== PInvokeCore.WM_NCHITTEST)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (1)
273
if (m.
MsgInternal
== PInvokeCore.WM_NCPAINT)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (1)
1169
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3161
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
938
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1375
switch (m.
MsgInternal
)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
365
switch (m.
MsgInternal
)
450
if (m.
MsgInternal
== WebBrowserHelper.REGMSG_MSG)
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.WebBrowserBaseNativeWindow.cs (1)
27
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
277
if (m.
MsgInternal
== MessageId.WM_REFLECT_NOTIFY)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialog.WindowSubclassHandler.cs (1)
20
switch (m.
MsgInternal
)
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.cs (1)
423
switch (m.
MsgInternal
)
System\Windows\Forms\Form.cs (2)
6744
if (m.
MsgInternal
== PInvokeCore.WM_QUERYENDSESSION)
7121
switch (m.
MsgInternal
)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
2024
switch (m.
MsgInternal
)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2401
switch (msg.
MsgInternal
)
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerMessageFilter.cs (4)
19
if (m.
MsgInternal
< PInvokeCore.WM_KEYFIRST || m.
MsgInternal
> PInvokeCore.WM_KEYLAST)
24
if ((m.
MsgInternal
== PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal == Keys.Escape)
25
|| (m.
MsgInternal
== PInvokeCore.WM_SYSKEYDOWN))
System\Windows\Forms\MDI\MDIClient.cs (1)
328
switch (m.
MsgInternal
)
System\Windows\Forms\NativeWindow.cs (2)
520
m.ResultInternal = PreviousWindow.Callback(m.HWND, m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
896
switch (m.
MsgInternal
)
System\Windows\Forms\NotifyIcon.cs (1)
729
switch (msg.
MsgInternal
)
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
1077
switch (m.
MsgInternal
)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1461
switch (m.
MsgInternal
)
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
722
switch (m.
MsgInternal
)
System\Windows\Forms\Timer.cs (2)
347
if (m.
MsgInternal
== PInvokeCore.WM_TIMER)
355
else if (m.
MsgInternal
== PInvokeCore.WM_CLOSE)
System\Windows\Forms\UserControl.cs (1)
321
switch (m.
MsgInternal
)
System.Windows.Forms.Design (56)
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (1)
46
switch (m.
MsgInternal
)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
170
if (m.
MsgInternal
== PInvokeCore.WM_ACTIVATE
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
241
switch (m.
MsgInternal
)
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (1)
406
switch (m.
MsgInternal
)
System\ComponentModel\Design\ObjectSelectorEditor.Selector.cs (1)
191
switch (m.
MsgInternal
)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.cs (2)
289
switch (m.
MsgInternal
)
347
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ComponentTray.cs (2)
1593
switch (m.
MsgInternal
)
2525
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ControlDesigner.ChildSubClass.cs (2)
38
if (m.
MsgInternal
== PInvokeCore.WM_DESTROY)
43
if (m.
MsgInternal
== PInvokeCore.WM_PARENTNOTIFY && m.WParamInternal.LOWORD == PInvokeCore.WM_CREATE)
System\Windows\Forms\Design\ControlDesigner.cs (30)
399
=> m.ResultInternal = PInvokeCore.DefWindowProc(m.HWND, (uint)m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
1717
if (m.
MsgInternal
== PInvokeCore.WM_NCHITTEST && !_inHitTest)
1738
bool isContextKey = m.
MsgInternal
== PInvokeCore.WM_CONTEXTMENU;
1739
if (_liveRegion && (IsMouseMessage(m.
MsgInternal
) || isContextKey))
1745
if (m.
MsgInternal
== PInvokeCore.WM_CONTEXTMENU)
1757
if (m.
MsgInternal
== PInvokeCore.WM_CONTEXTMENU)
1762
if (m.
MsgInternal
== PInvokeCore.WM_LBUTTONUP)
1779
if ((m.
MsgInternal
>= PInvokeCore.WM_MOUSEFIRST && m.
MsgInternal
<= PInvokeCore.WM_MOUSELAST)
1780
|| (m.
MsgInternal
>= PInvokeCore.WM_NCMOUSEMOVE && m.
MsgInternal
<= PInvokeCore.WM_NCMBUTTONDBLCLK)
1781
|| m.
MsgInternal
== PInvokeCore.WM_SETCURSOR)
1791
if (m.
MsgInternal
>= PInvokeCore.WM_MOUSEFIRST && m.
MsgInternal
<= PInvokeCore.WM_MOUSELAST)
1796
else if (m.
MsgInternal
>= PInvokeCore.WM_NCMOUSEMOVE && m.
MsgInternal
<= PInvokeCore.WM_NCMBUTTONDBLCLK)
1804
switch (m.
MsgInternal
)
1861
button = m.
MsgInternal
== PInvokeCore.WM_NCRBUTTONDBLCLK || m.
MsgInternal
== PInvokeCore.WM_RBUTTONDBLCLK
1884
button = m.
MsgInternal
== PInvokeCore.WM_NCRBUTTONDOWN || m.
MsgInternal
== PInvokeCore.WM_RBUTTONDOWN
1926
m.
MsgInternal
,
1975
m.
MsgInternal
,
1996
if (m.
MsgInternal
== PInvokeCore.WM_MOUSEMOVE)
2007
button = m.
MsgInternal
== PInvokeCore.WM_NCRBUTTONUP || m.
MsgInternal
== PInvokeCore.WM_RBUTTONUP
2022
m.
MsgInternal
,
2226
if (m.
MsgInternal
== RegisteredMessage.WM_MOUSEENTER)
2231
else if (m.
MsgInternal
< PInvokeCore.WM_KEYFIRST || m.
MsgInternal
> PInvokeCore.WM_KEYLAST)
System\Windows\Forms\Design\DesignerFrame.cs (3)
176
switch (m.
MsgInternal
)
214
PInvokeCore.SendMessage(_designer!, m.
MsgInternal
, m.WParamInternal, m.LParamInternal);
500
if (m.
MsgInternal
== PInvokeCore.WM_PARENTNOTIFY && m.WParamInternal.LOWORD == PInvokeCore.WM_CREATE)
System\Windows\Forms\Design\PbrsForward.cs (4)
101
if (bk.KeyChar.
MsgInternal
== PInvokeCore.WM_CHAR)
103
if (bk.KeyDown.
MsgInternal
!= 0)
109
if (bk.KeyUp.
MsgInternal
!= 0)
116
PInvokeCore.SendMessage(hwnd, bk.KeyChar.
MsgInternal
, bk.KeyChar.WParamInternal, bk.KeyChar.LParamInternal);
System\Windows\Forms\Design\SelectionUIService.cs (1)
844
switch (m.
MsgInternal
)
System\Windows\Forms\Design\SplitterDesigner.cs (1)
54
switch (m.
MsgInternal
)
System\Windows\Forms\Design\TabControlDesigner.cs (1)
599
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
285
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
1003
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2537
switch (m.
MsgInternal
)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1556
switch (m.
MsgInternal
)
1720
switch (m.
MsgInternal
)
System.Windows.Forms.Primitives (5)
System\Windows\Forms\Internals\MessageDecoder.cs (1)
14
message.
MsgInternal
,
System\Windows\Forms\Message.cs (4)
30
readonly get => (int)
MsgInternal
;
126
&&
MsgInternal
== other.
MsgInternal
142
message = (uint)
MsgInternal
,
System.Windows.Forms.TestUtilities (2)
DialogHostForm.cs (1)
21
if (m.
MsgInternal
== PInvokeCore.WM_ENTERIDLE && m.WParamInternal == (uint)MSGF.DIALOGBOX)
PropertyGridInternal\SubPropertyGrid.cs (1)
96
if (m.
MsgInternal
!= WM_DELAYEDEXECUTION)
WinFormsControlsTest (2)
ScalingBeforeChanges.cs (2)
77
switch (m.
MsgInternal
)
120
switch (m.
MsgInternal
)