TLoadResource and TLoadResources determine how a resource is loaded into an image list.
TLoadResource = ( lrDefaultColor, lrDefaultSize, lrFromFile, lrMap3DColors, lrTransparent, lrMonoChrome );
enum TLoadResource { lrDefaultColor, lrDefaultSize, lrFromFile, lrMap3DColors, lrTransparent, lrMonoChrome };
ImgList
TLoadResources is a set of flags (TLoadResource values) the govern the way an image list loads image resources. The following table lists the possible TLoadResource values:
Value |
Meaning |
lrDefaultColor |
Use the color format of the display. |
lrDefaultSize |
Use system metrics for Height and Width if the Width parameter to GetResource is 0. If the Width parameter is 0 and this option is not specified for cursors and icons, the resources width and height will be used. |
lrFromFile |
Loads the resource from a specified file. |
lrMap3DColors |
Replaces the images' gray shades with the 3D windows colors. |
lrTransparent |
Replaces the color table entry for the first pixel of the resource with the default window color (COLOR_WINDOW). This applies only to images with color tables. |
lrMonoChrome |
Loads the resource as black and white. |
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|