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 TicketCleanup, on May 22, 2009 at 12:00:01 PM

Severity: BlockingNone

Automatic ticket cleanup.

comment:2 by Valik, on May 23, 2009 at 2:58:51 AM

Component: AutoItStandard UDFs
Owner: set to Gary

comment:3 by Gary, on May 27, 2009 at 1:50:09 AM

Milestone: Future Release
Resolution: Fixed
Status: newclosed

Fixed in version: Future Release

comment:4 by Valik, on May 27, 2009 at 2:08:09 AM

Milestone: Future Release3.3.1.1

Modify Ticket

Action
as closed The owner will remain Gary.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.