Einzelnen Beitrag anzeigen

moelski

Registriert seit: 31. Jul 2004
1.110 Beiträge
 
Delphi 2010 Professional
 
#1

Shell_NotifyIcon und Windows 7 (Balloon Tips)

  Alt 14. Aug 2009, 10:29
Moin !

Ich benutze Shell_NotifyIcon um ein TrayIcon zu erstellen und um Balloons anzuzeigen.
Unter XP / Vista geht es problemlos. Unter Win7 kommt hingegen nur das TrayIcon.

Balloon Tips lassen sich aber nicht darstellen.

Ich bekomme beim Erstellen des TrayIcons auch folgende Meldung:
"An attempt was made to reference a token that does not exist"

Was mich auch etwas verwundert ...
Bei dem Windows 7 kriege ich als DLL Version von Shell32 6.0.1.
Laut dem hier:
http://msdn.microsoft.com/en-us/library/bb773352(VS.85).aspx
sollte da aber 6.0.6 raus kommen

Zitat:
Shell32.dll Version cbSize
6.0.6 or higher (Windows Vista and later) sizeof(NOTIFYICONDATA)
6.0 (Windows XP) NOTIFYICONDATA_V3_SIZE
Hat jemand einen Tip was man beachten muss, um auch unter Win7 die normalen Balloon Tips nutzen zu können mittels Shell_NotifyIcon?
Dominik Schmidt
Greetz Dominik

I love Delphi 2007/2010
  Mit Zitat antworten Zitat