OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > Corel PHOTO-PAINT > Macros/Add-ons

Thread Tools Search this Thread Display Modes
Old 18-02-2011, 21:06
Posts: n/a
Default Get Mouse Pos in Paint

In photo-paint; Image Info gives the X / Y position of the mouse. Same as Draw shows on the lower tool bar. Draw lets one get the mouse position AND read a click plus a key. GetUserClick. Once you have that you can use the mouse to input locations in a macro.
Photo-Paint can use API calls to get the mouse position, then one has to do some convoluted programming to get from Windows position to Paint position. Something that I’m not quite able to do.

So I’m wondering if there is a “hook” or some Photo-Paint script that I’m missing to do this? I’m hoping to come up with a Paste At Mouse for Paint like wOxxOm did for Draw. Also has anyone come up with a correlation between Draw and Paint workspaces. In Draw it is Active Document. Is AppWindow.Active the same thing in PhotoPaint ?

Thanks Steve E.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can mouse movement be tracked in VBA aakkaarr CorelDRAW/Corel DESIGNER VBA 2 20-02-2010 01:48
Paint Shop Pro vs Photo Paint fungel About Corel 1 07-05-2009 15:49
Get the position of the mouse gbottesi CorelDRAW/Corel DESIGNER VBA 3 17-07-2006 20:55
Enabling mouse scroll in VBA editor wOxxOm CorelDRAW/Corel DESIGNER VBA 1 21-06-2006 03:06
Getting the mouse position Rick Randall CorelDRAW/Corel DESIGNER VBA 1 04-12-2002 09:29

All times are GMT -5. The time now is 13:55.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com