public interface IImage
Modifier and Type | Field and Description |
---|---|
static int |
IML_FOCUS |
static int |
IML_NORMAL |
static int |
IML_SELECTED |
static int |
IML_TRANSPARENT |
Modifier and Type | Method and Description |
---|---|
void |
draw(integer hDC,
integer x,
integer y,
integer style)
Draws the image to a given device context (DC) at a specified location using a specified style.
|
memptr |
extractIcon()
Create an icon from a ListImage object in an ImageList control.
|
integer |
getIndex()
Return the index of an object in a collection.
|
character |
getKey()
Get the unique string of an object in a collection.
|
comhandle |
getPicture()
Get the image Picture
|
BaseDataType |
getTag()
Get any extra data needed for your program.
|
void |
setIndex(integer index)
Set the index of an object in a collection Read only at runtime.
|
void |
setKey(character key)
Set the unique string of an object in a collection.
|
void |
setPicture(comhandle data)
Set the image Picture
|
void |
setTag(BaseDataType tag)
Set any extra data needed for your program.
|
static final int IML_NORMAL
static final int IML_TRANSPARENT
static final int IML_SELECTED
static final int IML_FOCUS
void draw(integer hDC, integer x, integer y, integer style)
hDC
- Device context handlex
- horizontal positiony
- vertical positionstyle
- drawing stylememptr extractIcon()
integer getIndex()
void setIndex(integer index)
index
- new index, 1-based index.character getKey()
void setKey(character key)
key
- new key.comhandle getPicture()
void setPicture(comhandle data)
data
- The picture comhandleBaseDataType getTag()
void setTag(BaseDataType tag)
tag
- extra data