Modify

Opened 3 weeks ago

Closed 2 weeks ago

#4074 closed Bug (Fixed)

Error in _WinAPI_GetKeyboardLayout example

Reported by: Nine Owned by: J-Paul Mesnage
Milestone: 3.3.19.0 Component: AutoIt
Version: 3.3.18.0 Severity: None
Keywords: Cc:

Description

It should be _WinAPI_LoWord instead of _WinAPI_HiWord.

#include <WinAPIConv.au3>
#include <WinAPILocale.au3>
#include <WinAPISys.au3>

Local $hKeyboardLayout = _WinAPI_GetKeyboardLayout()
Local $sStr = $hKeyboardLayout & ' (' & _WinAPI_GetLocaleInfo(_WinAPI_LoWord($hKeyboardLayout), $LOCALE_SENGLANGUAGE) & ')'

MsgBox(0, "GetKeyboardLayout - v(" & @AutoItVersion & ")", $sStr)

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 2 weeks ago

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

Fixed by revision [13294] in version: 3.3.19.0

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.