Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Mouse X and Y - Can I report the coords w/out the limitation of application's res?

Author
Message
Daryn Alsup
18
Years of Service
User Offline
Joined: 5th Jul 2008
Location: In your head... dun dun DUN!!!!!!!!
Posted: 11th Oct 2012 07:01
I think the title says it all but alas, I need to report the actual coords the mouse is located at in reference to desktop size rather than app resolution?

Jack and Jill went up a hill to fetch a pale of water... but Jill got tired of his s#%& so she shot him.
Virtual Nomad
Moderator
20
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 11th Oct 2012 07:22 Edited at: 11th Oct 2012 07:24
look at this post by aaron miller which involves user32.dll.

run the code he's provided there; i think it's what you're looking for.

Virtual Nomad @ California, USA . DBPro V7.7
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Brendy boy
20
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 11th Oct 2012 07:37
check my signature, you have the needed commands in my BBB GUI plugin

Login to post a reply

Server time is: 2026-07-07 15:09:49
Your offset time is: 2026-07-07 15:09:49