Changeset 828 in dev for trunk/ab5.0/abdev/abdev/ProjectControl.cpp
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/abdev/ProjectControl.cpp
r705 r828 42 42 LRESULT CALLBACK TabProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 43 43 extern HANDLE hHeap; 44 extern LPSTR DefFileFilter;44 extern const LPCSTR DefFileFilter; 45 45 int i,i2,WndNum; 46 46 char str[MAX_PATH],temporary[MAX_PATH]; … … 281 281 for(i=0;i<projectInfo.NumberOfMenu;i++){ 282 282 if(projectInfo.pMenuInfo[i].hTreeItem==hTreeItem){ 283 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_INPUTID),hOwner,(DLGPROC)DlgProject_MenuID_Input,(long)projectInfo.pMenuInfo[i].IdName)) break; 283 if (!ActiveBasic::Resource::DialogBoxAlt(hResInst,IDD_INPUTID, hOwner, DlgProject_MenuID_Input, reinterpret_cast<LPARAM>(projectInfo.pMenuInfo[i].IdName))) 284 { 285 break; 286 } 284 287 285 288 //重複チェック … … 466 469 //イメージリスト読み込み、設定 467 470 hProcedureTreeViewImageList=ImageList_Create(16,16,ILC_COLOR24|ILC_MASK,8,0); 468 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FOLDER_CLOSE)));469 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FOLDER_OPEN)));470 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_PROCEDURE)));471 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_PROGRAM_FOLDER)));472 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_MEMBER_PUBLIC_VARIABLE)));473 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_MEMBER_PUBLIC_FUNCTION)));474 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_MEMBER_PRIVATE_VARIABLE)));475 ImageList_AddIcon(hProcedureTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_MEMBER_PRIVATE_FUNCTION)));471 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FOLDER_CLOSE)); 472 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FOLDER_OPEN)); 473 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_PROCEDURE)); 474 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_PROGRAM_FOLDER)); 475 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_MEMBER_PUBLIC_VARIABLE)); 476 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_MEMBER_PUBLIC_FUNCTION)); 477 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_MEMBER_PRIVATE_VARIABLE)); 478 ImageList_AddIcon(hProcedureTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_MEMBER_PRIVATE_FUNCTION)); 476 479 TreeView_SetImageList(hProcedureTreeView,hProcedureTreeViewImageList,TVSIL_NORMAL); 477 480 … … 485 488 //イメージリスト読み込み、設定 486 489 hMaterialTreeViewImageList=ImageList_Create(16,16,ILC_COLOR24|ILC_MASK,3,0); 487 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FOLDER_CLOSE)));488 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FOLDER_OPEN)));489 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_WINDOW)));490 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_MENU)));491 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FILE_ICON)));492 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FILE_BMP)));493 ImageList_AddIcon(hMaterialTreeViewImageList, LoadIcon(hResInst,MAKEINTRESOURCE(IDI_FILE_CURSOR)));490 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FOLDER_CLOSE)); 491 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FOLDER_OPEN)); 492 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_WINDOW)); 493 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_MENU)); 494 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FILE_ICON)); 495 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FILE_BMP)); 496 ImageList_AddIcon(hMaterialTreeViewImageList, ActiveBasic::Resource::LoadIconAlt(hResInst, IDI_FILE_CURSOR)); 494 497 TreeView_SetImageList(hMaterialTreeView,hMaterialTreeViewImageList,TVSIL_NORMAL); 495 498
Note:
See TracChangeset
for help on using the changeset viewer.