Shell_NotifyIcon Sends a message to the system to add, modify, or delete an icon from the taskbar status area. VB4-32,5,6 Declare Function Shell_NotifyIcon Lib "shell32.dll" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, lpData As NOTIFYICONDATA) As Long |
VB.NET System.Windows.Forms.NotifyIcon |
Operating Systems Supported |
Requires Windows NT 4.0 or later; Requires Windows 95 or later |
· dwMessage Identifier of the message to send. This parameter can be one of these values: NIM_ADD Adds an icon to the status area. NIM_DELETE Deletes an icon from the status area. NIM_MODIFY Modifies an icon in the status area.
· pnid Pointer to a NOTIFYICONDATA structure. The content of the structure depends on the value of dwMessage. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError. |
|