shell32[2/3]: add a confirmation dialog with a "Yes to All" option

Robert Shearman rob at codeweavers.com
Fri Feb 9 10:36:53 CST 2007


Mikołaj Zalewski wrote:
> +SHELL_YESTOALL_MSGBOX DIALOG 200, 100, 280, 90
> +STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
> +CAPTION "Message"
> +FONT 8, "MS Shell Dlg"
> +{
> +    DEFPUSHBUTTON "&Yes", IDYES, 34, 69, 53, 14, WS_GROUP | WS_TABSTOP
> +    PUSHBUTTON "Yes to &all", IDD_YESTOALL, 92, 69, 65, 14, WS_GROUP | WS_TABSTOP
> +    PUSHBUTTON "&No", IDNO, 162, 69, 53, 14, WS_GROUP | WS_TABSTOP
> +    PUSHBUTTON "&Cancel", IDCANCEL, 220, 69, 53, 14, WS_GROUP | WS_TABSTOP
> +    ICON "", IDD_ICON, 10, 10, 16, 16
> +    LTEXT "", IDD_MESSAGE, 40, 10, 238, 52, 0
> +}
> +
>   

The usual convention is that IDD_* are used for IDs of dialogs and IDC_* 
are used for IDs of controls.

-- 
Rob Shearman




More information about the wine-devel mailing list