Fullscreen app in wince 6.0 c#

后端 未结 2 1224
难免孤独
难免孤独 2021-02-15 16:01

I have my app and want to make it run in full-screen mode, no task-bar. I found out how to hide the windows bar but when I start my app it doesn\'t cover the space of the windo

相关标签:
2条回答
  • 2021-02-15 16:58

    After hiding the task bar, explicitly set the size and position of your Form:

    myForm.Width = Screen.PrimaryScreen.Bounds.Width;
    myForm.Height = Screen.PrimaryScreen.Bounds.Height;
    myForm.Left = 0;
    myForm.Top = 0;
    
    0 讨论(0)
  • 2021-02-15 17:04

    I've always used SHFullScreen to achieve this when required. You will need to use PInvoke to call it.

    0 讨论(0)
提交回复
热议问题