API Documentation > CorelDRAW > 2025-v26
ICUIWarning interface
ICUIWarning interface
Syntax:
Interface ICUIWarning
Properties:
Name Description
Description A description of the Warning, localized as Warnings/{ID}
Enabled Disabled Warnings are not shown to users
ID A unique ID (ideally a guid)
Text The text the user is shown when the warning occurs, localized as Warnings/{ID}/text
Title The title of the warning dialog when the warning occurs, localized as Warnings/{ID}/title
Methods:
Name Description
DoWarningDialog 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.