Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

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

Definitions / Descriptions

Name Value Comment
GETSEL 0x00B0 TODO
SETSEL 0x00B1 TODO
EXGETSEL WM_USER + 52 TODO
EXSETSEL WM_USER + 55 TODO
GETCHARFORMAT WM.USER + 58 TODO
SETCHARFORMAT WM.USER + 68 TODO
SETOPTIONS WM.USER + 77 TODO
GETOPTIONS WM.USER + 78 TODO
GETTEXTEX WM.USER + 94 TODO
GETTEXTLENGTHEX WM.USER + 95 TODO
SHOWSCROLLBAR WM.USER + 96 TODO
SETTEXTEX WM.USER + 97 TODO
GETSCROLLPOS WM.USER + 221 TODO
SETSCROLLPOS WM.USER + 222 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:

  • There are more EM_* constants. These are just the ones I use currently.
  • I do not know how to create a table header row in this wiki.
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions