Skip to content

Sample how to get screen position from caret position in Visual Studio

License

Notifications You must be signed in to change notification settings

SQL-MisterMagoo/ScreenPositionFromCaret

Repository files navigation

Sample showing a way to get screen position from caret position in VS

This accounts for viewport scaling and scrolling, device DPI and responds to most changes.

Known issues

Floating a window doesn't seem to fire any events that trigger the screen position to re-calculate

The test window in this sample is crude - just to show the calculation is working.

About

Sample how to get screen position from caret position in Visual Studio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages