argumentum Posted November 10, 2023 Posted November 10, 2023 17 minutes ago, queensoft said: Isn't MouseMove good enough of a test? That's what I meant. I'm brain dead most of the time and reading makes me think and doubt. And watching the cursor into place is easier. 20 minutes ago, queensoft said: Display scaling - no problems here, 100%. ok. It was something to take into consideration if X,Y is the thing that makes the code work. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
queensoft Posted November 10, 2023 Author Posted November 10, 2023 Tested everything recommended and everything I could think of. Example 1 & 2 are working OK, out of the box. Example 3 changed to my needs. Position was a bit off: _ArrayDisplay($aPos) says Y position is 72, but actually, in a screenshot, Y = 100. The title bar is 26 pixels, so maybe that's what's missing. The others are the same. So, instead of 5 pixels offset, I added 45, to both X and Y. As I said, tried everything: window / control handle, file name only / full path, #RequireAdmin Everything seems ok: mouse position, _WinAPI_DisplayStruct, no error codes after _WinAPI_PostMessage, verify handles of both windows and controls against Au3Info.exe, compile as 32/64 bits (xdecoder shows as 32 bits in task manager) - but still doesn't work.
queensoft Posted November 11, 2023 Author Posted November 11, 2023 All right, new day, new problems!!! But this time I can give you a test program!!!! Please do not share or post screenshots or other details about program. Thank you! Program will check & download (using browser, don't worry) .NET 7.0 Desktop Runtime - please install if necessary. Drag & drop ANY FILE into ANY of the 2 red controls. It should display file name & path. And that's it, nothing else is necessary. Thanks. TEST_PROGRAM.ZIP
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now