EM_ (Constants)
Last changed: 94.229.131.27

.
Summary
EM_* constants defined in the Windows API. Implemented as C# eumerations.

Definitions / Descriptions

Alphabetical list.

Name Value Comment
EM_EXGETSEL WM_USER + 52 TODO
EM_EXSETSEL WM_USER + 55 TODO
EM_GETCHARFORMAT WM_USER + 58 TODO
EM_GETOPTIONS WM_USER + 78 TODO
EM_GETSCROLLPOS WM_USER + 221 TODO
EM_GETSEL 0x00B0 TODO
EM_GETTEXTEX WM_USER + 94 TODO
EM_GETTEXTLENGTHEX WM_USER + 95 TODO
EM_SETCHARFORMAT WM_USER + 68 TODO
EM_SETOPTIONS WM_USER + 77 TODO
EM_SETSCROLLPOS WM_USER + 222 TODO
EM_SETSEL 0x00B1 TODO
EM_SETTEXTEX WM_USER + 97 TODO
EM_SHOWSCROLLBAR WM_USER + 96 TODO
EM_EMPTYUNDOBUFFER 0x00CD TODO

C# Constants:

TODO.  Vide the enumerations.

C# Enumerations:

  /// <summary>
  /// Edit control message IDs.
  /// </summary>
  /// <remarks>
  /// Based on EM_* constants defined in winuser.h in the Windows API.
  /// The declared type of the enum is int, because the WM enumeration is int also.
  /// </remarks>  
  public enum EM : int
  {
    GETSEL = 0x00B0,
    SETSEL = 0x00B1,
  }





  /// <summary>
  /// Edit control message IDs, specifically for rich edit controls.
  /// </summary>
  /// <remarks>
  /// Based on EM_* constants defined in richedit.h in the Windows API.
  /// The declared type of the enum is int, because WM enumeration is int also.
  ///
  /// WM.USER is a enumeration value defined elsewhere, with a value of 0x0400.
  /// </remarks>
  public enum EM_Rich : int
  {
    EXGETSEL = WM.USER + 52,
    EXSETSEL = WM.USER + 55,

    GETCHARFORMAT = WM.USER + 58,
    SETCHARFORMAT = WM.USER + 68,

    SETOPTIONS = WM.USER + 77,
    GETOPTIONS = WM.USER + 78,

    GETTEXTEX = WM.USER + 94,
    GETTEXTLENGTHEX = WM.USER + 95,

    SHOWSCROLLBAR = WM.USER + 96,
    SETTEXTEX = WM.USER + 97,

    GETSCROLLPOS = WM.USER + 221,
    SETSCROLLPOS = WM.USER + 222,
  }

VB Constants:

TODO.

Notes:

Leviculus, on 20120125, says: