Hi In the wicki Wince Ptogramming tips (http://wiki.freepascal.org/WinCE_Programming_Tips#Show.2FHide_SIP_Panel) I find:
Show/Hide SIP Panel SIP: Software Input Panel button, it is a keyboard come with WinCE for touch screen devices. const //some of consts already found in Windows SIPF_OFF = $00000000; SIPF_ON = $00000001; SIPF_DOCKED = $00000002; SIPF_LOCKED = $00000004; function SipShowIM(IPStatus:DWORD):Integer; stdcall; external 'coredll.dll' name 'SipShowIM'; begin SipShowIM(SIPF_ON) end; Yet in coredll.inc or fpc 2.2.4 SipShowIM is listed as a 'to do'. In fact a call SipShowIM(SIPF_ON) that I put in the FormCreate of my mainform does not hide the keyborad. What is the status of this method? Alternatively, I tried to use this: hkeyboard:=FindWindow('MS_SIPBUTTON','MS_SIPBUTTON'); if hkeyboard >0 then BEGIN ShowWindow(hkeyboard,SW); EnableWindow(hkeyboard, showit); end; This works, but only the first time: I open the MainForm, the keyboard is not shown. Open Form 2, keyboard not shown. When I close form2 and return to MainForm, it shows! Although I have the above call on each form disactivate and activevate events. Any suggestion on how to hide the keyboard for the duration of the App? Thanks -- View this message in context: http://www.nabble.com/Status-of-SipShowIM-%28software-keyboard%29--tp25087200p25087200.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal