ZeeImage Control Message
An application sends a ZGM_SETEXPAND message to change the way images that are smaller in resolution than the client area of the ZeeImage control
are displayed in the control. When the EXPAND attribute of the image is set to FALSE, a small image is only displayed as its image resolution or smaller.
wParam = (WPARAM)(int) iSlot; //Slot or index of the image in the ZeeImage control
lParam = (BOOL) bFLAG; //TRUE or FALSE value for EXPAND attribute of the image.
The value of wParam. An integer value representing the index of the image in the ZeeImage control.
The value of lParam. BOOLEAN value to set the EXPAND attribute of the image indicated with wParam. The EXPAND attribute is set to FALSE by default.
This message does not return a value.
//set image in slot 200 to expand to full size of the ZeeImage control client area.
When the EXPAND attribute is set to TRUE, a small image will scale to fill the client area of the ZeeImage control, keeping its original aspect ratio. This
means you might have an image that is a 32x32 bit ICON being displayed at up to full screen. An individual pixel of the original image might be a hundred or more
pixels square when displayed.
Copyright © 2020 by David Hillard