PDA

Click to See Complete Forum and Search --> : List Cracker?


Jotaf98
Aug 30th, 2000, 04:24 PM
Ok, I found this source code at vbfrood ( http://perso.wanadoo.fr/vbfrood/english/ ) a while ago, and still can't seem to figure out how he did it.
The problem is that it has ONLY 1 LINE OF CODE, and IT'S IN GERMAN!

My guess is that it's a warning about something to do with API Guide or something... but I'm sure it's nothing really crucial to understand the program.

Can some of you experts comment it out a bit and send it to me? I'd really appreciate it. I need it because it appears that it lets me get the coordinates and size of the window that is at a certain position... and I have this secret project I'm working on that requires exactly that!

Thanks!

Bye,

-Jotaf98

jotaf98@hotmail.com - ICQ#60784495 - http://jotaf98.cjb.net

parksie
Aug 30th, 2000, 04:38 PM
Dim hWndWindow as Long
Dim lpPoint as POINT
Dim lpRect as RECT

GetCursorPos lPoint
hWndWindow = WindowFromPoint(lPoint.x, lPoint.y)
GetWindowRect hWndWindow, lpRect

lpRect now contains the coordinates of the window where the mouse is over.

Jotaf98
Aug 30th, 2000, 04:45 PM
Really thanks!

Bye