Changeset 782 in dev for branches/egtra/ab5.0/abdev/abdev-impl/Resource
- Timestamp:
- Jan 29, 2011, 3:39:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp
r781 r782 9 9 auto pResource = LockResource(hMem); 10 10 11 intidIcon = LookupIconIdFromDirectoryEx(reinterpret_cast<PBYTE>(pResource), TRUE, cxDesired, cyDesired, load);11 auto idIcon = LookupIconIdFromDirectoryEx(reinterpret_cast<PBYTE>(pResource), TRUE, cxDesired, cyDesired, load); 12 12 auto hrsrcIcon = FindResource(hinst, MAKEINTRESOURCE(idIcon), MAKEINTRESOURCE(RT_ICON)); 13 13 auto hIconMem = LoadResource(hinst, hrsrcIcon); … … 15 15 16 16 return CreateIconFromResourceEx(reinterpret_cast<PBYTE>(pResourceIcon), 17 SizeofResource(hinst, hrsrcIcon), TRUE, 0x00030000, 18 cxDesired, cyDesired, load); 17 SizeofResource(hinst, hrsrcIcon), TRUE, 0x00030000, cxDesired, cyDesired, load); 19 18 } 20 19
Note:
See TracChangeset
for help on using the changeset viewer.