December 21, 2024

Dynamic Windows Function [dw_vmessagebox]

Syntax

int dw_vmessagebox(char *title, int flags, char *format, va_list args)

Parameters

char *title: The title of the message box.
int flags: flags to indicate buttons and icon such as (DW_MB_OK | DW_MB_WARNING)
char *format: printf style format string.
va_list args: The variable arguments list of arguments.

Returns

int DW_MB_RETURN_YES, DW_MB_RETURN_NO, DW_MB_RETURN_OK, or DW_MB_RETURN_CANCEL based on flags and user response.

Description

This API is not intended for general use, it is used internally for the dw_messagebox() function. It is also exported for use in language bindings including the C++ bindings introduced in version 3.3.

Remarks

This API was introduced in version 3.3.