Palm PC Keyboard
-
I am using a HP-Jornada 420 Palm/PC and was wondering if it is possible to display the QWERTY keyboard (the one at the bottom of the screen) when I set focus on an edit box (or if the user presses an onscreen button). I thought I saw a function call to display/hide the keyboard, but I can't find it - anybody help. Joe.
-
I am using a HP-Jornada 420 Palm/PC and was wondering if it is possible to display the QWERTY keyboard (the one at the bottom of the screen) when I set focus on an edit box (or if the user presses an onscreen button). I thought I saw a function call to display/hide the keyboard, but I can't find it - anybody help. Joe.
This was posted on the CE mailing list a while back by David Baldauff:
#include <aygshell.h>
BOOL CInputPanel::Show(BOOL bShowThePanel)
{
SIPINFO siThePanel;
memset(&si,0, sizeof(siThePanel));
siThePanel.cbSize = sizeof(siThePanel);
if ( SHSipInfo( SPI_GETSIPINFO, 0, &siThePanel, 0))
{
if(bShowThePanel)
siThePanel.fdwFlags |= SIPF_ON;
else
siThePanel.fdwFlags &= ~SIPF_ON;return SHSipInfo( SPI\_SETSIPINFO, 0, &siThePanel, 0);
}
return FALSE;
} -
This was posted on the CE mailing list a while back by David Baldauff:
#include <aygshell.h>
BOOL CInputPanel::Show(BOOL bShowThePanel)
{
SIPINFO siThePanel;
memset(&si,0, sizeof(siThePanel));
siThePanel.cbSize = sizeof(siThePanel);
if ( SHSipInfo( SPI_GETSIPINFO, 0, &siThePanel, 0))
{
if(bShowThePanel)
siThePanel.fdwFlags |= SIPF_ON;
else
siThePanel.fdwFlags &= ~SIPF_ON;return SHSipInfo( SPI\_SETSIPINFO, 0, &siThePanel, 0);
}
return FALSE;
}Do I need to link in some library because when I compile the sample I get the following error: -- Deleting intermediate files and output files for project 'TestCeDlg - Win32 (WCE SH3) Release'. --------------------Configuration: TestCeDlg - Win32 (WCE SH3) Release-------------------- Compiling resources... Compiling... StdAfx.cpp Compiling... TestCeDlg.cpp TestCeDlgDlg.cpp Generating Code... Linking... TestCeDlgDlg.obj : error LNK2001: unresolved external symbol _SHSipInfo WCESH3Rel/TestCeDlg.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. TestCeDlg.exe - 2 error(s), 0 warning(s) -- Thanks for your help so far. Joe.