The default Red window icon (displaying the towers of Hanoi) can be replaced with your own .ico file as follows:
;-- see Chapter09/icon.red:Red [ needs: 'view icon: %gaming.ico]view []
This window displays as:
But to see this new icon, the app must be compiled as red -r icon.red. This also works for the icon of a non-GUI app shown in the app-tray.