Juan Lang : comdlg32: Initialize file dialog controls before
creating dialog.
Lei Zhang
thestig at google.com
Wed Jun 13 17:17:21 CDT 2007
Hi Juan,
With this patch, the bottom of file dialogs are cut off such that the
file type dropdown and the cancel button can barely be seen.
- Lei
On 6/7/07, Alexandre Julliard <julliard at wine.codeweavers.com> wrote:
> Module: wine
> Branch: master
> Commit: 13f18ee7593364a2a685fed2bdfa814431906f0c
> URL: http://source.winehq.org/git/wine.git/?a=commit;h=13f18ee7593364a2a685fed2bdfa814431906f0c
>
> Author: Juan Lang <juan_lang at yahoo.com>
> Date: Thu Jun 7 12:27:11 2007 -0700
>
> comdlg32: Initialize file dialog controls before creating dialog.
>
> ---
>
> dlls/comdlg32/filedlg.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
> index f63e64f..5409b91 100644
> --- a/dlls/comdlg32/filedlg.c
> +++ b/dlls/comdlg32/filedlg.c
> @@ -1037,11 +1037,11 @@ INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
> so it will be easily accessible through a GetPropA(...) */
> SetPropA(hwnd, FileOpenDlgInfosStr, (HANDLE) fodInfos);
>
> + FILEDLG95_InitControls(hwnd);
> +
> fodInfos->DlgInfos.hwndCustomDlg =
> CreateTemplateDialog((FileOpenDlgInfos *)lParam, hwnd);
>
> - FILEDLG95_InitControls(hwnd);
> -
> if (fodInfos->DlgInfos.hwndCustomDlg)
> {
> RECT rc;
>
>
>
>
More information about the wine-devel
mailing list