Mikołaj Zalewski : browseui: Implement PROGDLG_NOMINIMIZE.
Alexandre Julliard
julliard at winehq.org
Fri Feb 15 05:36:07 CST 2008
Module: wine
Branch: master
Commit: cd7e1417b1ae6c025182714c8394e48d7e2f1b53
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cd7e1417b1ae6c025182714c8394e48d7e2f1b53
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Wed Feb 13 15:28:20 2008 +0100
browseui: Implement PROGDLG_NOMINIMIZE.
---
dlls/browseui/progressdlg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/browseui/progressdlg.c b/dlls/browseui/progressdlg.c
index be77edf..aa568e7 100644
--- a/dlls/browseui/progressdlg.c
+++ b/dlls/browseui/progressdlg.c
@@ -179,6 +179,8 @@ static INT_PTR CALLBACK dialog_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l
ShowWindow(GetDlgItem(hwnd, IDCANCEL), SW_HIDE);
if (This->dwFlags & PROGDLG_MARQUEEPROGRESS)
set_progress_marquee(This);
+ if (This->dwFlags & PROGDLG_NOMINIMIZE)
+ SetWindowLongW(hwnd, GWL_STYLE, GetWindowLongW(hwnd, GWL_STYLE) & (~WS_MINIMIZEBOX));
update_dialog(This, 0xffffffff);
This->dwUpdate = 0;
@@ -328,8 +330,6 @@ static HRESULT WINAPI ProgressDialog_StartProgressDialog(IProgressDialog *iface,
FIXME("Flags PROGDLG_AUTOTIME not supported\n");
if (dwFlags & PROGDLG_NOTIME)
FIXME("Flags PROGDLG_NOTIME not supported\n");
- if (dwFlags & PROGDLG_NOMINIMIZE)
- FIXME("Flags PROGDLG_NOMINIMIZE not supported\n");
EnterCriticalSection(&This->cs);
More information about the wine-cvs
mailing list