Skip to content

CWndContainer

CWndContainer

CWndContainer is a base class for a complex control (containing dependent controls) of the Standard library.

Description

CWndContainer class implements base methods of the complex control.

Declaration

class CWndContainer : public CWnd

Title

#include <Controls\WndContainer.mqh>

Inheritance hierarchy

CObject

CWnd

CWndContainer

Direct descendants

: CCheckBox, CComboBox, CDateDropList, CDatePicker, CDialog, CRadioButton, CScroll, CSpinEdit, CWndClient

Class Methods by Groups

Destroy
DestroyDestroys all the container controls
Chart event handlers
OnEventEvent handler of all chart events
OnMouseEventThe CHARTEVENT_MOUSE_MOVE event handler
Access to container
ControlsTotalGets the number of controls in the container
ControlGets control by index
ControlFindGets control by ID
Add/Delete
AddAdds control to a group (container)
DeleteDeletes control from a group (container)
Geometry
MovePerforms a absolute displacement of an element group
ShiftPerforms a relative displacement of an element group
Identification
IdSets the ID for all controls of the container
State
EnableEnables all controls of the container
DisableDisables all controls of the container
ShowShows all controls of the container
HideHides all controls of the container
Mouse operations
MouseFocusKillKills mouse focus
File operations
SaveSaves container information to file
LoadLoads container information from file
Internal event handlers
OnResize“Resize” event handler
OnActivate“Activate” event handler
OnDeactivate“Deactivate” event handler

Methods inherited from class CWnd

: Create, Name, ControlsTotal, Control, Rect, Left, Left, Top, Top, Right, Right, Bottom, Bottom, Width, Width, Height, Height, Size, Size, Size, Contains, Contains, Alignment, Align, Id, IsEnabled, IsVisible, Visible, IsActive, Activate, Deactivate, StateFlags, StateFlags, StateFlagsSet, StateFlagsReset, PropFlags, PropFlags, PropFlagsSet, PropFlagsReset, MouseX, MouseX, MouseY, MouseY, MouseFlags, MouseFlags, MouseFocusKill, BringToTop

Last updated on