[fpc-pascal] Does Anybody Know how to REALLY kill an App on Pocket Pc?
epergola
epergola at hotmail.com
Wed Aug 26 19:25:41 CEST 2009
Felipe
thanks, but i found the perfect solution, I think.
Actually the indo ia from lyh1 in a post in Lazarus forum (titled
'FullScreen Application').
If in resetpda I use
hkeyboard:=FindWindow('menu_worker','');
instead of
hkeyboard:=FindWindow('MS_SIPBUTTON','MS_SIPBUTTON');
it works like a charm.
Calling resetpda(false) in MainForm.FormCreate and resetpda(true) in
in Finalization of MainForm makes the keyboard button disappear for the
duration
of the App.
Felipe Monteiro de Carvalho wrote:
>
> LCL-wince does not activate the keyboard upon closing a modal form,
> Windows CE does this alone and I dont know if this can be prevented.
>
> Why dont you just call resetpda in OnActivate? (or both OnCreate and
> OnActivate)
>
> --
> Felipe Monteiro de Carvalho
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
--
View this message in context: http://www.nabble.com/Does-Anybody-Know-how-to-REALLY-kill-an-App-on-Pocket-Pc--tp25107234p25151462.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list