From: rmlexi on
I was wondering if anyone has any insights as to nature of the SIP in
ToolBars under .NET CF and how to have the ToolBar without the SIP. I have
used SHFullScreen to try and remove the SIP Button, but it still persists. If
I could disble the SIP so it would not enable, that would be a good solution
also.

I've got a custom interface defined to handle all "valid" input characters
and without disabling the SIP, the user can enter invalid information. So for
this particular Form, there's no advantage to having the SIP, but I need the
toolbar to be the same as the rest of the app.

Thanks!

-Rob

From: r_z_aret on
On Thu, 29 Sep 2005 11:19:02 -0700, rmlexi
<rmlexi(a)discussions.microsoft.com> wrote:

>I was wondering if anyone has any insights as to nature of the SIP in
>ToolBars under .NET CF and how to have the ToolBar without the SIP. I have
>used SHFullScreen to try and remove the SIP Button, but it still persists. If
>I could disble the SIP so it would not enable, that would be a good solution
>also.
>
>I've got a custom interface defined to handle all "valid" input characters
>and without disabling the SIP, the user can enter invalid information. So for
>this particular Form, there's no advantage to having the SIP, but I need the
>toolbar to be the same as the rest of the app.

I just used google (http://groups.google.com/advanced_group_search) to
look up
hide sip button
and got 5040 hits. I took a quick look and was discouraged. I found
several notes from me. And one included source code for the function I
use to hide the SIP button. But a later note in the same thread
indicated the button doesn't stay hidden. I'm pretty sure I never
solved that problem. I _think_ I tried hiding it in response to
WM_ACTIVATE (the message seems related to several Task Bar items). I
generally don't care about the SIP button unless I am trying to lock
down the computer, and then I hide the whole Task Bar (including the
SIP button).


>
>Thanks!
>
>-Rob

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
From: rmlexi on
Yes, I hit up google also before coming here.

I'm developing a product that is used to calculate medical calculations.
This product has numeric only input and since it's based on a interface, I
decided the SIP was too cumbersome (even in numeric mode) to handle the
amount of inputs you have in a calculation.

I have even tried the method of using the "SHFullScreen" native code. It
returns success, so I think my SIP is attached differently. It also seems to
be globally shared across the program as my events on it for one form seem to
not go away when I dispose of the form and switch back to the other. I found
that I have to dispose of the reference to the SIP also. No bigie there, but
it sheds some light on the problem.

For now I hav the SIP just hide itself when they try and use it, but it's
ugly as the SIP flashes and is visible for a time. Also poping up a message
to not use it, but really I just want to disable it.

In a way I agree with MS's Logo standards to make everything seem the same,
but I think not allowing such a change is a dangerous assumption. Hopefully
when I get access to the MSDN registration site, I can ask the mobile people
there.

Thanks for the reply,
-R

"r_z_aret(a)pen_fact.com" wrote:

> On Thu, 29 Sep 2005 11:19:02 -0700, rmlexi
> <rmlexi(a)discussions.microsoft.com> wrote:
>
> >I was wondering if anyone has any insights as to nature of the SIP in
> >ToolBars under .NET CF and how to have the ToolBar without the SIP. I have
> >used SHFullScreen to try and remove the SIP Button, but it still persists. If
> >I could disble the SIP so it would not enable, that would be a good solution
> >also.
> >
> >I've got a custom interface defined to handle all "valid" input characters
> >and without disabling the SIP, the user can enter invalid information. So for
> >this particular Form, there's no advantage to having the SIP, but I need the
> >toolbar to be the same as the rest of the app.
>
> I just used google (http://groups.google.com/advanced_group_search) to
> look up
> hide sip button
> and got 5040 hits. I took a quick look and was discouraged. I found
> several notes from me. And one included source code for the function I
> use to hide the SIP button. But a later note in the same thread
> indicated the button doesn't stay hidden. I'm pretty sure I never
> solved that problem. I _think_ I tried hiding it in response to
> WM_ACTIVATE (the message seems related to several Task Bar items). I
> generally don't care about the SIP button unless I am trying to lock
> down the computer, and then I hide the whole Task Bar (including the
> SIP button).
>
>
> >
> >Thanks!
> >
> >-Rob
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com
>
From: TJ on
Use GetWindowRect on the sip button to store it's coordinates and then
move it offscreen so that way it won't pop up every now and then when it
should remain hidden. Just remember that you will have to manually move
it back when the window is inactivated and when your program closes or
else the user will be left w/o a way to open the sip.

rmlexi wrote:
> Yes, I hit up google also before coming here.
>
> I'm developing a product that is used to calculate medical calculations.
> This product has numeric only input and since it's based on a interface, I
> decided the SIP was too cumbersome (even in numeric mode) to handle the
> amount of inputs you have in a calculation.
>
> I have even tried the method of using the "SHFullScreen" native code. It
> returns success, so I think my SIP is attached differently. It also seems to
> be globally shared across the program as my events on it for one form seem to
> not go away when I dispose of the form and switch back to the other. I found
> that I have to dispose of the reference to the SIP also. No bigie there, but
> it sheds some light on the problem.
>
> For now I hav the SIP just hide itself when they try and use it, but it's
> ugly as the SIP flashes and is visible for a time. Also poping up a message
> to not use it, but really I just want to disable it.
>
> In a way I agree with MS's Logo standards to make everything seem the same,
> but I think not allowing such a change is a dangerous assumption. Hopefully
> when I get access to the MSDN registration site, I can ask the mobile people
> there.
>
> Thanks for the reply,
> -R
>
> "r_z_aret(a)pen_fact.com" wrote:
>
>
>>On Thu, 29 Sep 2005 11:19:02 -0700, rmlexi
>><rmlexi(a)discussions.microsoft.com> wrote:
>>
>>
>>>I was wondering if anyone has any insights as to nature of the SIP in
>>>ToolBars under .NET CF and how to have the ToolBar without the SIP. I have
>>>used SHFullScreen to try and remove the SIP Button, but it still persists. If
>>>I could disble the SIP so it would not enable, that would be a good solution
>>>also.
>>>
>>>I've got a custom interface defined to handle all "valid" input characters
>>>and without disabling the SIP, the user can enter invalid information. So for
>>>this particular Form, there's no advantage to having the SIP, but I need the
>>>toolbar to be the same as the rest of the app.
>>
>>I just used google (http://groups.google.com/advanced_group_search) to
>>look up
>>hide sip button
>>and got 5040 hits. I took a quick look and was discouraged. I found
>>several notes from me. And one included source code for the function I
>>use to hide the SIP button. But a later note in the same thread
>>indicated the button doesn't stay hidden. I'm pretty sure I never
>>solved that problem. I _think_ I tried hiding it in response to
>>WM_ACTIVATE (the message seems related to several Task Bar items). I
>>generally don't care about the SIP button unless I am trying to lock
>>down the computer, and then I hide the whole Task Bar (including the
>>SIP button).
>>
>>
>>
>>>Thanks!
>>>
>>>-Rob
>>
>>-----------------------------------------
>>To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
>>
>>Robert E. Zaret, eMVP
>>PenFact, Inc.
>>500 Harrison Ave., Suite 3R
>>Boston, MA 02118
>>www.penfact.com
>>