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:
Reading virtual key status values and key names
GetKeyNameText
    Add comment     W32 Constants      Translate this page
The GetKeyNameText function retrieves a string that represents the name of a key.
Code examples:
Reading virtual key status values and key names
Declaration:
int GetKeyNameText(
    LONG lParam,
    LPTSTR lpString,
    int nSize
);
FoxPro declaration:
DECLARE INTEGER GetKeyNameText IN user32;
    INTEGER   lParam,;
    STRING  @ lpString,;
    INTEGER   nSize

Parameters:
lParam
[in] Specifies the second parameter of the keyboard message (such as WM_KEYDOWN) to be processed.

lpString
[out] Pointer to a buffer that will receive the key name.

nSize
[in] Specifies the maximum length, in TCHAR, of the key name, including the terminating null character.
Return value:
If the function succeeds, a null-terminated string is copied into the specified buffer, and the return value is the length of the string, in TCHAR, not counting the terminating null character.
Word Index links for the GetKeyNameText :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-07-09 16:05:26
Modified: 2004-07-09 16:08:55
Visited in last 7 days: 22
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.146.59.207)
1 sec.
Function group: 'Menu'
3 sec.Function: 'FileTimeToSystemTime'
5 sec.Function: 'CombineRgn'
7 sec.Function: 'Beep'
9 sec.Function: 'GdipGetImageHeight'
12 sec.Function: 'BeginPath'
14 sec.Function: 'GetCompressedFileSize'
16 sec.Function: 'GetClassInfo'
18 sec.
Function group: 'Window Procedure'
21 sec.Function: 'FindNextUrlCacheEntry'
Google
Advertise here!