March 29, 2024

Dynamic Windows Function [dw_messagebox]

Syntax

int dw_messagebox(char *title, int flags, char *format, ...)

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.
...: Additional variables for use in the format.

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

Displays a Message Box with given text and title.