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