Window.setIcon

Set the window's icon, shown in the title bar, the taskbar and the Alt+Tab switcher. Pass the small and (optionally) large variants; if large is null the small icon is used for both. Load an icon with loadIcon (from the executable's resources) or loadIconFromFile.

class Window
void
setIcon
(
HICON small
,
HICON large = null
)

Meta