Programmer Reference : Common Graphics : Icons : Using operating system icons
Using operating system icons
Common Graphics provides two methods for creating a CgIcon given an operating system icon representation. The fromOSIcon: class method creates a CgIcon given an operating system icon. The fromSystem: class method is similar, but the operating system icon is specified as a platform-specific system icon constant.
On Windows, operating system icons are represented by class OSHicon.
Common Widgets provides a platform-independent way of requesting and releasing handles to share system icons in an icon cache using the getIcon:foregroundColor: and destroyIcon: methods of CgScreen.
Last modified date: 01/29/2015