ADS-TEC Softkeyboard User Manual

Page 35

Advertising
background image

Softkeyboard

© ads-tec GmbH • Raiffeisenstr.14 • 70771 Leinfelden-Echterdingen

35

RIGHT MOUSE FRONTKEY

Description

Receive this message if the right mouse frontkey was pressed.

Definition

static UINT SOFTKEY_KEYMOUSE;

Registration

SOFTKEY_KEYMOUSE = RegisterWindowMessage("SOFTKEY_KEYMOUSE");

Usage

LRESULT CSoftKeyDlg::DefWindowProc(UINT message,

WPARAM wParam,
LPARAM lParam)

{
if (message == SOFTKEY_KEYMOUSE)

{

[Your code starts here!]

}
}

Note:
The classic API works for Windows versions before Vista. With Vista, this API

requires the helper application “SkbdCtrl.exe”. This application registers for the

messages above and communicates with the genkey service. It does not offer a user

interface, nor does it show in the taskbar, and may be ended by task manager only

(“end process”).

Advertising