Forum > KOL

KOL-CE and Input Panel (SIP) message hooking



  In our aplication we develop for WinCE using KOL we need to properly handle the window size/controls position when user activates SIP to avoid hiding some controls. I've done some research on the net and found out that the message WM_SETTINGCHANGE needs to be hooked (something like that: and in a response to it we can change the size of some controls on the form.

  Maybe someone of you have some experience with that or any code snippets before we start fighting with that (or is it simple and straightforward like if were done in Delphi?)

Thanks in advance,

Use CeFormSIPAware procedure to resize form when SIP is activated. Also SIP is automatically activated when you tap on edit control.
Use MakeScrollable method of form or other container object to show scroll bar when child controls do not fit.
Also use anchoring for child controls to resize them properly when scrollbar appears or form size is changed.


  I've tried those two methods, but I do not see any effect of them. When I activate a SIP it covers the lower part of my findow, where the edit controls are located. The form does not resize or show any scrollbar when SIP appears. Also SIP does not apper automatically when I tap on an edit control. Am I missing something in my Form configuration?


ok, I've added those two lines into my form's constructor and it seams to work ok now:

  CeFormSIPAware(Self.Form, True);

thanks for your hints.


[0] Message Index

Go to full version