Is there a way to change Window style to none using override of CreateParams?

848 Views Asked by At

I am trying to create application with window style set to "None". As far as I know, I can change style and extended style using override of CreateParams:

protected override CreateParams CreateParams
        {
            get
            {
                var cp = base.CreateParams;
                //cp.Style |= ???
                cp.ExStyle |= 0x80;  // Turn on WS_EX_TOOLWINDOW
                return cp;
            }
        }

I use ExStyle as 0x80, in order application not to show in taskbar or Task Manager. What also should I use in order to change window style to None? I just cannot understand what style to use according to List of Styles.

0

There are 0 best solutions below