Changeset 4825 for trunk/src/user32/windlg.cpp
- Timestamp:
- Dec 17, 2000, 4:04:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/windlg.cpp
r4421 r4825 1 /* $Id: windlg.cpp,v 1.1 8 2000-10-04 19:35:31sandervl Exp $ */1 /* $Id: windlg.cpp,v 1.19 2000-12-17 15:04:13 sandervl Exp $ */ 2 2 /* 3 3 * Win32 dialog apis for OS/2 … … 41 41 HANDLE hrsrc = FindResourceA( hInst, lpszTemplate, RT_DIALOGA ); 42 42 43 if (!hrsrc) 44 return 0; 43 if (!hrsrc) { 44 dprintf(("WARNING: CreateDialogParamA: Dialog %x not found!!", lpszTemplate)); 45 return 0; 46 } 45 47 46 48 return CreateDialogIndirectParamA(hInst, (LPCDLGTEMPLATEA)LoadResource(hInst, hrsrc), … … 55 57 HANDLE hrsrc = FindResourceW( hInst, lpszTemplate, RT_DIALOGW ); 56 58 57 if (!hrsrc) 58 return 0; 59 59 if (!hrsrc) { 60 dprintf(("WARNING: CreateDialogParamW: Dialog %x not found!!", lpszTemplate)); 61 return 0; 62 } 60 63 return CreateDialogIndirectParamW(hInst, (LPCDLGTEMPLATEW)LoadResource(hInst, hrsrc), 61 64 hwndOwner, dlgproc, lParamInit);
Note:
See TracChangeset
for help on using the changeset viewer.