MQL5 ReferenceStandard LibraryPanels and DialogsCDialogOnClickCaption CreateOnEventCaptionAddCreateWhiteBorderCreateBackgroundCreateCaptionCreateButtonCloseCreateClientAreaOnClickCaptionOnClickButtonCloseClientAreaVisibleClientAreaLeftClientAreaTopClientAreaRightClientAreaBottomClientAreaWidthClientAreaHeightOnDialogDragStartOnDialogDragProcessOnDialogDragEnd OnClickCaption The virtual handler of the control "ClickCaption" internal event. virtual bool OnClickCaption() Return Value true - successful, otherwise - false. CreateClientArea OnClickButtonClose