Using Win32 functions in Visual FoxPro Image Gallery
Keyboard Input
..msdn
ActivateKeyboardLayout
BlockInput
EnableWindow
GetActiveWindow
GetAsyncKeyState
GetFocus
GetKBCodePage
GetKeyboardLayout
GetKeyboardLayoutList
GetKeyboardLayoutName
GetKeyboardState
GetKeyNameText
GetKeyState
IsWindowEnabled
keybd_event
MapVirtualKey
RegisterHotKey
SetFocus
SetKeyboardState
ToAscii
UnregisterHotKey
VkKeyScan
Code examples:
Switching between keyboard layouts
GetKeyboardLayout
..msdn    Add comment     W32 Constants      Translate this page
The GetKeyboardLayout function retrieves the active input locale identifier (formerly called the keyboard layout) for the specified thread. If the idThread parameter is zero, the input locale identifier for the active thread is returned.
Code examples:
Switching between keyboard layouts
Declaration:
HKL GetKeyboardLayout(
  DWORD idThread  // thread identifier
);
FoxPro declaration:
DECLARE INTEGER GetKeyboardLayout IN user32;
    INTEGER idThread
Parameters:
idThread
[in] Identifies the thread to query or is zero for the current thread.
Return value:
The return value is the input locale identifier for the thread. The low word contains a language identifier for the input language and the high word contains a device handle for the physical layout of the keyboard.
Word Index links for the GetKeyboardLayout :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-02-08 21:45:07
Modified: 2002-02-08 21:46:34
Visited in last 7 days: 39
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.234.247.118)
19 sec.Function: 'CeCreateProcess'
38 sec.Function: 'ActivateKeyboardLayout'
58 sec.Function: 'GetInterfaceInfo'
1.32 min.Function: 'GdipGetPageScale'
1.67 min.Function: 'DeletePort'
2.02 min.Function: 'GetNamedSecurityInfo'
2.37 min.
Function group: 'Multilingual User Interface'
2.77 min.Function: 'CeRapiInit'
3.13 min.Function: 'CLSIDFromString'
3.55 min.Function: 'CloseDesktop'
Google
Advertise here!