Skip to content

CWndClient

CWndClient

CWndClient is a class of the “Client area” complex control (with dependent controls). It is a base class for creation of scroll bars area.

Description

CWndClient implements the functionality for creation of client area with scroll bars.

Declaration

class CWndClient : public CWndContainer

Title

#include <Controls\WndClient.mqh>

Inheritance hierarchy

CObject

CWnd

CWndContainer

CWndClient

Direct descendants

: CCheckGroup, CListView, CRadioGroup

Class Methods by Groups

Create
CreateCreates control
Chart event handler
OnEventEvent handler of all chart events
Properties
ColorBackgroundSets background color
ColorBorderSets border color
BorderTypeSets border type
Settings
VScrolledGets/sets the flag indicating that vertical scroll bar is used
HScrolledGets/sets the flag indicating that horizontal scroll bar is used
Dependent controls
CreateBackCreates background for scroll bar
CreateScrollVCreates vertical scroll bar
CreateScrollHCreates horizontal scroll bar
Internal event handlers
OnResize“Resize” internal event handler
Dependent controls event handlers
OnVScrollShow“Show” internal event handler (virtual) of VScroll dependent control
OnVScrollHide“Hide” internal event handler (virtual) of VScroll dependent control
OnHScrollShow“Show” internal event handler (virtual) of HScroll dependent control
OnHScrollHide“Hide” internal event handler (virtual) of HScroll dependent control
OnScrollLineDown“ScrollLineDown” internal event handler (virtual) of VScroll dependent control
OnScrollLineUp“ScrollLineUp” internal event handler (virtual) of VScroll dependent control
OnScrollLineLeft“ScrollLineLeft” internal event handler (virtual) of HScroll dependent control
OnScrollLineRight“ScrollLineRight” internal event handler (virtual) of HScroll dependent control
Resize
ReboundSets new parameters of the control using CRect class coordinates

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, Enable, Disable, Hide, Save, Load

Last updated on