Detect when SIP keyboard is exposed.

  • Thread starter Thread starter .pd.
  • Start date Start date
P

.pd.

When the user taps the keyboard symbol on the SIP, is there someway of
subscribing to an event for that? Or do I have to write my own SIP k/b?

Cheers,
..pd.
 
According to my Windows CE.NET documentation:

If the software-based input panel is altered, the OS sends out a
WM_SETTINGCHANGE message to all of the active applications.

However, this appears to me to be untrue. It sends a message to the active
application, but background applications don't seem to get any notification
of changes.

It sounds, though, like you have something else in mind (adding a SIP to the
list won't get you notified every time the user taps on the icon). What is
it that you're trying to do?

Paul T.
 
Paul G. Tobey [eMVP] wrote on Tue 02 Dec 2003 05:39:03p:
What is it that you're trying to do?

I have several textboxes on a scrolling form. When the keyboard is
visible, the textboxes at the bottom of the form are occluded by the
keyboard.

If I increase the vertical scroll maximum (or decrease the LargeChange
property), the lower fields can be scrolled into view but the bottom fields
are then in the middle of the screen. If the colours match this doesn't
look too dreadful, but I wanted it to be a bit slicker than that.

So I thought of dynamically adjusting the vertical scroll maximum when the
k/b is revealed and concealed.

Cheers,
..pd.
 
When you are the front application, you can receive the notifications when
the SIP is exposed, as indicated in my last message.

Paul T.

Da5id said:
Paul G. Tobey [eMVP] wrote on Tue 02 Dec 2003 05:39:03p:
What is it that you're trying to do?

I have several textboxes on a scrolling form. When the keyboard is
visible, the textboxes at the bottom of the form are occluded by the
keyboard.

If I increase the vertical scroll maximum (or decrease the LargeChange
property), the lower fields can be scrolled into view but the bottom fields
are then in the middle of the screen. If the colours match this doesn't
look too dreadful, but I wanted it to be a bit slicker than that.

So I thought of dynamically adjusting the vertical scroll maximum when the
k/b is revealed and concealed.

Cheers,
.pd.
 
Hi,

Try using the InputPanel.EnabledChanged event.

Check out related items:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx#5.18
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx#5.22

Hope this helps you out,
-Katie

--------------------
| From: Da5id <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Re: Detect when SIP keyboard is exposed.
| Date: 3 Dec 2003 09:36:59 GMT
| Organization: South Wales MAN News Service
| Lines: 18
| Message-ID: <[email protected]>
| References: <[email protected]>
<#[email protected]>
| NNTP-Posting-Host: datamobilitypd.swan.ac.uk
| X-Trace: news.swman.net.uk 1070444219 27159 137.44.240.41 (3 Dec 2003
09:36:59 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: 3 Dec 2003 09:36:59 GMT
| User-Agent: Xnews/5.04.25
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!nntp-relay.ihug.net!ihug.co.nz!logbridge.uoregon.edu!server3.netnews.ja
.net!server4.netnews.ja.net!news.swman.net.uk!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:40057
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Paul G. Tobey [eMVP] wrote on Tue 02 Dec 2003 05:39:03p:
|
| > What is it that you're trying to do?
|
| I have several textboxes on a scrolling form. When the keyboard is
| visible, the textboxes at the bottom of the form are occluded by the
| keyboard.
|
| If I increase the vertical scroll maximum (or decrease the LargeChange
| property), the lower fields can be scrolled into view but the bottom
fields
| are then in the middle of the screen. If the colours match this doesn't
| look too dreadful, but I wanted it to be a bit slicker than that.
|
| So I thought of dynamically adjusting the vertical scroll maximum when
the
| k/b is revealed and concealed.
|
| Cheers,
| .pd.
|

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi,
Any sample on how can this message be intercepted? My CE.net 4.1 device
doesn't fire the inputenabled event...

Alberto Silva
 
Back
Top