Closes the dialog
[C++]
void EndDialog(
BOOL bResult
);
The result code which will be returned by Show().
This function can be called from event handlers in order
to close the dialog.
If called from any other place, it has no effect.
Header: xldialog.h