SIP Button showing in a fullscreen WM5 app

S

slaught

Hi,

I writing an app to be run on Windows Mobile 5 using C# and the .Net
Compact Framework 2.0 which hides both the start menu bar at the top of
the screen and the button bar / sip bar at the bottom of the screen in
order to maximise the amount of screen space available. This has been
achieved using the SSHFullScreen function found in Aygshell.dll, and
seems to work fine.

However, I also need keyboard input from the SIP panel, but when I
enable the panel through Microsoft.WindowsCE.Forms.InputPanel by
setting its enabled property to true, the sip button shows up in the
middle of the screen at the bottom.

I Dont want this button to show up on activating the SIP as I use my
own button for this purpose, how can I prevent this from happening?

Thanks.
 
F

Fabien

Hi,

You should hide the SIP button :
int hSipButton = FindWindow("MS_SIPBUTTON", "MS_SIPBUTTON");
ShowWindow(hSipButton , SW_HIDE);

(import with a dllimport FindWindow and ShowWindow.

BR


Fabien Decret
Windows Embedded Consultant


ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/



(e-mail address removed) a écrit :
 
S

slaught

Hi, this seems to work, however if i call this as soon as showing the
panel:

inputPanel.Enabled = !inputPanel.Enabled;
IntPtr hwnd = FindWindowCE("MS_SIPBUTTON", "");
MoveWindow(hwnd, 0, 0, 0, 0, false);

then the button doesnt get hidden (im assuming because the SIP window
doesnt get created in time). I've worked around this by hiding the SIP
button in the inputPanels on enabledChanged event, but this causes the
SIP button to flicker briefly.

Any other ideas on how to work around this?
Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SIP at the bottom 2
custom SIP with display box 1
SIP and anchoring 2
FullScreen + SIP c# 2
Input Panel button under Windows Mobile 5 2
C# WM5 - hide softkey-button-bar 4
Remove Sip Button 1
Hiding the SIP Button 4

Top