Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System tray icon and hiding the form
Message
De
20/01/2005 02:41:53
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
System tray icon and hiding the form
Divers
Thread ID:
00978779
Message ID:
00978779
Vues:
61
I have added a notify icon to my application. It works well. When the application starts, I see my icon in the system tray. Now, from the form, I can minimize. When I do it, I have added this code in the form resize event to not show the task in the task bar:
    Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Resize
        If (FormWindowState.Minimized = WindowState) Then
            ShowInTaskbar = False
        End If
    End Sub
But, doing this is closing my form for good as if I would have close it manually. I don't know what triggers the close event to be fired. Anyone would have any idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform