Skip to content

Use the RichEditControl.GetPositionFromPoint method to obtain the document position under the mouse pointer.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-richedit-obtain-the-document-position-under-the-mouse-cursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to obtain the Document Position under the mouse cursor

The RichEditControl allows you to determine the position in the document that corresponds to any given point with known screen coordinates. To accomplish this task, use the RichEditControl.GetPositionFromPoint method.

The document position, which the mouse cursor hovers over, is displayed in the form title bar.

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Use the RichEditControl.GetPositionFromPoint method to obtain the document position under the mouse pointer.

Topics

Resources

License

Stars

Watchers

Forks