27 references to SCF_SELECTION
System.Windows.Forms (6)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (6)
829
PInvokeCore.SendMessage(this, PInvokeCore.EM_SETCHARFORMAT, PInvoke.
SCF_SELECTION
, ref cf);
865
PInvokeCore.SendMessage(this, PInvokeCore.EM_SETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref cf);
924
PInvokeCore.SendMessage(this, PInvokeCore.EM_SETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref cf2);
2126
PInvokeCore.SendMessage(this, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)(fSelection ? PInvoke.
SCF_SELECTION
: PInvoke.SCF_DEFAULT), ref cf);
2703
return PInvokeCore.SendMessage(this, PInvokeCore.EM_SETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref cf) != 0;
2758
(WPARAM)(selectionOnly ? PInvoke.
SCF_SELECTION
: PInvoke.SCF_ALL),
System.Windows.Forms.Tests (19)
System\Windows\Forms\RichTextBoxTests.cs (19)
3783
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
3856
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
3876
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
3978
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
4240
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
4340
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
4434
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
4530
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
4623
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
4750
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
4790
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
4938
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
5158
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
5349
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
5647
ExpectedWParam = (IntPtr)PInvoke.
SCF_SELECTION
,
5747
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
5933
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
6380
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
6388
Assert.NotEqual(0, (int)PInvokeCore.SendMessage(control, PInvokeCore.EM_GETPARAFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format));
System.Windows.Forms.UI.IntegrationTests (1)
RichTextBoxTests.cs (1)
206
PInvokeCore.SendMessage(control, PInvokeCore.EM_SETCHARFORMAT, (WPARAM)PInvoke.
SCF_SELECTION
, ref format);
WinFormsControlsTest (1)
RichTextBoxes.cs (1)
53
(WPARAM)PInvoke.
SCF_SELECTION
,