Systray,vb6

Résolu
ayarikhaoula Messages postés 126 Date d'inscription vendredi 13 août 2010 Statut Membre Dernière intervention 15 août 2011 - 18 nov. 2010 à 11:28
ayarikhaoula Messages postés 126 Date d'inscription vendredi 13 août 2010 Statut Membre Dernière intervention 15 août 2011 - 18 nov. 2010 à 13:50
salut comment supprimer l'icône du systray lorsqu'on quitte l'application.mercie

2 réponses

ayarikhaoula Messages postés 126 Date d'inscription vendredi 13 août 2010 Statut Membre Dernière intervention 15 août 2011
18 nov. 2010 à 13:50
mercie sa fonctionne tré bien
3
cs_ShayW Messages postés 3253 Date d'inscription jeudi 26 novembre 2009 Statut Membre Dernière intervention 3 décembre 2019 57
18 nov. 2010 à 12:57
Salut

Private Declare Function DestroyIcon Lib "user32" (ByVal hIcon As Long) As Long
Private Type NOTIFYICONDATA
    cbSize As Long
    hwnd As Long
    uID As Long
    uFlags As Long
    uCallbackMessage As Long
    hIcon As Long
    szTip As String * 128
    dwState As Long
    dwStateMask As Long
    szInfo As String * 256
    uTimeoutOrVersion As Long
    szInfoTitle As String * 64
    dwInfoFlags As Long
End Type
Private mtypIcon As NOTIFYICONDATA
DestroyIcon mtypIcon.hIcon
0
Rejoignez-nous