B
BrianP
I'm writing a game that uses full screens. The only time it doesn't
work is the first time a couple of the forms are displayed. In those
cases, the top of the screen (where the start bar usually is) from the
previous form/screen is displayed instead.
I'm using
this.WindowState = FormWindowState.Maximized;
to get the fullscreen to work. That was resulting in some flickering
of the title bar, which was fixed by using P/Invoke calls ShowWindow
and EnableWindow from another thread here.
Any ideas?
work is the first time a couple of the forms are displayed. In those
cases, the top of the screen (where the start bar usually is) from the
previous form/screen is displayed instead.
I'm using
this.WindowState = FormWindowState.Maximized;
to get the fullscreen to work. That was resulting in some flickering
of the title bar, which was fixed by using P/Invoke calls ShowWindow
and EnableWindow from another thread here.
Any ideas?