shell32: Use Yes/No instead of OK/Cancel in confirm dialogs.
This commit is contained in:
parent
083bb7e9d1
commit
961881836e
|
@ -151,7 +151,7 @@ BOOL SHELL_ConfirmDialogW(HWND hWnd, int nKindOfDialog, LPCWSTR szDir)
|
||||||
params.lpszText = szBuffer;
|
params.lpszText = szBuffer;
|
||||||
params.lpszCaption = szCaption;
|
params.lpszCaption = szCaption;
|
||||||
params.lpszIcon = (LPWSTR)MAKEINTRESOURCE(ids.icon_resource_id);
|
params.lpszIcon = (LPWSTR)MAKEINTRESOURCE(ids.icon_resource_id);
|
||||||
params.dwStyle = MB_OKCANCEL | MB_USERICON;
|
params.dwStyle = MB_YESNO | MB_USERICON;
|
||||||
|
|
||||||
return (IDOK == MessageBoxIndirectW(¶ms));
|
return (IDOK == MessageBoxIndirectW(¶ms));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue