Draw Method
Object List Next Object
Defined By: ImageList
Description:
Draws an image identified by its index from the ImageList to the specified
location in the specified Device Context with a specified style. The available
styles are:
style = 0 : Draws the image using the background color for the image list. If
the background color is the CLR_NONE value, the image is drawn transparently
using the mask.
style = 1: Draws the image transparently using the mask, regardless of the
background color. This value has no effect if the image list does not contain a
mask.
style = 2: Draws the image, blending 25 percent with the system highlight
color. This value has no effect if the image list does not contain a mask.
style = 4: Draws the image, blending 50 percent with the system highlight
color. This value has no effect if the image list does not contain a mask.
style = 16: Draws the mask.
Declaration:
Function Draw(ByVal index As Integer, ByVal hDC As Long, ByVal x As Long, ByVal y As Long, ByVal style As Long) As Boolean