Modify

Opened 16 years ago

Closed 15 years ago

Last modified 15 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 Changed 16 years ago by TicketCleanup

  • Severity changed from Blocking to None

Automatic ticket cleanup.

comment:2 Changed 16 years ago by Valik

  • Component changed from AutoIt to Standard UDFs
  • Owner set to Gary

comment:3 Changed 15 years ago by Gary

  • Milestone set to Future Release
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: Future Release

comment:4 Changed 15 years ago by Valik

  • Milestone changed from Future Release to 3.3.1.1

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Gary.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.