Modify

Opened 3 hours ago

#4074 new Bug

Error in _WinAPI_GetKeyboardLayout example

Reported by: Nine Owned by:
Milestone: 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 (0)

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 new The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.