API Documentation > CorelDRAW > 2025-v26 > ICUIWarning
ICUIWarning.DoWarningDialog method
Creates a warning message box only if the warning is enabled. Flags are the MB_??? flags from windows, and the return value states which button was clicked.
Syntax:
Function DoWarningDialog(Optional ByVal unFlags As Long, Optional ByVal Text As String) As Long
Parameters:
Name Type Description
unFlags
Long
Text
String