ZeeImage Control Message
An application sends a ZGM_SETDIVISOR to manage the resolution of images when loaded with ZIM_LOADIMAGE.
wParam = (WPARAM)(int) iDivisor; //Divisor to use when loading image.
lParam = 0; //Not Used. Set to 0.
The value of wParam. An integer divisor to use when loading the image.
The value of lParam. Not used. Set to 0.
This message does not return a value.
The divisor is a "sticky" control variable that determines the resolution of the loaded image. The control defaults to a divisor value of 1.
If the image being loaded has a resolution of 1600x900, setting the divisor to 2 before loading the image will load the image with a resolution
of 800x450. This can be used to save memory when a high resolution image will only be displayed in a relatively small area on the screen.
This can also prevent you from having to manually resize images that are in too high of resolution for your application.
Copyright © 2020 by David Hillard