INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Visual Eiffel Library.", "Win32 API: Keyboard Input Functions"
project: "Visual Eiffel Win32 Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: winlib
class WAPI_KEYBOARD_INPUT_FUNCTIONS
inherit

WAPI_ERROR_SERVER
end
feature -- Access

GetFocus: INTEGER
-- The 'GetFocus' function retrieves the handle of the keyboard focus
-- window associated with the thread that called the function.

GetKeyState (nvirtkey: INTEGER): BIT 16
-- The 'GetKeyState' function retrieves the status of the specified
-- virtual key. The status specifies whether the key is up, down,
-- or toggled (on, off - alternating each time the key is pressed).

GetKeyboardState (lpkeystate: POINTER): INTEGER
-- The GetKeyboardState function copies the status of the 256 virtual 
-- keys to the specified buffer.If the function succeeds, the return
-- value is nonzero. If the function fails, the return value is zero.
-- To get extended error information, call GetLastError

ToAscii (uvirtkey: INTEGER; uscancode: INTEGER; lpkeystate: POINTER; lpchar: POINTER; uflags: BIT 32): INTEGER

SetFocus (hwnd: INTEGER): INTEGER
-- The 'SetFocus' function sets the keyboard focus to the specified window.
-- All subsequent keyboard input is directed to this window. The window,
-- if any, that previously had the keyboard focus loses it.

frozen GetKeyNameText, frozen GetKeyNameTextA (lparam: INTEGER; lpstring: POINTER; nsize: INTEGER): INTEGER
-- The `GetKeyNameText' function retrieves a string that
-- represents the name of a key
require
lpstring_not_null: lpstring /= default_pointer
nsize_positive: nsize > 0
end -- class WAPI_KEYBOARD_INPUT_FUNCTIONS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES