C# WM5 - hide softkey-button-bar

P

pezi

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
 
G

Ginny Caughey MVP

pezi,

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

Peter Foot [MVP]

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
 
P

pezi

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
 

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

Top