Page 2 of 2

Posted: Fri Nov 30, 2007 10:46 pm
by BriceManuel
Thank you, very much!

Posted: Tue Mar 03, 2009 3:23 pm
by Poshu
This code seems to be broken somehow:

Error on line 34 ( If WindowFromPoint_(cp2\x,cp2\y) = hwnd ). I've tried If WindowFromPoint_(cp2) = hwnd which compile but add problem with the hot and cold state for button... I can't correct this by myself (T__T), could anyone give a look?

Posted: Tue Mar 03, 2009 3:41 pm
by Arctic Fox

Posted: Tue Mar 03, 2009 3:43 pm
by drgolf
try this

If WindowFromPoint_(cp2\x|cp2\y<<32) = hwnd

drgolf //

Posted: Tue Mar 03, 2009 5:33 pm
by Poshu
Ergh >.<; I shall try a little harder next time :oops:

Posted: Tue Mar 17, 2009 2:45 pm
by Psychophanta

Posted: Tue Mar 17, 2009 3:12 pm
by netmaestro

Posted: Wed Jul 29, 2009 2:49 am
by mrjiles
Getting an error (WindowFromPoint). Running 4.3, any ideas/update for this?

Posted: Wed Jul 29, 2009 2:53 am
by netmaestro
Since v4.3 WindowFromPoint_() takes only one parameter instead of 2. It's no longer (x,y) anymore but ( x|(y<<32) ), or basically a quad with the low dword = x and the high dword = y. Hope this helps.

Posted: Wed Jul 29, 2009 3:06 am
by mrjiles
Cool, that's what I found after searching but wasn't sure. Thanks for the speedy response!