SIP

R

rbolos

Hello,

I have a fullscreen application. It´s possible to have a SIP "icon" hidden
and when I want show only the keyboard without SIP icon?

Thanks.
 
G

Guest

If I understand what you mean, you want to pop-up the "input panel" (keyboard
or transcriber) programmatically, instead of letting the user do it by
himself.

If that's what you want, then simply add an InputPanel object onto your form
and call it this way, whenever you need it:

this.inputPanel1.Enabled = true; // Or "false" to hide it!

I hope this helps you!
 
R

rbolos

Dear Leo,

No, Perhaps I´m explain incorrectly.

I want to show the keyboard (only thee keyboard without SIP icon), but i
don´t want to show the "icon" of SIP.

Thanks.
 
G

Guest

I'm still not sure of what you mean... Which "icon" are you talking about?

Is it the SipPanel icon in the icon tray (full bottom-right, in the task
bar)? If this is it, then you should post a question to the
"windowsce.platbuilder" group, because this icon is "built in" the OS.

If not, then I can't see which icon you are talking about... When you drop
an InputPanel control onto a form, there is not icon created anywhere.
 
N

Norbert

Short answer
Yes

In my application I simple added an Inputpanel to the form
but no MainMenu

if you want to display the panel, simple call
inputpanel1.enabled =true
or =false to disable it
(if inputpanel1 is the name of the component::) )

Norbert
 
S

Sergey Bogdanov

Try this code to activate/deactivate SIP programmatically.

const uint SIPF_OFF = 0x0;
const uint SIPF_ON = 0x1;

[DllImport("coredll.dll")]
private extern static void SipShowIM(uint dwFlag);
 
R

rbolos

Leo, Sergey, Norbert,

All your answers are invalid, because when i call to sip, the ICON of SIP
will be showed. And i don?t want it. I want to show ONLY the keyboard.

Why?...If icon of sip is showed the user can be access to menu of options of
SIP and i can?t let this.

Now, I hope explain better.

Thanks.

Sergey Bogdanov said:
Try this code to activate/deactivate SIP programmatically.

const uint SIPF_OFF = 0x0;
const uint SIPF_ON = 0x1;

[DllImport("coredll.dll")]
private extern static void SipShowIM(uint dwFlag);



--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com

Dear Leo,

No, Perhaps I´m explain incorrectly.

I want to show the keyboard (only thee keyboard without SIP icon), but i
don´t want to show the "icon" of SIP.

Thanks.
 
S

Sergey Bogdanov

I see, how do you enable fullscreen? And what OS do you have? For
PocketPC platform the code should look something like this:

protected override void OnActivated(EventArgs e)
{
Capture = true;
IntPtr hwnd = GetCapture();
Capture = false;

SHFullScreen(hwnd, SHFS_HIDESIPBUTTON);

base.OnActivated (e);
}


[DllImport("aygshell.dll")]
private static extern bool SHFullScreen(IntPtr hwndRequester, int dwState);

private const int SHFS_HIDESIPBUTTON = 0x0008;


And how to show SIP see my previous post or use InputPanel component.
 

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


Top