Modify ↓
#974 closed Bug (Fixed)
WindowFromPoint API function tagPoint structure on x64 based systems
| Reported by: | level20peon | Owned by: | Gary |
|---|---|---|---|
| Milestone: | 3.3.1.1 | Component: | Standard UDFs |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
After some tests it turned out that using the _WinAPI_WindowFromPoint function the x-coordinate is given back correctly but the y-coordinate always returns zero.
Seems that the WindowFromPoint WinAPI function returns a tagPoint structure containing int and long (?) on x64 based systems.
Running this script in x86 mode works just fine.
#include <WinAPI.au3> $pos = _WinAPI_GetMousePos() $hwnd = _WinAPI_WindowFromPoint($pos) MsgBox(0,'output',WinGetTitle($hwnd))
Attachments (0)
Change History (4)
comment:1 by , 17 years ago
| Severity: | Blocking → None |
|---|
comment:2 by , 17 years ago
| Component: | AutoIt → Standard UDFs |
|---|---|
| Owner: | set to |
comment:3 by , 17 years ago
| Milestone: | → Future Release |
|---|---|
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: Future Release
comment:4 by , 17 years ago
| Milestone: | Future Release → 3.3.1.1 |
|---|
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.