An application sends a ZIM_LOADIMAGE to load an image from a file into the ZeeImage image list
ZIM_LOADIMAGE
wParam = (WPARAM)(int) iSlot; //slot or index of the image control
lParam = (LPARAM)(char*) filename; //LPSTR null-terminated string holding the path and filename of the image
This message does not return a value.
SendMessage(himage,ZIM_LOADIMAGE,5,(LPARAM)".\\Images\\image001.png");
Each ZeeImage control can hold up to 256 images. These are indexed 0..255 or slot 0 to slot 255.
If an image has already been loaded into the specified slot, it will be overwritten and replaced by the specified image in this message. The control handles the DeleteObject((HBITMAP)) for you.The ZeeImage control uses the GDI+ Windows library so it will load most any image file format.