12 softkeyboard api (c++ api), 1 send messages to the softkeyboard (c++ api), 12 s – ADS-TEC Softkeyboard User Manual

Page 36: Api)

Advertising
background image

Softkeyboard

36

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

12

S

OFTKEYBOARD

API

(C++

API)

Starting with Vista, UIPI (User interface privilege isolation) restricts the way how applications can
interchange windows messages. With UAC (User account control) enabled, softkey.exe runs at an

elevated level, since it is started from a service, and may not receive messages from a standard
application. When using the classic API, a proxy (skbdctrl.exe) receives the global window
messages and talks to the service through a named pipe.

Instead of using the proxy, an application might as well directly use the named pipe to talk to the

service. This API is implemented as a C++ class: CSKCtrl (source files: skctrl.cpp, skctrl.h) and
may be included into existing customer’s applications. An example for using this class is
TestSKCtrl.exe.

12.1

S

END

M

ESSAGES TO THE

S

OFTKEYBOARD

(C++

API)

SHOW SOFTKEYBOARD

Description

Shows the Softkeyboard on the screen.

Definition

bool CSKCtrl::Show (void);

Usage

CSKCtrl.Show();

HIDE SOFTKEYBOARD

Description

Hides the Softkeyboard if displayed.

Definition

bool CSKCtrl::Hide (void);

Usage

CSKCtrl.Hide();

Advertising