void EnableModeless(
BOOL fEnable = TRUE);
Parameter
fEnable
TRUE to enable host’s UI components. FALSE to disable them.
Comments
Call before displaying modal dialogs to disable the host’s UI components. EnableModeless(FALSE) should be called before invoking a modal dialog, and EnableModeless(TRUE) should be called after the modal dialog is dismissed.