Skip to content

CDialog

CDialog

CDialog is class of the Dialog complex control.

Description

CDialog class is intended to combine the controls with different functions in the group.

Declaration

class CDialog : public CWndContainer

Title

#include <Controls\Dialog.mqh>

Inheritance hierarchy

CObject

CWnd

CWndContainer

CDialog

Direct descendants

: CAppDialog

Class Methods by Groups

Create
CreateCreates control
Chart event handlers
OnEventEvent handler of all chart events
Properties
CaptionGets/sets the value of the “Caption” property
Add
AddAdds control to the client area
Dependent controls
CreateWhiteBorderCreates dependent control (white border)
CreateBackgroundCreates dependent control (background)
CreateCaptionCreates dependent control (caption)
CreateButtonCloseCreates dependent control (close button)
CreateClientAreaCreates dependent control (client area)
Dependent controls event handlers
OnClickCaption“ClickCaption” internal event handler
OnClickButtonClose“ClickButtonClose” internal event handler
Access to client area properties
ClientAreaVisibleSets a value indicating whether the client area is visible
ClientAreaLeftGets X coordinate of the upper-left corner of the control client area
ClientAreaTopGets Y coordinate of the upper-left corner of the control client area
ClientAreaRightGets X coordinate of the lower-right corner of the control client area
ClientAreaBottomGets Y coordinate of the lower-right corner of the control client area
ClientAreaWidthGets the client area width
ClientAreaHeightGets the client area height
Drag event handlers
OnDialogDragStart“DialogDragStart” event handler (virtual)
OnDialogDragProcess“DialogDragProcess” event handler (virtual)
OnDialogDragEnd“DialogDragEnd” event handler (virtual)

Methods inherited from class CWnd

: 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

Methods inherited from class CWndContainer

: Destroy, OnMouseEvent, ControlsTotal, Control, ControlFind, MouseFocusKill, Add, Add, Delete, Delete, Move, Move, Shift, Id, Enable, Disable, Show, Hide

Last updated on