deft.util.icons

Icon loading helpers for the Win32 backend.

These load an HICON from the executable's own resources (by integer id) or from a .ico file on disk. They are used by Window.setIcon, TrayIcon, and the default window-class icon, and are equally usable from application code.

Members

Functions

loadIcon
HICON loadIcon(int resourceId)

Load an icon from the application's own resources by integer id.

loadIconFromFile
HICON loadIconFromFile(string path)

Load an icon image from a .ico file on disk.

Meta