ZeeImage Control Message

ZIM_GETCURRENTIMAGE


ZIM_GETCURRENTIMAGE

An application sends a ZIM_GETCURRENTIMAGE to retrieve the index of the currently displayed image in the ZeeImage image list.

ZIM_GETCURRENTIMAGE
wParam = 0;      //Not used.  Set to 0.
lParam = 0;      //Not used.  Set to 0.

Parameters

wParam
The value of wParam. Not used. Should be set to 0.

lParam
The value of lParam. Not used. Should be set to 0.

Return Values

This message returns the index or slot of the currently displayed image.

Example


int currently_displayed_image;
currently_displayed_image = SendMessage(himage,ZIM_GETCURRENTIMAGE,0,0);

Note:

This one is pretty self explanitory. Use this message to get the index of the image that is currently being displayed in the ZeeImage image control. This message designed to be used when animating another area of your client area, or other control, such as a button standard control.

Copyright © 2020 by David Hillard