mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-05 20:54:31 +13:00
Hide NotificationForm from Alt+Tab and Win+Tab menu
This commit is contained in:
parent
4ee76af0ea
commit
7ba3956d0d
1 changed files with 9 additions and 0 deletions
|
@ -48,6 +48,15 @@ public class NotificationForm : Form
|
|||
private int urlPadding = 3;
|
||||
private Size textRenderSize;
|
||||
|
||||
protected override CreateParams CreateParams {
|
||||
get {
|
||||
// Turn on WS_EX_TOOLWINDOW style bit
|
||||
CreateParams cp = base.CreateParams;
|
||||
cp.ExStyle |= 0x80;
|
||||
return cp;
|
||||
}
|
||||
}
|
||||
|
||||
public NotificationForm(int duration, int fadeDuration, ContentAlignment placement, Size size, NotificationFormConfig config)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
|
Loading…
Reference in a new issue