Code: Select all
screen.POINT
hWndScintilla = $80696 ;use Spy++, WinSpy++, ...
SendMessageTimeout_(hWndScintilla, #SCI_GETCURRENTPOS, 0, 0, #SMTO_ABORTIFHUNG, 2000, @CurrentPos)
SendMessageTimeout_(hWndScintilla, #SCI_POINTXFROMPOSITION, 0, CurrentPos, #SMTO_ABORTIFHUNG, 2000, @screen\x)
SendMessageTimeout_(hWndScintilla, #SCI_POINTYFROMPOSITION, 0, CurrentPos, #SMTO_ABORTIFHUNG, 2000, @screen\y)
MessageRequester("", "x:" + screen\x + " y:" + screen\y)