Is there anyway to hide your window from the alt-tab window display? I have it set to not show in the taskbar but it still shows up when pressing alt tab and getting the window previews.
Thanks!
Printable View
Is there anyway to hide your window from the alt-tab window display? I have it set to not show in the taskbar but it still shows up when pressing alt tab and getting the window previews.
Thanks!
Could you try this out? Add this in the form's constructore event.
Code:Me.FormBorderStyle = FormBorderStyle.SizableToolWindow;
Me.ShowInTaskbar = false;
If your form has no borders then you should use this.
Code:this.FormBorderStyle = FormBorderStyle.None;
this.ShowInTaskbar = false;
Code:Protected Overloads Overrides ReadOnly Property CreateParams() As CreateParams
    Get
        Dim cp As CreateParams = MyBase.CreateParams
        ' turn on WS_EX_TOOLWINDOW style bit
        cp.ExStyle = cp.ExStyle Or &H80
        Return cp
    End Get
End Property
Awesome, thanks dee-u that worked perfectly. I was hiding my borders so the second one worked hehe :)