PC Review


Reply
Thread Tools Rate Thread

C# WM5 - hide softkey-button-bar

 
 
pezi
Guest
Posts: n/a
 
      2nd Feb 2009
hello

is there any chance to create an application/form which shows the titlebar
BUT hides the softkey-bar at the bottom?

i didn't find anything useful so far (WindowState.Maximized would show none
of them, WindowState.Normal both and if i add an empty
System.Windows.Forms.MainMenu there are no soft buttons but the sip-symbol
is shown)

tia
pezi

 
Reply With Quote
 
 
 
 
Ginny Caughey MVP
Guest
Posts: n/a
 
      2nd Feb 2009
pezi,

If you don't have a menu, then you shouldn't see the soft key options.

--

Ginny Caughey
Device Application Development MVP



"pezi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hello
>
> is there any chance to create an application/form which shows the titlebar
> BUT hides the softkey-bar at the bottom?
>
> i didn't find anything useful so far (WindowState.Maximized would show
> none of them, WindowState.Normal both and if i add an empty
> System.Windows.Forms.MainMenu there are no soft buttons but the sip-symbol
> is shown)
>
> tia
> pezi


 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      2nd Feb 2009
The bar should not be shown if you completely remove the MainMenu item from
the form. You can also P/Invoke SHFullScreen to disable the SIP button. You
should find code samples for SHFullScreen with a quick google. One of the
odd things about the function is you have to call it in you Form Activated
event as the setting is "lost" when your window loses and regains focus.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility

"pezi" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hello
>
> is there any chance to create an application/form which shows the titlebar
> BUT hides the softkey-bar at the bottom?
>
> i didn't find anything useful so far (WindowState.Maximized would show
> none of them, WindowState.Normal both and if i add an empty
> System.Windows.Forms.MainMenu there are no soft buttons but the sip-symbol
> is shown)
>
> tia
> pezi


 
Reply With Quote
 
pezi
Guest
Posts: n/a
 
      2nd Feb 2009
thanks for the answers...i'll take a look at it

"pezi" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> hello
>
> is there any chance to create an application/form which shows the titlebar
> BUT hides the softkey-bar at the bottom?
>
> i didn't find anything useful so far (WindowState.Maximized would show
> none of them, WindowState.Normal both and if i add an empty
> System.Windows.Forms.MainMenu there are no soft buttons but the sip-symbol
> is shown)
>
> tia
> pezi


 
Reply With Quote
 
pezi
Guest
Posts: n/a
 
      6th Feb 2009
now the strange thing is - i got my app to run without the menu bar and the
sip-button on a HTC Touch (WM 6.1)

but when i run the same application on a Pidion (Bluebird BM-150R) the menu
bar isn't there - only the sip button - but what's really strange to me is
that this only happens if i'm NOT starting it in debug-mode (in debug-mode
no sip-button is displayed)

i already tried using SHFullScreen, FindWindow, MoveWindow and whatever i
could find (in FormActivated, FormLoad and at some other places) - but then
the sip-button is always there (even in debug mode)

any suggestions how i could fix this?

Petra

"Peter Foot [MVP]" <(E-Mail Removed)> schrieb im Newsbeitrag
news:5A182155-7067-4DDF-B066-(E-Mail Removed)...
> The bar should not be shown if you completely remove the MainMenu item
> from the form. You can also P/Invoke SHFullScreen to disable the SIP
> button. You should find code samples for SHFullScreen with a quick google.
> One of the odd things about the function is you have to call it in you
> Form Activated event as the setting is "lost" when your window loses and
> regains focus.
>
> Peter
>
> --
> Peter Foot
> Microsoft Device Application Development MVP
> peterfoot.net | appamundi.com | inthehand.com
> APPA Mundi Ltd - software solutions for a mobile world
> In The Hand Ltd - .NET Components for Mobility
>
> "pezi" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> hello
>>
>> is there any chance to create an application/form which shows the
>> titlebar BUT hides the softkey-bar at the bottom?
>>
>> i didn't find anything useful so far (WindowState.Maximized would show
>> none of them, WindowState.Normal both and if i add an empty
>> System.Windows.Forms.MainMenu there are no soft buttons but the
>> sip-symbol is shown)
>>
>> tia
>> pezi

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Button after clicking on the button to open a form E-mail report using Lotus Notes rather t Microsoft Access Forms 2 1st Dec 2009 11:11 PM
Any idea how to hide/show Softkey-Buttons? juvi Microsoft Dot NET Compact Framework 2 23rd Oct 2008 11:29 AM
Clicking Show/Hide Button still can't hide the arrows-formatting m =?Utf-8?B?Y3V0ZSBtb3VzZQ==?= Microsoft Word Document Management 1 10th Jun 2007 04:27 AM
Hide the Next Button nerb61 via AccessMonster.com Microsoft Access Form Coding 9 3rd Apr 2006 09:00 PM
Programatically Calling a Softkey (device button) Zac Maclean Microsoft Dot NET Compact Framework 6 29th Dec 2004 05:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 PM.