Class СBmpButtonTransparent - MetaTrader 5 Library - MT4/MT5 Resources

This class and examples are for contest organizer experts .
This class allows handling of cursor hovers and freeform button presses.
This button is implemented using the standard OBJ_BITMAP_LABEL purpose. The image should be set to the four button states (normal, hover, pressed, hover pressed). Determine the button shape by analyzing the default state image (normal button). A set of free-shaped areas on the image with non-zero transparency are considered buttons. Button shapes can be as complex as possible. This implementation works correctly for any anchor angle ( OBJPROP_ANGLE ) and for any chart subwindow.
The standard library is required for compilation.
This archive contains button classes and 3 examples:

Attachment download
Source: MQL5 #12638
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •