C++
virtual BOOL RemoveAllTrayIcons( BOOL bUpdate = TRUE ) = 0;
Description
This function removes all tray items from the status bar tray icon area. It returns true on success or if there are no panes to remove, and returns false if the function could not be executed.
Each tray item receives an AcTrayItem::OnDelete() callback when the tray item is removed.
Parameters
Parameters | Description |
---|---|
bUpdate | Input Boolean: true to remove the tray items immediately and update the appearance of the status bar; false to display the tray items in the status bar until the next call to AcApStatusBar::Update() |