Forum.Deepsoftware.Com

DeepSoftware Products => Syntax Suite VCL (Win32) => Syntax Suite => Editor => Topic started by: Roman Novgorodov on November 26, 2008, 06:38:01 AM

Title: Re: Caret Pos Missing
Post by: Roman Novgorodov on November 26, 2008, 06:38:01 AM
Hello

You can use standard Windows API function GetCaretPos()
http://msdn.microsoft.com/en-us/library/ms648402(VS.85).aspx (http://msdn.microsoft.com/en-us/library/ms648402(VS.85).aspx)

After that you can use
MapWindowPoints() for map point to needed window
http://msdn.microsoft.com/en-us/library/ms533189(VS.85).aspx (http://msdn.microsoft.com/en-us/library/ms533189(VS.85).aspx)


Good luck!

Roman Novgorodov

DeepSoftware (http://www.deepsoftware.com/)
-------------------------------------------
The professional libraries and components for Delphi/CBuilder/Kylix/.NET
The high quality custom software development. True experience in serious
solutions for various platforms: Win32, Windows Mobile/CE, PDA.

QuoteHi again,

Is there a way to get the screen position of the Caret?

Thanks,

Jesse