Skip to content

CWndObj

CWndObj

CWndObj is a base class for simple controls (based on chart objects) of the Standard Library.

Description

CWndObj class implements base methods of the simple control.

Declaration

class CWndObj : public CWnd

Title

#include <Controls\WndObj.mqh>

Inheritance hierarchy

CObject

CWnd

CWndObj

Direct descendants

: CBmpButton, CButton, CEdit, CLabel, CPanel, CPicture

Class Methods by Groups

Chart events processing
OnEventEvent handler of all chart events
Properties
TextGets/sets the OBJPROP_TEXT property of the chart object
ColorGets/sets the OBJPROP_COLOR property of the chart object
ColorBackgroundGets/sets the OBJPROP_BGCOLOR property of the chart object
ColorBorderGets/sets the OBJPROP_BORDER_COLOR property of the chart object
FontGets/sets the OBJPROP_FONT property of the chart object
FontSizeGets/sets the OBJPROP_FONTSIZE property of the chart object
ZOrderGets/sets the OBJPROP_ZORDER property of the chart object
Chart objects event handlers
OnObjectCreateCHARTEVENT_OBJECT_CREATE event handler
OnObjectChangeCHARTEVENT_OBJECT_CHANGE event handler
OnObjectDeleteCHARTEVENT_OBJECT_DELETE event handler
OnObjectDragCHARTEVENT_OBJECT_DRAG event handler
Properties change event handlers
OnSetText“SetText” event handler
OnSetColor“SetColor” event handler
OnSetColorBackground“SetColorBackground” event handler
OnSetFont“SetFont” event handler
OnSetFontSize“SetFontSize” event handler
OnSetZOrder“SetZOrder” event handler
Internal event handlers
OnDestroy“Destroy” internal event handler
OnChange“Change” internal event handler

Methods inherited from class CWnd

: Create, Destroy, OnMouseEvent, Name, ControlsTotal, Control, ControlFind, Rect, Left, Left, Top, Top, Right, Right, Bottom, Bottom, Width, Width, Height, Height, Size, Size, Size, Move, Move, Shift, Contains, Contains, Alignment, Align, Id, Id, IsEnabled, Enable, Disable, IsVisible, Visible, Show, Hide, IsActive, Activate, Deactivate, StateFlags, StateFlags, StateFlagsSet, StateFlagsReset, PropFlags, PropFlags, PropFlagsSet, PropFlagsReset, MouseX, MouseX, MouseY, MouseY, MouseFlags, MouseFlags, MouseFocusKill, BringToTop

Last updated on