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

Developing a custom SIP


Developing a custom SIP

Postby ZaG » Jan 1, 2003 @ 12:17am

I'm developing my own input keyboard for my PocketPC. I've got it all set up and am able to use it in the SIP and everything works when I hit keys except I can't get the enter key and tab keys to work. Has anyone built a custom SIP? I'm using the SendVirtualKeys method to send VK_RETURN and VK_TAB when the enter or tab keys are pressed in my SIP but neither works. I have other keys working correctly (like backspace) so I know the basic code is working it is just these 2 keys. When I send the tab it does nothing at all and when I send the enter key it closes the file I was editing. I can't figure out why.

If any one has any thoughts on how to make this work I'd love to hear them!

ZaG
User avatar
ZaG
pm Member
 
Posts: 31
Joined: Nov 21, 2002 @ 7:43pm


Postby Dan East » Jan 1, 2003 @ 1:55am

The enter key is used to trigger the "Ok" button in dialogs by default. So that may be the correct behavior. Have you tried using the builtin SIP to see how it behaves with that app? The other thought that comes to mind is that you might be directing the messages the wrong window, which is capturing only the tab and enter messages.

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


Postby ZaG » Jan 1, 2003 @ 7:19pm

Thanks for the ideas. I did think about the idea that my messages might be going to the wrong window but since backspace and character keys are working alright that doesn't seem to be the problem.

The built-in sips all work fine so obviously what I am doing is not the right way to do it. I'm going to write a small text entry app that displays whatever key codes for whatever key strokes are sent to it so I can see what the built-in sips are sending for enter and tab.

ZaG
User avatar
ZaG
pm Member
 
Posts: 31
Joined: Nov 21, 2002 @ 7:43pm


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