Hi,

I have created an application in C# and would like it viewed in a full screen that also covers Microsoft's taskbar, kind of like the way a PowerPoint is viewed in full screen.

Is this possible?

Sorry if i come off a bit confusing.

Thanks

Recommended Answers

you mean like this?

private void btn_MakeFullScreenClick(object sender, EventArgs e)
{
            this.TopMost = true;
            this.FormBorderStyle = FormBorderStyle.None;
            this.WindowState = FormWindowState.Maximized;
}

You will have to have another that makes it return to normal size...

private void button2_Click(object sender, EventArgs e)
        {
            this.TopMost = …
Jump to Post

All 2 Replies

you mean like this?

private void btn_MakeFullScreenClick(object sender, EventArgs e)
{
            this.TopMost = true;
            this.FormBorderStyle = FormBorderStyle.None;
            this.WindowState = FormWindowState.Maximized;
}

You will have to have another that makes it return to normal size...

private void button2_Click(object sender, EventArgs e)
        {
            this.TopMost = false;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;//(return to whatever borderstyle you want)
            this.WindowState = FormWindowState.Normal;
        }

Thanks James, the code worked well.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.