Purpose |
Change the icon or bitmap displayed in an IMAGEX control. The new image is re-sized to fit the size of the control. | |
Syntax |
CONTROL SET IMAGEX hDlg, id&, newimage$ | |
Remarks |
hDlg refers to the dialog that owns the control. id& is the unique control identifier as assigned to the control with the CONTROL ADD IMAGEX statement. newimage$ specifies the name
of the bitmap or icon in the resource
file (.PBR). If the image resource uses an
| |
Restrictions |
Images can only be exchanged with images of the same type. That is, if the control is displaying a bitmap then the replacement image must also be a bitmap. If the control is displaying an icon, the replacement image must also be an icon. For best results, icons should be 32x32 pixels.
| |
See also |
Dynamic Dialog Tools, CONTROL ADD GRAPHIC, CONTROL ADD IMAGE, CONTROL ADD IMAGEX, CONTROL ADD IMGBUTTON, CONTROL ADD IMGBUTTONX, CONTROL SET IMAGE, CONTROL SET IMGBUTTON, CONTROL SET IMGBUTTONX |