- Timestamp:
- Jul 23, 2001, 9:16:41 PM (24 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windlg.cpp
r5935 r6392 1 /* $Id: windlg.cpp,v 1.2 3 2001-06-09 14:50:25sandervl Exp $ */1 /* $Id: windlg.cpp,v 1.24 2001-07-23 19:16:41 sandervl Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 68 68 HWND WIN32API CreateDialogIndirectParamA(HINSTANCE hInst, 69 69 LPCDLGTEMPLATEA dlgtemplate, 70 HWND hwnd Parent, DLGPROC dlgproc,70 HWND hwndOwner, DLGPROC dlgproc, 71 71 LPARAM lParamInit) 72 72 { 73 73 Win32Dialog *dialog; 74 74 75 dprintf(("CreateDialogIndirectParamA: %x %x %x %x %x", hInst, dlgtemplate, hwnd Parent, dlgproc, lParamInit));75 dprintf(("CreateDialogIndirectParamA: %x %x %x %x %x", hInst, dlgtemplate, hwndOwner, dlgproc, lParamInit)); 76 76 77 77 if (!dlgtemplate) return 0; 78 78 79 dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwnd Parent, dlgproc, lParamInit, FALSE);79 dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwndOwner, dlgproc, lParamInit, FALSE); 80 80 81 81 if(dialog == NULL) … … 99 99 HWND WIN32API CreateDialogIndirectParamW(HINSTANCE hInst, 100 100 LPCDLGTEMPLATEW dlgtemplate, 101 HWND hwnd Parent, DLGPROC dlgproc,101 HWND hwndOwner, DLGPROC dlgproc, 102 102 LPARAM lParamInit) 103 103 { 104 104 Win32Dialog *dialog; 105 105 106 dprintf(("CreateDialogIndirectParamW: %x %x %x %x %x", hInst, dlgtemplate, hwnd Parent, dlgproc, lParamInit));106 dprintf(("CreateDialogIndirectParamW: %x %x %x %x %x", hInst, dlgtemplate, hwndOwner, dlgproc, lParamInit)); 107 107 108 108 if (!dlgtemplate) return 0; 109 109 110 dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwnd Parent, dlgproc, lParamInit, TRUE);110 dialog = new Win32Dialog(hInst, (LPCSTR)dlgtemplate, hwndOwner, dlgproc, lParamInit, TRUE); 111 111 112 112 if(dialog == NULL) … … 130 130 INT WIN32API DialogBoxIndirectParamA(HINSTANCE hInst, 131 131 LPCDLGTEMPLATEA dlgtemplate, 132 HWND hwnd Parent, DLGPROC dlgproc,132 HWND hwndOwner, DLGPROC dlgproc, 133 133 LPARAM lParamInit) 134 134 { 135 135 INT result; 136 HWND hwnd = CreateDialogIndirectParamA(hInst, dlgtemplate, hwnd Parent, dlgproc,136 HWND hwnd = CreateDialogIndirectParamA(hInst, dlgtemplate, hwndOwner, dlgproc, 137 137 lParamInit); 138 138 if (hwnd) … … 156 156 //****************************************************************************** 157 157 INT WIN32API DialogBoxIndirectParamW(HINSTANCE hInst, LPCDLGTEMPLATEW dlgtemplate, 158 HWND hwnd Parent, DLGPROC dlgproc,158 HWND hwndOwner, DLGPROC dlgproc, 159 159 LPARAM lParamInit) 160 160 { 161 161 INT result; 162 HWND hwnd = CreateDialogIndirectParamW(hInst, dlgtemplate, hwnd Parent, dlgproc,162 HWND hwnd = CreateDialogIndirectParamW(hInst, dlgtemplate, hwndOwner, dlgproc, 163 163 lParamInit); 164 164 if (hwnd) -
trunk/src/user32/window.cpp
r5977 r6392 1 /* $Id: window.cpp,v 1.10 0 2001-06-12 18:25:11 sandervl Exp $ */1 /* $Id: window.cpp,v 1.101 2001-07-23 19:16:41 sandervl Exp $ */ 2 2 /* 3 3 * Win32 window apis for OS/2 … … 741 741 dprintf(("IsWindowVisible %x returned FALSE (parent %x invisible)", hwnd, hwndParent)); 742 742 return FALSE; 743 } 744 if(!(dwStyle & WS_CHILD)) { 745 break; //GetParent can also return the owner 743 746 } 744 747 hwndParent = GetParent(hwndParent);
Note:
See TracChangeset
for help on using the changeset viewer.