ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IEvolution get cursor location
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

cyberfly

USA
7 Posts

Posted - Aug 16 2022 :  05:04:47  Show Profile  Reply
How do I get the image pixel coordinate (x,y) of the cursor/pointer.

Kevin Cary-Grimm

xequte

38196 Posts

Posted - Aug 16 2022 :  16:25:27  Show Profile  Reply
Hi Kevin

You can convert control coordinates to bitmap ones using XClientToBitmap() and YClientToBitmap():

https://www.imageen.com/ievolutionhelp/html/c4781ed7-471b-55b6-f993-b1b2a15cbf81.htm
https://www.imageen.com/ievolutionhelp/html/d84b7c15-bf36-f4eb-6bc8-5cc0edb1106b.htm


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: