MQDialog class

(new in Rev4.00)

MQDialog class manages a dialog. It inherits MQWidgetBase - MQWindowBase class.

Please refer the inherited class about member functions declared in the inherited class.

Class
MQDialog Constructor
~MQDialog Destructor
Static functions
Execute Show a dialog
Close Close a dialog

MQDialog::MQDialog();

MQDialog::MQDialog(int id);

MQDialog::MQDialog(MQWindowBase& parent);

id
A widget id created outside the plug-in
parent
A parent window

It is a constructor.


virtual MQDialog::~MQDialog();

This method is a destructor. It is defined as a virtual function.


MQDialog::DIALOG_RESULT MQDialog::Execute();

Return value
A result value

It shows a dialog.

A procedure does not return until closing the dialog. A result value is returned when a dialog is closed.


void MQDialog::Close(DIALOG_RESULT code = DIALOG_NONE);

code
A return value

It closes a dialog.

The specified value becomes a return value for Execute().