

WINDOWS MAC KEYBOARD PGUP CODE
Translates the specified virtual-key code and keyboard state to the corresponding Unicode character or characters. The function translates the code using the input language and physical keyboard layout identified by the input locale identifier. Translates the specified virtual-key code and keyboard state to the corresponding character or characters. To specify a handle to the keyboard layout to use to translate the specified code, use the ToAsciiEx function. The function translates the code using the input language and physical keyboard layout identified by the keyboard layout handle. Changes made to this table do not affect keyboard input to any other thread. This is the same table accessed by the GetKeyboardState and GetKeyState functions. The window must be attached to the calling thread's message queue.Ĭopies a 256-byte array of keyboard key states into the calling thread's keyboard input-state table. Sets the keyboard focus to the specified window. The window must be attached to the calling thread's message queue. Synthesizes keystrokes, mouse motions, and button clicks.Īctivates a window. The function provides information that allows a program to send OEM text to another program by simulating keyboard input. Maps OEMASCII codes 0 through 0x0FF into the OEM scan codes and shift states. The function translates the codes using the input language and an input locale identifier. Maps a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. To specify a handle to the keyboard layout to use for translating the specified code, use the MapVirtualKeyEx function.

Translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code. Loading multiple input locale identifiers makes it possible to rapidly switch between them. Several input locale identifiers can be loaded at a time, but only one per process is active at a time. Loads a new input locale identifier (formerly called the keyboard layout) into the system. Retrieves the time of the last input event.ĭetermines whether the specified window is enabled for mouse and keyboard input. The status specifies whether the key is up, down, or toggled (on, off alternating each time the key is pressed). Retrieves the status of the specified virtual key. Retrieves a string that represents the name of a key. Retrieves the name of the active input locale identifier (formerly called the keyboard layout).Ĭopies the status of the 256 virtual keys to the specified buffer. The function copies the identifiers to the specified buffer. Retrieves the input locale identifiers (formerly called keyboard layout handles) corresponding to the current set of input locales in the system. If the idThread parameter is zero, the input locale identifier for the active thread is returned. Retrieves the active input locale identifier (formerly called the keyboard layout) for the specified thread.

Retrieves the handle to the window that has the keyboard focus, if the window is attached to the calling thread's message queue. Retrieves the window handle to the active window attached to the calling thread's message queue.ĭetermines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState. When input is enabled, the window receives all input. When input is disabled, the window does not receive input such as mouse clicks and key presses. The input locale identifier specifies a locale as well as the physical layout of the keyboard.īlocks keyboard and mouse input events from reaching applications.Įnables or disables mouse and keyboard input to the specified window or control. Sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. In This Section NameĬovers tasks that are associated with keyboard input. This section describes how the system generates keyboard input and how an application receives and processes that input.
