J
Joachim Fuchs
Hi,
I'm working on a full screen application. Using this code from the FAQ
this.WindowState = FormWindowState.Maximized;
this.FormBorderStyle = FormBorderStyle.None;
this.ControlBox = false;
this.Menu = null;
the main window shows up covering the whole screen. If I open a dialog
window that uses the same code, I expect this window to cover the screen
completely:
DialogClass dialog = new DialogClass();
dialog.ShowDialog();
While this works fine on a Toshiba e800 and on the emulator, it doesn't on
an hp ipaq. On this device, either the menubar of the operating system pops
up or the main window can be seen in the background. The dialog window is
positioned 26 Pixel (size of the menu bar) down from the top of the screen.
Using dialog.Show positions the window as expected, but I need
dialog.ShowDialog.
Is this a bug in the ipaq system or in the compact framework? Are there any
work arounds?
Thanks,
Joachim
I'm working on a full screen application. Using this code from the FAQ
this.WindowState = FormWindowState.Maximized;
this.FormBorderStyle = FormBorderStyle.None;
this.ControlBox = false;
this.Menu = null;
the main window shows up covering the whole screen. If I open a dialog
window that uses the same code, I expect this window to cover the screen
completely:
DialogClass dialog = new DialogClass();
dialog.ShowDialog();
While this works fine on a Toshiba e800 and on the emulator, it doesn't on
an hp ipaq. On this device, either the menubar of the operating system pops
up or the main window can be seen in the background. The dialog window is
positioned 26 Pixel (size of the menu bar) down from the top of the screen.
Using dialog.Show positions the window as expected, but I need
dialog.ShowDialog.
Is this a bug in the ipaq system or in the compact framework? Are there any
work arounds?
Thanks,
Joachim