297 references to RichTextBoxConstants
System.Windows.Forms (297)
winforms\Managed\System\WinForms\MessageDecoder.cs (72)
240
case
RichTextBoxConstants
.EM_GETLIMITTEXT: text = "EM_GETLIMITTEXT"; break;
242
case
RichTextBoxConstants
.EM_POSFROMCHAR: text = "EM_POSFROMCHAR"; break;
243
case
RichTextBoxConstants
.EM_CHARFROMPOS: text = "EM_CHARFROMPOS"; break;
245
case
RichTextBoxConstants
.EM_SCROLLCARET: text = "EM_SCROLLCARET"; break;
246
case
RichTextBoxConstants
.EM_CANPASTE: text = "EM_CANPASTE"; break;
247
case
RichTextBoxConstants
.EM_DISPLAYBAND: text = "EM_DISPLAYBAND"; break;
248
case
RichTextBoxConstants
.EM_EXGETSEL: text = "EM_EXGETSEL"; break;
249
case
RichTextBoxConstants
.EM_EXLIMITTEXT: text = "EM_EXLIMITTEXT"; break;
250
case
RichTextBoxConstants
.EM_EXLINEFROMCHAR: text = "EM_EXLINEFROMCHAR"; break;
251
case
RichTextBoxConstants
.EM_EXSETSEL: text = "EM_EXSETSEL"; break;
252
case
RichTextBoxConstants
.EM_FINDTEXT: text = "EM_FINDTEXT"; break;
253
case
RichTextBoxConstants
.EM_FORMATRANGE: text = "EM_FORMATRANGE"; break;
254
case
RichTextBoxConstants
.EM_GETCHARFORMAT: text = "EM_GETCHARFORMAT"; break;
255
case
RichTextBoxConstants
.EM_GETEVENTMASK: text = "EM_GETEVENTMASK"; break;
256
case
RichTextBoxConstants
.EM_GETOLEINTERFACE: text = "EM_GETOLEINTERFACE"; break;
257
case
RichTextBoxConstants
.EM_GETPARAFORMAT: text = "EM_GETPARAFORMAT"; break;
258
case
RichTextBoxConstants
.EM_GETSELTEXT: text = "EM_GETSELTEXT"; break;
259
case
RichTextBoxConstants
.EM_HIDESELECTION: text = "EM_HIDESELECTION"; break;
260
case
RichTextBoxConstants
.EM_PASTESPECIAL: text = "EM_PASTESPECIAL"; break;
261
case
RichTextBoxConstants
.EM_REQUESTRESIZE: text = "EM_REQUESTRESIZE"; break;
262
case
RichTextBoxConstants
.EM_SELECTIONTYPE: text = "EM_SELECTIONTYPE"; break;
263
case
RichTextBoxConstants
.EM_SETBKGNDCOLOR: text = "EM_SETBKGNDCOLOR"; break;
264
case
RichTextBoxConstants
.EM_SETCHARFORMAT: text = "EM_SETCHARFORMAT"; break;
265
case
RichTextBoxConstants
.EM_SETEVENTMASK: text = "EM_SETEVENTMASK"; break;
266
case
RichTextBoxConstants
.EM_SETOLECALLBACK: text = "EM_SETOLECALLBACK"; break;
267
case
RichTextBoxConstants
.EM_SETPARAFORMAT: text = "EM_SETPARAFORMAT"; break;
268
case
RichTextBoxConstants
.EM_SETTARGETDEVICE: text = "EM_SETTARGETDEVICE"; break;
269
case
RichTextBoxConstants
.EM_STREAMIN: text = "EM_STREAMIN"; break;
270
case
RichTextBoxConstants
.EM_STREAMOUT: text = "EM_STREAMOUT"; break;
271
case
RichTextBoxConstants
.EM_GETTEXTRANGE: text = "EM_GETTEXTRANGE"; break;
272
case
RichTextBoxConstants
.EM_FINDWORDBREAK: text = "EM_FINDWORDBREAK"; break;
273
case
RichTextBoxConstants
.EM_SETOPTIONS: text = "EM_SETOPTIONS"; break;
274
case
RichTextBoxConstants
.EM_GETOPTIONS: text = "EM_GETOPTIONS"; break;
275
case
RichTextBoxConstants
.EM_FINDTEXTEX: text = "EM_FINDTEXTEX"; break;
276
case
RichTextBoxConstants
.EM_GETWORDBREAKPROCEX: text = "EM_GETWORDBREAKPROCEX"; break;
277
case
RichTextBoxConstants
.EM_SETWORDBREAKPROCEX: text = "EM_SETWORDBREAKPROCEX"; break;
280
case
RichTextBoxConstants
.EM_SETUNDOLIMIT: text = "EM_SETUNDOLIMIT"; break;
281
case
RichTextBoxConstants
.EM_REDO: text = "EM_REDO"; break;
282
case
RichTextBoxConstants
.EM_CANREDO: text = "EM_CANREDO"; break;
283
case
RichTextBoxConstants
.EM_GETUNDONAME: text = "EM_GETUNDONAME"; break;
284
case
RichTextBoxConstants
.EM_GETREDONAME: text = "EM_GETREDONAME"; break;
285
case
RichTextBoxConstants
.EM_STOPGROUPTYPING: text = "EM_STOPGROUPTYPING"; break;
287
case
RichTextBoxConstants
.EM_SETTEXTMODE: text = "EM_SETTEXTMODE"; break;
288
case
RichTextBoxConstants
.EM_GETTEXTMODE: text = "EM_GETTEXTMODE"; break;
290
case
RichTextBoxConstants
.EM_AUTOURLDETECT: text = "EM_AUTOURLDETECT"; break;
291
case
RichTextBoxConstants
.EM_GETAUTOURLDETECT: text = "EM_GETAUTOURLDETECT"; break;
292
case
RichTextBoxConstants
.EM_SETPALETTE: text = "EM_SETPALETTE"; break;
293
case
RichTextBoxConstants
.EM_GETTEXTEX: text = "EM_GETTEXTEX"; break;
294
case
RichTextBoxConstants
.EM_GETTEXTLENGTHEX: text = "EM_GETTEXTLENGTHEX"; break;
297
case
RichTextBoxConstants
.EM_SETPUNCTUATION: text = "EM_SETPUNCTUATION"; break;
298
case
RichTextBoxConstants
.EM_GETPUNCTUATION: text = "EM_GETPUNCTUATION"; break;
299
case
RichTextBoxConstants
.EM_SETWORDWRAPMODE: text = "EM_SETWORDWRAPMODE"; break;
300
case
RichTextBoxConstants
.EM_GETWORDWRAPMODE: text = "EM_GETWORDWRAPMODE"; break;
301
case
RichTextBoxConstants
.EM_SETIMECOLOR: text = "EM_SETIMECOLOR"; break;
302
case
RichTextBoxConstants
.EM_GETIMECOLOR: text = "EM_GETIMECOLOR"; break;
303
case
RichTextBoxConstants
.EM_SETIMEOPTIONS: text = "EM_SETIMEOPTIONS"; break;
304
case
RichTextBoxConstants
.EM_GETIMEOPTIONS: text = "EM_GETIMEOPTIONS"; break;
305
case
RichTextBoxConstants
.EM_CONVPOSITION: text = "EM_CONVPOSITION"; break;
307
case
RichTextBoxConstants
.EM_SETLANGOPTIONS: text = "EM_SETLANGOPTIONS"; break;
308
case
RichTextBoxConstants
.EM_GETLANGOPTIONS: text = "EM_GETLANGOPTIONS"; break;
309
case
RichTextBoxConstants
.EM_GETIMECOMPMODE: text = "EM_GETIMECOMPMODE"; break;
311
case
RichTextBoxConstants
.EM_FINDTEXTW: text = "EM_FINDTEXTW"; break;
312
case
RichTextBoxConstants
.EM_FINDTEXTEXW: text = "EM_FINDTEXTEXW"; break;
315
case
RichTextBoxConstants
.EM_RECONVERSION: text = "EM_RECONVERSION"; break;
316
case
RichTextBoxConstants
.EM_SETIMEMODEBIAS: text = "EM_SETIMEMODEBIAS"; break;
317
case
RichTextBoxConstants
.EM_GETIMEMODEBIAS: text = "EM_GETIMEMODEBIAS"; break;
320
case
RichTextBoxConstants
.EM_SETBIDIOPTIONS: text = "EM_SETBIDIOPTIONS"; break;
321
case
RichTextBoxConstants
.EM_GETBIDIOPTIONS: text = "EM_GETBIDIOPTIONS"; break;
323
case
RichTextBoxConstants
.EM_SETTYPOGRAPHYOPTIONS: text = "EM_SETTYPOGRAPHYOPTIONS"; break;
324
case
RichTextBoxConstants
.EM_GETTYPOGRAPHYOPTIONS: text = "EM_GETTYPOGRAPHYOPTIONS"; break;
327
case
RichTextBoxConstants
.EM_SETEDITSTYLE: text = "EM_SETEDITSTYLE"; break;
328
case
RichTextBoxConstants
.EM_GETEDITSTYLE: text = "EM_GETEDITSTYLE"; break;
winforms\Managed\System\WinForms\RichTextBox.cs (220)
232
SendMessage(
RichTextBoxConstants
.EM_SETOPTIONS,
233
value ?
RichTextBoxConstants
.ECOOP_OR :
RichTextBoxConstants
.ECOOP_XOR,
234
RichTextBoxConstants
.ECO_AUTOWORDSELECTION);
345
b = unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_CANREDO, 0, 0)) != 0;
362
string richEditControlDllVersion = LocalAppContextSwitches.DoNotLoadLatestRichEditControl ?
RichTextBoxConstants
.DLL_RICHEDIT :
RichTextBoxConstants
.DLL_RICHEDIT_41;
399
cp.ClassName = LocalAppContextSwitches.DoNotLoadLatestRichEditControl ?
RichTextBoxConstants
.WC_RICHEDITA :
RichTextBoxConstants
.WC_RICHEDITA_41;
402
cp.ClassName = LocalAppContextSwitches.DoNotLoadLatestRichEditControl ?
RichTextBoxConstants
.WC_RICHEDITW :
RichTextBoxConstants
.WC_RICHEDITW_41;
406
if (((int)ScrollBars &
RichTextBoxConstants
.RTB_HORIZ) != 0 && !WordWrap) {
409
if (((int)ScrollBars &
RichTextBoxConstants
.RTB_FORCE) != 0)
410
cp.Style |=
RichTextBoxConstants
.ES_DISABLENOSCROLL;
413
if (((int)ScrollBars &
RichTextBoxConstants
.RTB_VERT) != 0) {
415
if (((int)ScrollBars &
RichTextBoxConstants
.RTB_FORCE) != 0)
416
cp.Style |=
RichTextBoxConstants
.ES_DISABLENOSCROLL;
453
this.SendMessage(
RichTextBoxConstants
.EM_AUTOURLDETECT, value ? 1 : 0, 0);
597
opt = (RichTextBoxLanguageOptions)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETLANGOPTIONS, 0, 0);
610
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETLANGOPTIONS, 0, (int) value);
670
n = unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_GETREDONAME, 0, 0));
720
SendMessage(
RichTextBoxConstants
.EM_SETTARGETDEVICE, hDC, (IntPtr)Pixel2Twip(hDC, value, true));
746
return StreamOut(
RichTextBoxConstants
.SF_RTF);
751
return StreamOut(
RichTextBoxConstants
.SF_RTF);
766
StreamIn(value,
RichTextBoxConstants
.SF_RTF);
829
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
832
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
835
if ((
RichTextBoxConstants
.PFM_ALIGNMENT & pf.dwMask) != 0) {
837
case
RichTextBoxConstants
.PFA_LEFT:
841
case
RichTextBoxConstants
.PFA_RIGHT:
845
case
RichTextBoxConstants
.PFA_CENTER:
862
pf.dwMask =
RichTextBoxConstants
.PFM_ALIGNMENT;
866
pf.wAlignment =
RichTextBoxConstants
.PFA_LEFT;
870
pf.wAlignment =
RichTextBoxConstants
.PFA_RIGHT;
874
pf.wAlignment =
RichTextBoxConstants
.PFA_CENTER;
879
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETPARAFORMAT, 0, pf);
900
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
903
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
906
if ((
RichTextBoxConstants
.PFM_NUMBERING & pf.dwMask) != 0) {
907
if (
RichTextBoxConstants
.PFN_BULLET == pf.wNumbering) {
922
pf.dwMask =
RichTextBoxConstants
.PFM_NUMBERING |
RichTextBoxConstants
.PFM_OFFSET;
929
pf.wNumbering =
RichTextBoxConstants
.PFN_BULLET;
933
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETPARAFORMAT, 0, pf);
956
if ((cf.dwMask &
RichTextBoxConstants
.CFM_OFFSET) != 0) {
973
cf.dwMask =
RichTextBoxConstants
.CFM_OFFSET;
981
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT,
RichTextBoxConstants
.SCF_SELECTION, cf);
1003
if ((cf.dwMask &
RichTextBoxConstants
.CFM_COLOR) != 0)
1011
cf.dwMask =
RichTextBoxConstants
.CFM_COLOR;
1016
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT,
RichTextBoxConstants
.SCF_SELECTION, cf);
1037
if ((cf2.dwEffects &
RichTextBoxConstants
.CFE_AUTOBACKCOLOR) != 0) {
1040
else if ((cf2.dwMask &
RichTextBoxConstants
.CFM_BACKCOLOR) != 0) {
1059
cf2.dwEffects =
RichTextBoxConstants
.CFE_AUTOBACKCOLOR;
1063
cf2.dwMask =
RichTextBoxConstants
.CFM_BACKCOLOR;
1067
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT,
RichTextBoxConstants
.SCF_SELECTION, cf2);
1111
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
1114
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
1117
if ((
RichTextBoxConstants
.PFM_OFFSET & pf.dwMask) != 0)
1126
pf.dwMask =
RichTextBoxConstants
.PFM_OFFSET;
1130
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETPARAFORMAT, 0, pf);
1152
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
1155
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
1158
if ((
RichTextBoxConstants
.PFM_STARTINDENT & pf.dwMask) != 0)
1167
pf.dwMask =
RichTextBoxConstants
.PFM_STARTINDENT;
1171
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETPARAFORMAT, 0, pf);
1221
return GetCharFormat(
RichTextBoxConstants
.CFM_PROTECTED,
RichTextBoxConstants
.CFM_PROTECTED) == RichTextBoxSelectionAttribute.All;
1225
SetCharFormat(
RichTextBoxConstants
.CFM_PROTECTED, value ?
RichTextBoxConstants
.CFE_PROTECTED : 0, RichTextBoxSelectionAttribute.All);
1253
return StreamOut(
RichTextBoxConstants
.SFF_SELECTION |
RichTextBoxConstants
.SF_RTF);
1258
StreamIn(value,
RichTextBoxConstants
.SFF_SELECTION |
RichTextBoxConstants
.SF_RTF);
1281
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
1284
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
1287
if ((
RichTextBoxConstants
.PFM_RIGHTINDENT & pf.dwMask) != 0)
1298
pf.dwMask =
RichTextBoxConstants
.PFM_RIGHTINDENT;
1302
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETPARAFORMAT, 0, pf);
1321
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
1324
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
1327
if ((
RichTextBoxConstants
.PFM_TABSTOPS & pf.dwMask) != 0) {
1337
if (value != null && value.Length >
RichTextBoxConstants
.MAX_TAB_STOPS)
1342
pf.rgxTabs = new int[
RichTextBoxConstants
.MAX_TAB_STOPS];
1346
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETPARAFORMAT, 0, pf);
1349
pf.dwMask =
RichTextBoxConstants
.PFM_TABSTOPS;
1354
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETPARAFORMAT, 0, pf);
1373
String text = StreamOut(
RichTextBoxConstants
.SFF_SELECTION |
RichTextBoxConstants
.SF_TEXT |
RichTextBoxConstants
.SF_UNICODE);
1378
StreamIn(value,
RichTextBoxConstants
.SFF_SELECTION |
RichTextBoxConstants
.SF_TEXT |
RichTextBoxConstants
.SF_UNICODE);
1398
n = unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_SELECTIONTYPE, 0, 0));
1423
SendMessage(
RichTextBoxConstants
.EM_SETOPTIONS,
1424
value ?
RichTextBoxConstants
.ECOOP_OR :
1425
RichTextBoxConstants
.ECOOP_XOR,
1426
RichTextBoxConstants
.ECO_SELECTIONBAR);
1467
return StreamOut(
RichTextBoxConstants
.SF_TEXT |
RichTextBoxConstants
.SF_UNICODE);
1481
StreamIn(value,
RichTextBoxConstants
.SF_TEXT |
RichTextBoxConstants
.SF_UNICODE);
1507
gtl.flags =
RichTextBoxConstants
.GTL_NUMCHARS;
1518
return unchecked( (int) (long)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETTEXTLENGTHEX, gtl, 0 /*ignored*/));
1540
n = unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_GETUNDONAME, 0, 0));
1582
SendMessage(
RichTextBoxConstants
.EM_GETZOOM, ref numerator, ref denominator);
1800
b = unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_CANPASTE, clipFormat.Id, 0)) != 0;
2014
findOptions |=
RichTextBoxConstants
.FR_WHOLEWORD;
2016
findOptions |=
RichTextBoxConstants
.FR_MATCHCASE;
2021
findOptions |=
RichTextBoxConstants
.FR_DOWN;
2027
position = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_FINDTEXT, findOptions, ft);
2065
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_EXSETSEL, 0, chrg);
2170
len = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETTEXTRANGE, 0, txrg);
2232
if ((cf.dwMask &
RichTextBoxConstants
.CFM_COLOR) != 0
2238
cf.dwMask =
RichTextBoxConstants
.CFM_COLOR;
2241
return SetCharFormat(
RichTextBoxConstants
.SCF_ALL, cf);
2247
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETCHARFORMAT, fSelection ?
RichTextBoxConstants
.SCF_SELECTION :
RichTextBoxConstants
.SCF_DEFAULT, cf);
2253
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETCHARFORMAT, fSelection ?
RichTextBoxConstants
.SCF_SELECTION :
RichTextBoxConstants
.SCF_DEFAULT, cf2);
2281
if ((cf.dwMask &
RichTextBoxConstants
.CFM_FACE) == 0) {
2292
if ((cf.dwMask &
RichTextBoxConstants
.CFM_SIZE) != 0) {
2300
if ((cf.dwMask &
RichTextBoxConstants
.CFM_BOLD) != 0 && (cf.dwEffects &
RichTextBoxConstants
.CFE_BOLD) != 0)
2302
if ((cf.dwMask &
RichTextBoxConstants
.CFM_ITALIC) != 0 && (cf.dwEffects &
RichTextBoxConstants
.CFE_ITALIC) != 0)
2304
if ((cf.dwMask &
RichTextBoxConstants
.CFM_STRIKEOUT) != 0 && (cf.dwEffects &
RichTextBoxConstants
.CFE_STRIKEOUT) != 0)
2306
if ((cf.dwMask &
RichTextBoxConstants
.CFM_UNDERLINE) != 0 && (cf.dwEffects &
RichTextBoxConstants
.CFE_UNDERLINE) != 0)
2361
return unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_EXLINEFROMCHAR, 0, index));
2440
flags =
RichTextBoxConstants
.SF_RTF;
2444
flags =
RichTextBoxConstants
.SF_TEXT;
2447
flags =
RichTextBoxConstants
.SF_UNICODE |
RichTextBoxConstants
.SF_TEXT;
2464
SendMessage(
RichTextBoxConstants
.EM_SETBKGNDCOLOR, 0, ColorTranslator.ToWin32(BackColor));
2544
SendMessage(
RichTextBoxConstants
.EM_SETEVENTMASK,
2546
RichTextBoxConstants
.ENM_PROTECTED |
RichTextBoxConstants
.ENM_SELCHANGE |
2547
RichTextBoxConstants
.ENM_DROPFILES |
RichTextBoxConstants
.ENM_REQUESTRESIZE |
2548
RichTextBoxConstants
.ENM_IMECHANGE |
RichTextBoxConstants
.ENM_CHANGE |
2549
RichTextBoxConstants
.ENM_UPDATE |
RichTextBoxConstants
.ENM_SCROLL |
2550
RichTextBoxConstants
.ENM_KEYEVENTS |
RichTextBoxConstants
.ENM_MOUSEEVENTS |
2551
RichTextBoxConstants
.ENM_SCROLLEVENTS |
RichTextBoxConstants
.ENM_LINK);
2560
this.SendMessage(
RichTextBoxConstants
.EM_AUTOURLDETECT, DetectUrls ? 1 : 0, 0);
2568
SendMessage(
RichTextBoxConstants
.EM_SETBKGNDCOLOR, 0, ColorTranslator.ToWin32(BackColor));
2604
UnsafeNativeMethods.PostMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETOPTIONS, (IntPtr)
RichTextBoxConstants
.ECOOP_OR,
2605
(IntPtr)
RichTextBoxConstants
.ECO_SELECTIONBAR);
2720
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_PASTESPECIAL, clipFormat.Id, rps);
2741
SendMessage(
RichTextBoxConstants
.EM_REDO, 0, 0);
2786
flags =
RichTextBoxConstants
.SF_RTF;
2789
flags =
RichTextBoxConstants
.SF_TEXT;
2792
flags =
RichTextBoxConstants
.SF_UNICODE |
RichTextBoxConstants
.SF_TEXT;
2795
flags =
RichTextBoxConstants
.SF_RTFNOOBJS;
2798
flags =
RichTextBoxConstants
.SF_TEXTIZED;
2830
SendMessage(
RichTextBoxConstants
.EM_SETZOOM, numerator, denominator);
2873
return IntPtr.Zero != UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT,
RichTextBoxConstants
.SCF_SELECTION, cf);
2879
return IntPtr.Zero != UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT, charRange, cf);
2890
int dwMask =
RichTextBoxConstants
.CFM_FACE |
RichTextBoxConstants
.CFM_SIZE |
RichTextBoxConstants
.CFM_BOLD |
2891
RichTextBoxConstants
.CFM_ITALIC |
RichTextBoxConstants
.CFM_STRIKEOUT |
RichTextBoxConstants
.CFM_UNDERLINE |
2892
RichTextBoxConstants
.CFM_CHARSET;
2895
if (value.Bold) dwEffects |=
RichTextBoxConstants
.CFE_BOLD;
2896
if (value.Italic) dwEffects |=
RichTextBoxConstants
.CFE_ITALIC;
2897
if (value.Strikeout) dwEffects |=
RichTextBoxConstants
.CFE_STRIKEOUT;
2898
if (value.Underline) dwEffects |=
RichTextBoxConstants
.CFE_UNDERLINE;
2912
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT, selectionOnly ?
RichTextBoxConstants
.SCF_SELECTION :
RichTextBoxConstants
.SCF_ALL, cfA);
2926
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETCHARFORMAT, selectionOnly ?
RichTextBoxConstants
.SCF_SELECTION :
RichTextBoxConstants
.SCF_ALL, cfW);
2980
if ((
RichTextBoxConstants
.SFF_SELECTION & flags) != 0) {
3000
if ((flags &
RichTextBoxConstants
.SF_UNICODE) != 0) {
3015
if ((flags &
RichTextBoxConstants
.SFF_SELECTION) == 0) {
3017
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_EXSETSEL, 0, cr);
3027
if ((flags &
RichTextBoxConstants
.SF_RTF) != 0) {
3042
if ((flags &
RichTextBoxConstants
.SF_UNICODE) != 0) {
3048
if ((flags &
RichTextBoxConstants
.SF_RTF) != 0) {
3060
SendMessage(
RichTextBoxConstants
.EM_EXLIMITTEXT, 0, Int32.MaxValue);
3068
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_STREAMIN, flags, es64);
3074
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_STREAMIN, flags, es);
3117
if ((flags &
RichTextBoxConstants
.SF_UNICODE) != 0) {
3141
if ((flags &
RichTextBoxConstants
.SF_UNICODE) != 0) {
3147
if ((flags &
RichTextBoxConstants
.SF_RTF) != 0) {
3165
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_STREAMOUT, flags, es64);
3171
UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_STREAMOUT, flags, es);
3268
this.AllowOleObjects = (0 != unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_SETQUERYRTFOBJ, 0, 1)));
3282
UnsafeNativeMethods.SendCallbackMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_SETOLECALLBACK, IntPtr.Zero, pRichEditOleCallback);
3303
SendMessage(
RichTextBoxConstants
.EM_SETBKGNDCOLOR, 0, ColorTranslator.ToWin32(BackColor));
3383
int len = (int)UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETTEXTRANGE, 0, txrg);
3395
SendMessage(
RichTextBoxConstants
.EM_EXLIMITTEXT, 0, MaxLength);
3438
case
RichTextBoxConstants
.EN_LINK:
3441
case
RichTextBoxConstants
.EN_DROPFILES:
3469
case
RichTextBoxConstants
.EN_REQUESTRESIZE:
3479
case
RichTextBoxConstants
.EN_SELCHANGE:
3484
case
RichTextBoxConstants
.EN_PROTECTED: {
3498
case
RichTextBoxConstants
.EM_SETCHARFORMAT:
3502
if ((charFormat.dwMask &
RichTextBoxConstants
.CFM_PROTECTED) != 0) {
3510
case
RichTextBoxConstants
.EM_SETPARAFORMAT:
3514
case
RichTextBoxConstants
.EM_STREAMIN:
3517
if ((unchecked( (int) (long)enprotected.wParam) &
RichTextBoxConstants
.SFF_SELECTION) != 0)
3526
case
RichTextBoxConstants
.EM_EXLIMITTEXT:
3619
int compMode = unchecked( (int) (long)SendMessage(
RichTextBoxConstants
.EM_GETIMECOMPMODE, 0, 0));
3620
if (
RichTextBoxConstants
.ICM_NOTOPEN != compMode) {
winforms\Managed\System\WinForms\RichTextBoxScrollBars.cs (4)
41
Horizontal =
RichTextBoxConstants
.RTB_HORIZ,
51
Vertical =
RichTextBoxConstants
.RTB_VERT,
69
ForcedHorizontal =
RichTextBoxConstants
.RTB_FORCE | Horizontal,
77
ForcedVertical =
RichTextBoxConstants
.RTB_FORCE | Vertical,
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
1836
if (UnsafeNativeMethods.SendMessage(new HandleRef(this, Handle),
RichTextBoxConstants
.EM_GETOLEINTERFACE, 0, out editOle) != 0) {