Enable SIP with Windows Mobile 5.0

Enable SIP with Windows Mobile 5.0

Post by David D We » Thu, 18 May 2006 04:09:21


I have an application that uses a SIP control on several forms without a
menu bar. Previously I have enable the SIP icon with the following code.
On the Axim X51 with WM5, it no longer works. Are there any work-arounds?

public static void ShowSipButton(Form curForm)
{
int SHFS_SHOWSIPBUTTON = 0x4;
curForm.Capture = true;
IntPtr hwnd = GetCapture();
curForm.Capture = false;
SHFullScreen(hwnd, SHFS_SHOWSIPBUTTON);
}

-Dave
 
 
 

Enable SIP with Windows Mobile 5.0

Post by David D We » Fri, 19 May 2006 03:10:08

Well, I had to migrate to VS 2005 and CF2, install the Windows Mobile 5 SDK,
then set my target in VS to WM5, before the Input Panel button would show
up.

Now the problem, is that sometimes it shows up in the lower right corner
where I want it, but sometimes it shows up in the bottom center overlapping
other buttons. Is there anyway to control the placement of the input panel
button?

I really hope this new version works on the PPC2003 devices as well - I
really don't want to have to maintain 2 separate versions.

-Dave