WINSHELLAPI BOOL WINAPI Shell_NotifyIcon(<br> DWORD dwMessage, <br> PNOTIFYICONDATA pnid<br>); <br>Sends a message to the system to add, modify, or delete an icon from <br>the taskbar status area. <br><br>Returns nonzero if successful, or zero otherwise. <br>dwMessage Message value to send. This parameter can be one of these<br> values: <br>NIM_ADD Adds an icon to the status area. <br>NIM_DELETE Deletes an icon from the status area. <br>NIM_MODIFY Modifies an icon in the status area. <br><br>pnid Address of a NOTIFYICONDATA structure. The content of the<br> structure depends on the value of dwMessage. <br><br>例子:<br>var<br> tid: TNotifyIconData;<br>begin<br> tid.cbSize := sizeof(tid);<br>