Documentation: Wimp_DeleteIcon
Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_DeleteIcon
Wimp_DeleteIcon
(SWI &400C4)
| Entry | |
|---|---|
| R1 +0 | Window handle, or |
| -2 for icon bar | |
| +4 | Icon handle |
| Exit | |
|---|---|
| R1 | Corrupt |
Use
The purpose of this call is to delete an icons definition within a window. To update the window applications should then call Wimp_ForceRedraw.
Note: The icons memory will be reallocated if it is the last icon belonging to a window.