ImageEn, unit ievect

TImageEnVect.SetObjBitmapICO

TImageEnVect.SetObjBitmapICO


Declaration

procedure SetObjBitmapICO(hobj: integer; ico: integer; iwidth, iheight: integer);


Description

Specifies the hobj (iekBITMAP) image as standard windows icon.
ico can be OIC_SAMPLE, OIC_HAND, OIC_QUES, OIC_BANG, OIC_NOTE, OIC_WINLOGO, OIC_WARNING, OIC_ERROR, OIC_INFORMATION (look at windows.pas).
iwidth and iheight are icon width and height.


Example

// Sets system icon OIC_HAND of 64x64 as images of next inserted object iekBITMAP
ImageEnVect1.SetObjBitmapICO(IEV_NEXT_INSERTED_OBJECT, OIC_HAND, 64, 64);