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

LoadMenuの代替関数を実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/abdev/SubOperation.cpp

    r786 r792  
    846846
    847847    //メインメニュー
    848     pobj_MainMenu=new CMenuEx(LoadMenu(hResInst,MAKEINTRESOURCE(IDR_MAINMENU)));
     848    pobj_MainMenu=new CMenuEx(ActiveBasic::Resource::LoadMenu(hResInst, IDR_MAINMENU));
    849849
    850850    pobj_MainMenu->InitOwnerDraw(1);            //オーナー描画の初期化
     
    958958
    959959    extern HMENU hRebarMenuBase,hRebarMenu;
    960     hRebarMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_REBARMENU));
     960    hRebarMenuBase = ActiveBasic::Resource::LoadMenu(hResInst, IDR_REBARMENU);
    961961    hRebarMenu=GetSubMenu(hRebarMenuBase,0);
    962962
    963963    extern HMENU hTabMenuBase,hTabMenu,hTabColorMenu;
    964     hTabMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_TABMENU));
     964    hTabMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_TABMENU);
    965965    hTabMenu=GetSubMenu(hTabMenuBase,0);
    966966    hTabColorMenu=GetSubMenu(hTabMenu,0);
    967967
    968968    extern HMENU hFileTreeMenuBase;
    969     hFileTreeMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_PROJECTVIEW_FILETREEMENU));
     969    hFileTreeMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_PROJECTVIEW_FILETREEMENU);
    970970
    971971    extern HMENU hProcedureTreeMenuBase;
    972     hProcedureTreeMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_PROJECTVIEW_PROCEDURETREEMENU));
     972    hProcedureTreeMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_PROJECTVIEW_PROCEDURETREEMENU);
    973973
    974974    extern HMENU hMaterialTreeMenuBase;
    975     hMaterialTreeMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_PROJECTVIEW_MATERIALTREEMENU));
     975    hMaterialTreeMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_PROJECTVIEW_MATERIALTREEMENU);
    976976
    977977    extern HMENU hRadMenuBase;
    978     hRadMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_RADCONTEXTMENU));
     978    hRadMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_RADCONTEXTMENU);
    979979
    980980    //クリップボードのデータ形式(RAD用)を新規登録
Note: See TracChangeset for help on using the changeset viewer.