Hello, Changelog: Post correct notification code on WM_CLOSE for dialogs. --- cvs/hq/wine/windows/defdlg.c Sat Dec 07 07:29:08 2002 +++ wine/windows/defdlg.c Mon Jan 13 13:02:42 2003 @@ -255,7 +255,7 @@ return dlgInfo ? (LRESULT)dlgInfo->hUserFont : 0; case WM_CLOSE: - PostMessageA( hwnd, WM_COMMAND, IDCANCEL, + PostMessageA( hwnd, WM_COMMAND, MAKEWPARAM(IDCANCEL, BN_CLICKED), (LPARAM)GetDlgItem( hwnd, IDCANCEL ) ); return 0;