Softkeyboard – ADS-TEC Softkeyboard User Manual

Page 28

Advertising
background image

Softkeyboard

28

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

MOVE POSITION

Description

Moves the Softkeyboard to the new x,y Position.

Definition

static UINT SOFTKEYBOARD_MSG_API;

Registration

SOFTKEYBOARD_MSG_API =

::RegisterWindowMessage(_T("SOFTKEYBOARD_MSG_API"));

Usage

const short SKB_POSITION = 1;

short XPos = 200;

short YPos = 400;

::PostMessage (HWND_BROADCAST, SOFTKEYBOARD_MSG_API,

SKB_POSITION,

MAKELPARAM(XPos,YPos));

CHANGE SIZE

Description

Changes the size of Softkeyboard. Available values are from 2 up to 11.

Definition

static UINT SOFTKEYBOARD_MSG_API;

Registration

SOFTKEYBOARD_MSG_API =

::RegisterWindowMessage(_T("SOFTKEYBOARD_MSG_API"));

Usage

const short SKB_SIZE = 2;

short factor = 6;

::PostMessage (HWND_BROADCAST, SOFTKEYBOARD_MSG_API, SKB_SIZE, factor);

Advertising