Shell NotifyIcon

Aus API-Wiki
Wechseln zu: Navigation, Suche

<<syntaxhighlight lang="vb">>Declare Function Shell_NotifyIcon Lib "shell32.dll" _

       Alias "Shell_NotifyIconA" ( _
       ByVal dwMessage As Long, _
       ByRef lpData As NOTIFYICONDATA) As Long</<syntaxhighlight lang="vb">>

dwMessage ist hierbei einer der folgenden Werte:

<<syntaxhighlight lang="vb">>Const NIM_ADD As Long = &H0& Const NIM_MODIFY As Long = &H1& Const NIM_DELETE As Long = &H2&</<syntaxhighlight lang="vb">>