Created
February 18, 2020 09:26
-
-
Save SamKr/184feca9353986bf4f3ad8951de563ed to your computer and use it in GitHub Desktop.
Hide Borderless Window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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