flat assembler
Message board for the users of flat assembler.
Index
> Main > structure help |
Author |
|
LocoDelAssembly 28 Aug 2005, 04:10
Let me show you the prototype of WindowFromPoint:
Code: HWND WindowFromPoint( POINT Point // structure with point ); Tomasz: You had set a wrong amount of params to that function, it needs only one param not two. Regards, LocoDelAssembly |
|||
28 Aug 2005, 04:10 |
|
vbVeryBeginner 28 Aug 2005, 05:31
and the point structure is correct.
Code: typedef struct tagPOINT { LONG x; LONG y; } POINT, *PPOINT; |
|||
28 Aug 2005, 05:31 |
|
vbVeryBeginner 28 Aug 2005, 05:37
try
Code: invoke WindowFromPoint,[mxy.x],[mxy.y] |
|||
28 Aug 2005, 05:37 |
|
LocoDelAssembly 28 Aug 2005, 13:04
Sorry, I forgot C support passing structures by copy
|
|||
28 Aug 2005, 13:04 |
|
Reverend 28 Aug 2005, 22:20
locodelassembly: I also had some problems with this API once, but I noticed that API reference says "POINT" (structure) not "LPPOINT" (long pointer to structure). Heh, but for someone who doesn't use this API it could not be clear at first
|
|||
28 Aug 2005, 22:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.