MQL5 ReferenceStandard LibraryPanels and DialogsCDialogCreateButtonClose CreateOnEventCaptionAddCreateWhiteBorderCreateBackgroundCreateCaptionCreateButtonCloseCreateClientAreaOnClickCaptionOnClickButtonCloseClientAreaVisibleClientAreaLeftClientAreaTopClientAreaRightClientAreaBottomClientAreaWidthClientAreaHeightOnDialogDragStartOnDialogDragProcessOnDialogDragEnd CreateButtonClose Creates dependent control (close button) virtual bool CreateButtonClose() Return Value true - successful, otherwise - false. CreateCaption CreateClientArea