Download MetaTrader 5

CBmpButton

CBmpButton is class of the simple control based on "Bitmap label" chart object.

Description

CBmpButton is intended for creation of buttons with graphic image.

Declaration

   class CBmpButton : public CWndObj

Title

   #include <Controls\BmpButton.mqh>

Class Methods by Groups

Create

 

Create

Creates control

Properties

 

Border

Gets/sets the "Border" property of the control

BmpNames

Sets the name of bmp files of the control

BmpOffName

Gets/sets the name of bmp file for the OFF state

BmpOnName

Gets/sets the name of bmp file for the ON state

BmpPassiveName

Gets/sets the name of bmp file for the passive state

BmpActiveName

Gets/sets the name of bmp file for the active state

State

 

Pressed

Gets/sets the state of the control

Locking

Gets/sets the "Locking" property of the control

Internal event handlers

 

OnSetZOrder

"SetZOrder" internal event handler

OnCreate

"Create" internal event handler

OnShow

"Show" internal event handler

OnHide

"Hide" internal event handler

OnMove

"Move" internal event handler

OnChange

"Change" internal event handler

OnActivate

"Activate" internal event handler

OnDeactivate

"Deactivate" internal event handler

OnMouseDown

"MouseDown" internal event handler

OnMouseUp

"MouseUp" internal event handler

 


Updated: 2016.06.23