Ignore:
Timestamp:
Jan 30, 2011, 6:15:50 PM (14 years ago)
Author:
イグトランス (egtra)
Message:

LoadMenuの代替関数を実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp

    r791 r792  
    134134ACCEL AccelFromEntry(ACCELTABLEENTRY const& e)
    135135{
    136     ACCEL t = {e.fFlags & 0x7f, e.wAnsi, e.wId};
     136    ACCEL t = {static_cast<BYTE>(e.fFlags & 0x7f), e.wAnsi, e.wId};
    137137    return t;
    138138}
     
    161161}
    162162
     163HMENU LoadMenu(HINSTANCE hinst, USHORT id)
     164{
     165    return LoadMenuIndirect(GetResource(hinst, id, RT_MENU));
     166}
     167
    163168}}
    164169
Note: See TracChangeset for help on using the changeset viewer.