h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » [[Wimp_CreateIcon]] h6(((. » Wimp_CreateIcon (window syntax) h2. Wimp_CreateIcon (window syntax) h5. (SWI &400C2) |_<. Entry | | | R0 | - | |R1 |Pointer to block | |>. +0 |Window handle | |>. +4 |[[Icon Block|Icon Block]] | |_<. Exit | | |R0 |Icon handle (unique within window) | h4. Use The purpose of this call is to create an icon that is part of a window. To display the icon, the window must first be updated by using [[Wimp_ForceRedraw]]. h4(#icon_block). Icon Block The icon block contains all the information required to create the icon itself. The block starts at R1+4 for this call. A full detailed description can be found in the [[Icon Block|Icon Block]] page. h4. See also * [[Wimp_CreateIcon (icon bar syntax)|Wimp_CreateIcon (icon bar syntax)]] * [[Wimp_DeleteIcon|Wimp_DeleteIcon]] * [[Wimp_CreateWindow|Wimp_CreateWindow]] * [[Wimp_ForceRedraw|Wimp_ForceRedraw]]