How to activate different keyboards

You can specify different types of on-screen keyboards to be displayed.

Variant 1

To do this, change (from your program) the KeyboardName parameter in the registry at HKEY_CURRENT_USER\Software\ComfortSoftware\hvk.

If the on-screen keyboard is visible then send Windows message "PostMessage(FindWindow('TFirstForm', 'hvkFirstForm'), WM_CSKEYBOARD, 1, 0)" and the program will reload the keyboard.

Variant 2

Download this file: http://hot-virtual-keyboard.com/files/SetNameKB.exe
Command format: SetNameKB.exe "keyboard name"
Example:
SetNameKB.exe Mini

Variant 3

You can use Windows Messages to change the keyboard.
Example:
char KeyboardName[80]; 
COPYDATASTRUCT MyCDS; 

  KeyboardName = "Standard"; 
// Fill the COPYDATA structure 
// 
  MyCDS.dwData = 1;          // function identifier 
  MyCDS.cbData = sizeof( KeyboardName );  // size of data 
  MyCDS.lpData = &KeyboardName;           // data structure 
// 
// Call function, passing data in &MyCDS 
// 
  HWND hwDispatch = FindWindow( "TFirstForm", "hvkFirstForm" ); 
  if( hwDispatch != NULL ) 
    SendMessage( hwDispatch, 
      WM_COPYDATA, 
      (WPARAM)(HWND) NULL, 
      (LPARAM) (LPVOID) &MyCDS ); 






See also:
How to switch between several on-screen keyboards


Return to Developer Center

Latest Version

Version:
Release:
File Size:
Price:
7.1
Jan 16, 2012
3.82 MB
$29.95
DOWNLOADBUY

Screenshots

Subscribe to News

Fill out your e-mail address
to receive our newsletter

Subscribe Unsubscribe

More info

Supported Operating Systems:

Windows 2000
Windows XP
Windows Server 2003
Windows Vista
Windows Server 2008
Windows 7 (32 bit)
Windows 7 (64 bit)

Compatible with Windows 7



Softpedia Clean Award


Hot Virtual Keyboard Blog



Developer Center



Press-kit