How to activate different keyboardsYou can specify different types of on-screen keyboards to be displayed. To do this, change (from your program) the KeyboardName parameter in the registry at HKEY_CURRENT_USER\Software\ComfortSoftware\hvk. You have to do it before showing the on-screen keyboard with Windows Messages. Variant 2 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 ); |
Subscribe to NewsMore info
|









