Index: branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp
===================================================================
--- branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp	(revision 791)
+++ branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp	(revision 792)
@@ -134,5 +134,5 @@
 ACCEL AccelFromEntry(ACCELTABLEENTRY const& e)
 {
-	ACCEL t = {e.fFlags & 0x7f, e.wAnsi, e.wId};
+	ACCEL t = {static_cast<BYTE>(e.fFlags & 0x7f), e.wAnsi, e.wId};
 	return t;
 }
@@ -161,4 +161,9 @@
 }
 
+HMENU LoadMenu(HINSTANCE hinst, USHORT id)
+{
+	return LoadMenuIndirect(GetResource(hinst, id, RT_MENU));
+}
+
 }}
 
Index: branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h
===================================================================
--- branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h	(revision 791)
+++ branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h	(revision 792)
@@ -16,4 +16,6 @@
 HACCEL LoadAccelerators(HINSTANCE hinst, USHORT id);
 
+HMENU LoadMenu(HINSTANCE hinst, USHORT id);
+
 struct IconDeleter
 {
Index: branches/egtra/ab5.0/abdev/abdev/SubOperation.cpp
===================================================================
--- branches/egtra/ab5.0/abdev/abdev/SubOperation.cpp	(revision 791)
+++ branches/egtra/ab5.0/abdev/abdev/SubOperation.cpp	(revision 792)
@@ -846,5 +846,5 @@
 
 	//メインメニュー
-	pobj_MainMenu=new CMenuEx(LoadMenu(hResInst,MAKEINTRESOURCE(IDR_MAINMENU)));
+	pobj_MainMenu=new CMenuEx(ActiveBasic::Resource::LoadMenu(hResInst, IDR_MAINMENU));
 
 	pobj_MainMenu->InitOwnerDraw(1);			//オーナー描画の初期化
@@ -958,23 +958,23 @@
 
 	extern HMENU hRebarMenuBase,hRebarMenu;
-	hRebarMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_REBARMENU));
+	hRebarMenuBase = ActiveBasic::Resource::LoadMenu(hResInst, IDR_REBARMENU);
 	hRebarMenu=GetSubMenu(hRebarMenuBase,0);
 
 	extern HMENU hTabMenuBase,hTabMenu,hTabColorMenu;
-	hTabMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_TABMENU));
+	hTabMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_TABMENU);
 	hTabMenu=GetSubMenu(hTabMenuBase,0);
 	hTabColorMenu=GetSubMenu(hTabMenu,0);
 
 	extern HMENU hFileTreeMenuBase;
-	hFileTreeMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_PROJECTVIEW_FILETREEMENU));
+	hFileTreeMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_PROJECTVIEW_FILETREEMENU);
 
 	extern HMENU hProcedureTreeMenuBase;
-	hProcedureTreeMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_PROJECTVIEW_PROCEDURETREEMENU));
+	hProcedureTreeMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_PROJECTVIEW_PROCEDURETREEMENU);
 
 	extern HMENU hMaterialTreeMenuBase;
-	hMaterialTreeMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_PROJECTVIEW_MATERIALTREEMENU));
+	hMaterialTreeMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_PROJECTVIEW_MATERIALTREEMENU);
 
 	extern HMENU hRadMenuBase;
-	hRadMenuBase=LoadMenu(hResInst,MAKEINTRESOURCE(IDR_RADCONTEXTMENU));
+	hRadMenuBase = ActiveBasic::Resource::LoadMenu(hResInst,IDR_RADCONTEXTMENU);
 
 	//クリップボードのデータ形式（RAD用）を新規登録
