Share

AdUiAlertDialog

C++

int ADUI_PORT AdUiAlertDialog(
    LPCTSTR captionText, 
    LPCTSTR msg0Text, 
    LPCTSTR button0Text, 
    LPCTSTR button1Text, 
    UINT defButton = 0
);

File

adui.h

Description

Include file

adui.h

This function shows an alert type dialog with three buttons. The defButton parameter indicates which button is the default (0 = primary, 1 = secondary, 2 = Cancel). Returns 0-based button index, or -1 on CANCEL. Button 2 is always the CANCEL button.

Parameters

Parameters Description
captionText Text to display on the dialog's caption bar
msg0Text Text to display in the dialog
button0Text Text for the primary button
button1Text Text for the secondary button
defButton Indicates which button is the default

Was this information helpful?