Changeset 792 in dev for branches/egtra/ab5.0/abdev/abdev-impl/Resource
- Timestamp:
- Jan 30, 2011, 6:15:50 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
r791 r792 134 134 ACCEL AccelFromEntry(ACCELTABLEENTRY const& e) 135 135 { 136 ACCEL t = { e.fFlags & 0x7f, e.wAnsi, e.wId};136 ACCEL t = {static_cast<BYTE>(e.fFlags & 0x7f), e.wAnsi, e.wId}; 137 137 return t; 138 138 } … … 161 161 } 162 162 163 HMENU LoadMenu(HINSTANCE hinst, USHORT id) 164 { 165 return LoadMenuIndirect(GetResource(hinst, id, RT_MENU)); 166 } 167 163 168 }} 164 169 -
branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h
r791 r792 16 16 HACCEL LoadAccelerators(HINSTANCE hinst, USHORT id); 17 17 18 HMENU LoadMenu(HINSTANCE hinst, USHORT id); 19 18 20 struct IconDeleter 19 21 {
Note:
See TracChangeset
for help on using the changeset viewer.