Skip to content

Instantly share code, notes, and snippets.

@akfish
Created October 12, 2011 08:22
Show Gist options
  • Save akfish/1280623 to your computer and use it in GitHub Desktop.
Save akfish/1280623 to your computer and use it in GitHub Desktop.
C# Hide borderless WinForm in Alt+Tab
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
//WS_EX_TOOLWINDOW = 0x80
cp.ExStyle |= 0x80;
return cp;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment