Changeset 794 in dev for branches/egtra/ab5.0/abdev/abdev-impl
- Timestamp:
- Jan 30, 2011, 10:45:09 PM (14 years ago)
- Location:
- branches/egtra/ab5.0/abdev/abdev-impl/Resource
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp
r793 r794 170 170 } 171 171 172 INT_PTR DialogBoxAlt(HINSTANCE hinst, USHORT id, HWND hwndParent, DLGPROC dialogFunc, LPARAM initParam) 173 { 174 auto dlgTemplate = static_cast<DLGTEMPLATE*>(GetResource(hinst, id, RT_DIALOG)); 175 return ::DialogBoxIndirectParam(hinst, dlgTemplate, hwndParent, dialogFunc, initParam); 176 } 177 178 HWND CreateDialogAlt(HINSTANCE hinst, USHORT id, HWND hwndParent, DLGPROC dialogFunc, LPARAM initParam) 179 { 180 auto dlgTemplate = static_cast<DLGTEMPLATE*>(GetResource(hinst, id, RT_DIALOG)); 181 return ::CreateDialogIndirectParam(hinst, dlgTemplate, hwndParent, dialogFunc, initParam); 182 } 183 172 184 }} 173 -
branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h
r793 r794 18 18 HMENU LoadMenuAlt(HINSTANCE hinst, USHORT id); 19 19 20 INT_PTR DialogBoxAlt(HINSTANCE hinst, USHORT id, HWND hwndParent, DLGPROC dialogFunc, LPARAM initParam = 0); 21 HWND CreateDialogAlt(HINSTANCE hinst, USHORT id, HWND hwndParent, DLGPROC dialogFunc, LPARAM initParam = 0); 22 20 23 struct IconDeleter 21 24 {
Note:
See TracChangeset
for help on using the changeset viewer.