Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#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, 17 years ago

Severity: BlockingNone

Automatic ticket cleanup.

comment:2 by Valik, 17 years ago

Component: AutoItStandard UDFs
Owner: set to Gary

comment:3 by Gary, 17 years ago

Milestone: Future Release
Resolution: Fixed
Status: newclosed

Fixed in version: Future Release

comment:4 by Valik, 17 years ago

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.