| hWnd |
Sets the window handle that will receive callback messages from the Tray Area |
| Message |
Sets/Gets the window message that will be sent from the Tray Area. The default is WM_MOUSEMOVE |
| AddIcon |
Adds a specified icon to the Tray Area; returns True if the call succeded
Parameters:
uID As Long -> a number that you can use to identify the icon sTip As String -> the icon Tip hIcon As Long -> the icon Handle |
| ChangeIcon |
Change a certain icon with another one
Parameters:
uID As Long -> the icon identifier hIcon As Long -> the icon Handle |
| ChangeTip |
Changes the Tip related to a certain icon |
| DeleteIcon |
Deletes a certain icon from the Tray Area |
| RemoveAllIcons |
Removes all added icons from the Tray Area |
| GetLastIconID |
Returns the latest icon ID added to the Tray Area |
| PopupMenu |
Shows a popup menu from the Tray Area
Parameters:
oMenuForm As Form -> the form which contains the menu to show oMenu As Menu -> the menu object to show
Ex:
oTray.PopupMenu Me, mnuFile |