VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

get GetKeyboardLayout language from a thread

Shlomo  (2 Submissions)   Windows API Call/Explanation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

hi!this is my first submit
finely i think i can put something usefull
for other users.
this code read the keyboard language from
another application all you need is to send
the handle of the thread window.

Inputs
winHWND is the thread window Handle

Side Effects
i think NON i tested it on my mechine

API Declarations
Public Declare Function GetKeyboardLayout Lib "user32" (ByVal dwLayout As Long) As Long
Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hwnd As Long, lpdwProcessId As Long) As Long

Rate get GetKeyboardLayout language from a thread (2(2 Vote))
get GetKeyboardLayout language from a thread.bas

get GetKeyboardLayout language from a thread Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters