Microsoft Edge Try Microsoft Edge A fast and secure browser that's designed for Windows 10 Get started

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Microsoft
Windows Dev Center
    • .NET
      • Apps
      • Internet of Things
      • Mixed Reality
      • Microsoft Edge
      • Hardware
      • IT Center
      • What is Azure
      • Products
      • Solutions
      • Pricing
      • Create a free account
      • Visual Studio
      • Visual Studio IDE
      • Visual Studio Team Services
      • Visual Studio Code
      • Xamarin
      • Visual Studio Dev Essentials
      • Subscriptions
      • Office Dev Center
      • Office 365 for IT pros
    • Microsoft Graph
      • Store
      • Cortana
      • Bing
      • Application Insights
      • .NET
      • Microsoft Azure
      • Microsoft Graph
      • Visual Studio
      • Visual Studio Team Services
      • Windows
      • Office
      • All Developer Centers
    • TechNet
    • Microsoft Developer Network
      • Windows IT Center
      • Office 365 for IT Pros
      • All IT TechCenters
      • Microsoft Download Center
      • Microsoft Azure
      • Visual Studio
      • SDKs
      • Windows
      • Office
      • Microsoft Graph
      • MSDN
      • Azure
      • Windows
    • PowerShell scripts
      • Microsoft Azure
      • Visual Studio
      • Visual Studio Team Services
      • Developer tools
      • Office Dev Blog
      • Server & management
      • Windows
      • Developers
      • TechNet
      • Microsoft Tech Community
      • Visual Studio (MSDN) subscriptions
      • Microsoft Cloud Essentials
      • Microsoft Virtual Academy
      • IT Pro Career Center
    • Microsoft Evaluation Center
    • Channel 9
    • No results
    Sign in
    Windows Dev Center Dashboard
    Windows desktopGet startedDesignDevelopTest & deploy
    • API reference
    • Downloads
    • Samples
    • Support
    Dashboard
    Control Library Edit Control Edit Control Reference
    Edit Control Reference Edit Control Messages
    Edit Control Messages
    Edit Control Messages
    Edit Control Functions
    Edit Control Macros
    Edit Control Messages
    EM_CANUNDO
    EM_CHARFROMPOS
    EM_EMPTYUNDOBUFFER
    EM_FMTLINES
    EM_GETCUEBANNER
    EM_GETFIRSTVISIBLELINE
    EM_GETHANDLE
    EM_GETHILITE
    EM_GETIMESTATUS
    EM_GETLIMITTEXT
    EM_GETLINE
    EM_GETLINECOUNT
    EM_GETMARGINS
    EM_GETMODIFY
    EM_GETPASSWORDCHAR
    EM_GETRECT
    EM_GETSEL
    EM_GETTHUMB
    EM_GETWORDBREAKPROC
    EM_HIDEBALLOONTIP
    EM_LIMITTEXT
    EM_LINEFROMCHAR
    EM_LINEINDEX
    EM_LINELENGTH
    EM_LINESCROLL
    EM_NOSETFOCUS
    EM_POSFROMCHAR
    EM_REPLACESEL
    EM_SCROLL
    EM_SCROLLCARET
    EM_SETCUEBANNER
    EM_SETHANDLE
    EM_SETHILITE
    EM_SETIMESTATUS
    EM_SETLIMITTEXT
    EM_SETMARGINS
    EM_SETMODIFY
    EM_SETPASSWORDCHAR
    EM_SETREADONLY
    EM_SETRECT
    EM_SETRECTNP
    EM_SETSEL
    EM_SETTABSTOPS
    EM_SETWORDBREAKPROC
    EM_SHOWBALLOONTIP
    EM_TAKEFOCUS
    EM_UNDO
    WM_UNDO
    Edit Control Notifications
    Edit Control Structures
    Edit Control Constants
    TOC
    Collapse the table of content
    Expand the table of content
    This documentation is archived and is not being maintained.
    This documentation is archived and is not being maintained.

    Edit Control Messages

    In this section

    • EM_CANUNDO
    • EM_CHARFROMPOS
    • EM_EMPTYUNDOBUFFER
    • EM_FMTLINES
    • EM_GETCUEBANNER
    • EM_GETFIRSTVISIBLELINE
    • EM_GETHANDLE
    • EM_GETHILITE
    • EM_GETIMESTATUS
    • EM_GETLIMITTEXT
    • EM_GETLINE
    • EM_GETLINECOUNT
    • EM_GETMARGINS
    • EM_GETMODIFY
    • EM_GETPASSWORDCHAR
    • EM_GETRECT
    • EM_GETSEL
    • EM_GETTHUMB
    • EM_GETWORDBREAKPROC
    • EM_HIDEBALLOONTIP
    • EM_LIMITTEXT
    • EM_LINEFROMCHAR
    • EM_LINEINDEX
    • EM_LINELENGTH
    • EM_LINESCROLL
    • EM_NOSETFOCUS
    • EM_POSFROMCHAR
    • EM_REPLACESEL
    • EM_SCROLL
    • EM_SCROLLCARET
    • EM_SETCUEBANNER
    • EM_SETHANDLE
    • EM_SETHILITE
    • EM_SETIMESTATUS
    • EM_SETLIMITTEXT
    • EM_SETMARGINS
    • EM_SETMODIFY
    • EM_SETPASSWORDCHAR
    • EM_SETREADONLY
    • EM_SETRECT
    • EM_SETRECTNP
    • EM_SETSEL
    • EM_SETTABSTOPS
    • EM_SETWORDBREAKPROC
    • EM_SHOWBALLOONTIP
    • EM_TAKEFOCUS
    • EM_UNDO
    • WM_UNDO

     

     

    Show:
    Print Export (0)
    Print Share
    IN THIS ARTICLE
      Is this page helpful?
      Additional feedback?
      1500 characters remaining
      Thank you! We appreciate your feedback.
      What's new
      • New Surface Pro
      • Xbox One X
      • Xbox One S
      • Surface Laptop
      • Windows 10 apps
      • Office apps
      • Mixer
      Store & Support
      • Account profile
      • Download Center
      • Sales & support
      • Returns
      • Order tracking
      • Store locations
      • Support
      Education
      • Microsoft in education
      • Office for students
      • Office 365 for schools
      • Deals for students & educators
      • Microsoft Azure in education
      Enterprise
      • Microsoft Azure
      • Enterprise
      • Data platform
      • Find a solutions provider
      • Microsoft partner resources
      • Microsoft AppSource
      • Manufacturing & resources
      • Financial services
      Developer
      • Microsoft Visual Studio
      • Windows Dev Center
      • Microsoft Developer Network
      • TechNet
      • Microsoft Virtual Academy
      • Microsoft developer program
      • Channel 9
      • Office Dev Center
      Company
      • Careers
      • About Microsoft
      • Company news
      • Privacy at Microsoft
      • Investors
      • Diversity and inclusion
      • Accessibility
      • Security
      English (United States)
      • Sitemap
      • Contact us
      • Privacy & cookies
      • Terms of use
      • Trademarks
      • About our ads
      • © Microsoft 2017
      English
      Deutsch English Español Français
      Italiano 日本語 한국어 Português
      Pусский 简体中文 繁體中文
       
      © 2017 Microsoft