Opened 6 years ago

Closed 6 years ago

#3618 closed Bug (Fixed)

x86 or x64 for $tagNMTVKEYDOWN pb align

Reported by: gilles@… Owned by: Jpm
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


when processing $TVN_KEYDOWN notification the structure $tagNMTVKEYDOWN does not properly set vKey under x64.

When changing $tagNMTVKEYDOWN definition, it is ok for both architecture, but Flags has an incorrect value on x86 architetcure.
As the documentatio state that it is always 0, it should not be a problem, but I wasn't able to find how to fix it.

So change tagNMTVKEYDOWN

Global Const $tagNMTVKEYDOWN = "align 1;" & $tagNMHDR & ";word VKey;uint Flags"


Global Const $tagNMTVKEYDOWN = $tagNMHDR & ";word VKey;uint Flags"

For example to reproduce see

It feels like equivalent to or or

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Jpm

State = 0 is what is described in the MSDN doc !!!
anyway you right the align as never be updated since the introduction of the struct/endstruc which is now taking in account the alignment x86/x64
Thanks for the ticket

comment:2 Changed 6 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [12081] in version:

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

as closed The owner will remain Jpm.

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

Note: See TracTickets for help on using tickets.