Enable SIP with Windows Mobile 5.0

D

David D Webb

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
 
D

David D Webb

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
 

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

Top