Skip to content

Instantly share code, notes, and snippets.

@SamKr
Created February 18, 2020 09:26
Show Gist options
  • Save SamKr/184feca9353986bf4f3ad8951de563ed to your computer and use it in GitHub Desktop.
Save SamKr/184feca9353986bf4f3ad8951de563ed to your computer and use it in GitHub Desktop.
Hide Borderless Window
protected override CreateParams CreateParams
{
get
{
var cp = base.CreateParams;
// turn on WS_EX_TOOLWINDOW style bit
cp.ExStyle |= 0x80;
return cp;
}
}
http://www.csharp411.com/hide-form-from-alttab/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment