OVH Cloud OVH Cloud

Infobulle + click

1 réponse
Avatar
Nicolas
Bonjour,

J'arrive =E0 faire fontionner une infobulle dans la barre=20
des t=E2ches. A pr=E9sent je souhaiterais intercepter le click=20
lorsqu'on clique dessus. Des pistes ?

(j'ai bien lu l'article =E0 l'adresse=20
http://www.mvps.org/vbnet/index.html?
code/subclass/shellnotifyballoontip.htm
mais je n'ai pas su y trouver l'info relative =E0 mon=20
probl=E8me)

Merci

Nicolas

1 réponse

Avatar
François Picalausa
Bonjour/soir,

L'article suivant purra t'être utile:
http://www.mvps.org/vbnet/index.html?code/subclass/shellnotifyballoontipclick.htm

Il utilise le sous classement et récupère les messages suivants:
Case NIN_BALLOONSHOW
MsgBox "The balloon tip has just appeared!", _
vbOKOnly Or vbInformation, "VBnet Demo"

Case NIN_BALLOONHIDE
MsgBox "The systray icon was removed when" & _
"the balloon tip was displayed", _
vbOKOnly Or vbExclamation, "VBnet Demo"

Case NIN_BALLOONUSERCLICK
MsgBox "The user clicked on the balloon tip!", _
vbOKOnly Or vbInformation, "VBnet Demo"

Case NIN_BALLOONTIMEOUT
MsgBox "The balloon tip timed-out without " & _
"the user clicking it, or the user " & _
"clicked the balloon tip's close button.", _
vbOKOnly Or vbExclamation, "VBnet Demo"

--
François Picalausa (MVP VB)
FAQ VB : http://faq.vb.free.fr
MSDN : http://msdn.microsoft.com


"Nicolas" a écrit dans le message de
news:0b1901c36d3d$0621d8e0$
Bonjour,

J'arrive à faire fontionner une infobulle dans la barre
des tâches. A présent je souhaiterais intercepter le click
lorsqu'on clique dessus. Des pistes ?

(j'ai bien lu l'article à l'adresse
http://www.mvps.org/vbnet/index.html?
code/subclass/shellnotifyballoontip.htm
mais je n'ai pas su y trouver l'info relative à mon
problème)

Merci

Nicolas