0

I have a Windows Mobile application developed with Visual Studio 2010 and C# (Smart Device Project). When I run the application there's a start menu bar visible on the top and keyboard bar on the bottom. How can I make my application run in full-screen mode?

If possible I would like to have a solution that will allow me to turn full-screen mode on and off on runtime (after clicking some form button for example).

McKay
  • 12,334
  • 7
  • 53
  • 76
Dmcf
  • 1
  • 2
  • 1
    As far as I know VS2010 doesn't support Windows Mobile development. So is this a Windows Phone project or do you use VS2008 or am I wrong? – ytg Nov 22 '11 at 16:48
  • He said "Smart Device Project" so it's not going to be Windows Phone. – Chris E Nov 22 '11 at 16:55
  • possible duplicate of [how to make a mobile application stay on top?](http://stackoverflow.com/questions/747615/how-to-make-a-mobile-application-stay-on-top) – ctacke Nov 22 '11 at 17:12
  • Also related: http://stackoverflow.com/questions/5639614/start-bar-shows-up-over-maximized-form-pocket-pc-2003 – ctacke Nov 22 '11 at 17:13
  • @Dmcf: Are you, perhaps, developing under Visual Studio **2008**? –  Nov 23 '11 at 15:09

1 Answers1

0

(Assuming the question is about Windows Mobile and not Windows Phone.)

On Windows Mobile if you want to hide parts of Windows that normally can't be hidden, you have to hide them with P/Invoke. There are plenty of questions like this already answered and some other resources too. And of course you can call the P/Invoke from an event handler.

Community
  • 1
  • 1
ytg
  • 1,755
  • 2
  • 23
  • 41