int RemoveSysTrayIcon (int iconHandle);
This function removes the specied icon from the System Tray and frees all resources. The function destroys any menus associated with the icon.
Input | ||
Name | Type | Description |
iconHandle | integer | The handle of the System Tray icon to remove. This handle will have been returned from InstallSysTrayIcon. |
Name | Type | Description |
status | integer | The status code that the function returns. 0 indicates success. A negative value indicates an error. This function may return a Programmer's Toolbox or UI Library error code. Call GetGeneralErrorString to obtain a text description of the error. |