Ignore:
Timestamp:
Jul 23, 2001, 9:16:41 PM (24 years ago)
Author:
sandervl
Message:

IsWindowVisible bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/windlg.cpp

    r5935 r6392  
    1 /* $Id: windlg.cpp,v 1.23 2001-06-09 14:50:25 sandervl Exp $ */
     1/* $Id: windlg.cpp,v 1.24 2001-07-23 19:16:41 sandervl Exp $ */
    22/*
    33 * Win32 dialog apis for OS/2
     
    6868HWND WIN32API CreateDialogIndirectParamA(HINSTANCE hInst,
    6969                         LPCDLGTEMPLATEA dlgtemplate,
    70                          HWND hwndParent, DLGPROC dlgproc,
     70                         HWND hwndOwner, DLGPROC dlgproc,
    7171                         LPARAM lParamInit)
    7272{
    7373 Win32Dialog *dialog;
    7474
    75     dprintf(("CreateDialogIndirectParamA: %x %x %x %x %x", hInst, dlgtemplate, hwndParent, dlgproc, lParamInit));
     75    dprintf(("CreateDialogIndirectParamA: %x %x %x %x %x", hInst, dlgtemplate, hwndOwner, dlgproc, lParamInit));
    7676
    7777    if (!dlgtemplate) return 0;
    7878
    79     dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwndParent, dlgproc, lParamInit, FALSE);
     79    dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwndOwner, dlgproc, lParamInit, FALSE);
    8080
    8181    if(dialog == NULL)
     
    9999HWND WIN32API CreateDialogIndirectParamW(HINSTANCE hInst,
    100100                         LPCDLGTEMPLATEW dlgtemplate,
    101                          HWND hwndParent, DLGPROC dlgproc,
     101                         HWND hwndOwner, DLGPROC dlgproc,
    102102                         LPARAM lParamInit)
    103103{
    104104 Win32Dialog *dialog;
    105105
    106     dprintf(("CreateDialogIndirectParamW: %x %x %x %x %x", hInst, dlgtemplate, hwndParent, dlgproc, lParamInit));
     106    dprintf(("CreateDialogIndirectParamW: %x %x %x %x %x", hInst, dlgtemplate, hwndOwner, dlgproc, lParamInit));
    107107
    108108    if (!dlgtemplate) return 0;
    109109
    110     dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwndParent, dlgproc, lParamInit, TRUE);
     110    dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwndOwner, dlgproc, lParamInit, TRUE);
    111111
    112112    if(dialog == NULL)
     
    130130INT  WIN32API DialogBoxIndirectParamA(HINSTANCE hInst,
    131131                      LPCDLGTEMPLATEA dlgtemplate,
    132                       HWND hwndParent, DLGPROC dlgproc,
     132                      HWND hwndOwner, DLGPROC dlgproc,
    133133                      LPARAM lParamInit)
    134134{
    135135    INT result;
    136     HWND hwnd = CreateDialogIndirectParamA(hInst, dlgtemplate, hwndParent, dlgproc,
     136    HWND hwnd = CreateDialogIndirectParamA(hInst, dlgtemplate, hwndOwner, dlgproc,
    137137                                           lParamInit);
    138138    if (hwnd)
     
    156156//******************************************************************************
    157157INT  WIN32API DialogBoxIndirectParamW(HINSTANCE hInst, LPCDLGTEMPLATEW dlgtemplate,
    158                                       HWND hwndParent, DLGPROC dlgproc,
     158                                      HWND hwndOwner, DLGPROC dlgproc,
    159159                                      LPARAM lParamInit)
    160160{
    161161    INT result;
    162     HWND hwnd = CreateDialogIndirectParamW(hInst, dlgtemplate, hwndParent, dlgproc,
     162    HWND hwnd = CreateDialogIndirectParamW(hInst, dlgtemplate, hwndOwner, dlgproc,
    163163                                           lParamInit);
    164164    if (hwnd)
Note: See TracChangeset for help on using the changeset viewer.