Contains a group icon resource type

This unit contains , a TAbstractResource descendant specialized in handling resource of type RT_GROUP_ICON.

Adding this unit to a program's uses clause registers class for type RT_GROUP_ICON with TResourceFactory.

Group icon resource type

This class represents a resource of type RT_GROUP_ICON.

Resources of this type are strictly related to .ico files: typically a resource compiler creates resources of this type when it is instructed to insert an icon from an .ico file.

There is although a big difference between .ico files and icon resources: an .ico file contains an icon, which is made of several different images (for different sizes and color depth), but while a file of this type is self-contained, when it comes to resources data is scattered over several different resources: an RT_GROUP_ICON resource only contains information about the single images, which are contained each in a different resource of type RT_ICON. The single resources are pretty unuseful alone, since they only consist of raw image data: they must be accessed in the contest of the RT_GROUP_ICON resource, which provides information about them.

provides a way to handle an icon as if it was a .ico file, via ItemData property. Single icon resources are automatically created or destroyed as needed.

This class doesn't allow its type to be changed to anything else than RT_GROUP_ICON. Attempts to do so result in a EResourceDescChangeNotAllowedException.
TGroupResource.ItemData TGroupCursorResource
Creates a new group icon resource

Please note that aType parameter is not used, since this class always uses RT_GROUP_ICON as type.

Ignored. Can be nil. The name of the resource