Modify

Opened 8 years ago

Closed 8 years ago

#3618 closed Bug (Fixed)

x86 or x64 for $tagNMTVKEYDOWN pb align

Reported by: gilles@… Owned by: J-Paul Mesnage
Milestone: 3.3.15.1 Component: AutoIt
Version: 3.3.14.4 Severity: None
Keywords: Cc:

Description

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
from

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

to

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

For example to reproduce see https://www.autoitscript.com/forum/topic/192326-an-event-for-treeview-checkbox-check/

It feels like equivalent to https://www.autoitscript.com/trac/autoit/ticket/1510 or https://www.autoitscript.com/trac/autoit/ticket/1479 or https://www.autoitscript.com/trac/autoit/ticket/1130

Attachments (0)

Change History (2)

comment:1 by J-Paul Mesnage, 8 years ago

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 by J-Paul Mesnage, 8 years ago

Milestone: 3.3.15.1
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [12081] in version: 3.3.15.1

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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