Download MetaTrader 5
To add comments, please log in or register
Download documentation as one file. It is easy!
Automated-Trading
Admin
97649
Automated-Trading 2011.03.25 17:35 

Demo_BitmapOffset (OBJPROP_XOFFSET and OBJPROP_YOFFSET):

If you need to show just a part of the image at the moment and hide other, you can use the moving window by specifying the visible area of the image.

This is an example of use of the OBJPROP_XOFFSET and OBJPROP_YOFFSET properties. See video: https://www.mql5.com/en/forum/3509/page1#comment_55145.

This feature will allow you to use the image with a set of several images (like CSS-sprites used in web).

Recommendations:

  • The use of the resources allows to serve all the necessary objects in a single .EX5 file.

Demo_BitmapOffset (OBJPROP_XOFFSET and OBJPROP_YOFFSET)

Author: MetaQuotes


/
To add comments, please log in or register