This site is no longer active and is available for archival purposes only. Registration and login is disabled.

SIP problem


SIP problem

Postby Libero » Jun 17, 2005 @ 12:10pm

Libero
pm Member
 
Posts: 8
Joined: Jun 17, 2005 @ 12:09pm


Postby Dan East » Jun 18, 2005 @ 2:33am

I've read your post a few times now, and I still don't understand exactly what is happening. Can you go into more detail?

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Rhino123 » Jun 18, 2005 @ 4:39pm

User avatar
Rhino123
pm Member
 
Posts: 66
Joined: Jul 2, 2002 @ 2:58pm
Location: Amsterdam


Postby Dan East » Jun 18, 2005 @ 4:54pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Libero » Jun 20, 2005 @ 7:50am

Libero
pm Member
 
Posts: 8
Joined: Jun 17, 2005 @ 12:09pm


Postby Dan East » Jun 20, 2005 @ 2:16pm

Try calling SetFocus on your window handle when you get a keydown event. If that doesn't work then try SetForegroundWindow. Windows CE dialog boxes must have some mechanism that automatically takes input focus back from the SIP.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Dan East » Jun 20, 2005 @ 2:25pm

Are you specifying the HWND of your main window when you display the SIP? For example SHSipPreference(hWnd, SIP_UP) instead of SHSipPreference(NULL, SIP_UP).

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby Libero » Jun 20, 2005 @ 3:46pm

My application is a form which is derived from Form:

public class Form1 : System.Windows.Forms.Form
{
}

and is start up like this:

static void Main()
{
Application.Run(new Form1());
}

I don't need to call a function to open the SIP panel, there is a keyboard icon in the toolbar which can enable the panel.

I think I have to force in some way that the panel has focus when it's enabled as a result of which it will fire the keydown event when a key is pressed.

Maarten
Libero
pm Member
 
Posts: 8
Joined: Jun 17, 2005 @ 12:09pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron