hm comparing the user32.inc and the msdn library this function has only 2 paramter and not 3 like in user32.inc same goes for ChildWindowFromPointEx 3 not 4 So is it a mistake in the user32.inc or somethin hidden i donīt see ?
Posted on 2001-01-20 15:07:00 by Allanon
Not really... the API ref defines ChildWindowFromPointEx as: HWND ChildWindowFromPointEx( HWND hwndParent, // handle to parent window POINT pt, // structure with point coordinates UINT uFlags // skipping flags ); That's 4 params. Huh? .... the trick is, pt is two dwords. For some reason, here the struct (and not the pointer) is passed. A bit faster that way. invoke ChildWindowFromPointEx, hWnd, pt.x, pt.y, CWP_ALL
Posted on 2001-01-20 17:40:00 by Ernie
thanx Ernie that might it be i filled the struc passed that only as Dword and not the pt as 2 Dwords thanx
Posted on 2001-01-20 18:05:00 by Allanon