Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA: how get the top-left and bottom-right coordinates of a mouse selection 1

Status
Not open for further replies.

CarlosR2022

Electrical
Joined
Sep 16, 2010
Messages
36
Location
US
There are some codes that allow getting a mouse pointer single click event but what if I draw a mouse selection as a rectangle? Is it possible to get the top-left and bottom-right coordinates?
 
No.

In theory you can grab on-screen coordinates with WinAPI, but converting them to CATIA document's axis system is cumbersome to aay the least.
 
Thanks, Little Cthulhu. I ended up using different approach to my problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top