Changeset 302 in dev for trunk/abdev/ProjectEditor/ProjectControl.cpp
- Timestamp:
- Aug 24, 2007, 2:13:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/ProjectEditor/ProjectControl.cpp
r119 r302 277 277 for(i=0;i<ProjectInfo.NumberOfMenu;i++){ 278 278 if(ProjectInfo.pMenuInfo[i].hTreeItem==hTreeItem){ 279 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_INPUTID),hOwner, DlgProject_MenuID_Input,(long)ProjectInfo.pMenuInfo[i].IdName)) break;279 if(!DialogBoxParam(hResInst,MAKEINTRESOURCE(IDD_INPUTID),hOwner,(DLGPROC)DlgProject_MenuID_Input,(long)ProjectInfo.pMenuInfo[i].IdName)) break; 280 280 281 281 //重複チェック … … 437 437 SendMessage(hButton,WM_SETFONT,(long)hStatusFont,0); 438 438 439 OldTabProc=(WNDPROC)GetWindowLong (hProjectViewTab,GWL_WNDPROC);440 SetWindowLong (hProjectViewTab,GWL_WNDPROC,(long)TabProc);439 OldTabProc=(WNDPROC)GetWindowLongPtr(hProjectViewTab,GWLP_WNDPROC); 440 SetWindowLongPtr(hProjectViewTab,GWLP_WNDPROC,(long)TabProc); 441 441 442 442 //タブを設定 … … 460 460 0,0,0,0, 461 461 hProjectViewTab,0,hInst,0); 462 OldProcedureTreeViewProc=(WNDPROC)GetWindowLong (hProcedureTreeView,GWL_WNDPROC);463 SetWindowLong (hProcedureTreeView,GWL_WNDPROC,(long)ProcedureTreeViewProc);462 OldProcedureTreeViewProc=(WNDPROC)GetWindowLongPtr(hProcedureTreeView,GWLP_WNDPROC); 463 SetWindowLongPtr(hProcedureTreeView,GWLP_WNDPROC,(long)ProcedureTreeViewProc); 464 464 //イメージリスト読み込み、設定 465 465 hProcedureTreeViewImageList=ImageList_Create(16,16,ILC_COLOR24|ILC_MASK,8,0); … … 479 479 0,0,0,0, 480 480 hProjectViewTab,0,hInst,0); 481 OldMaterialTreeViewProc=(WNDPROC)GetWindowLong (hMaterialTreeView,GWL_WNDPROC);482 SetWindowLong (hMaterialTreeView,GWL_WNDPROC,(long)MaterialTreeViewProc);481 OldMaterialTreeViewProc=(WNDPROC)GetWindowLongPtr(hMaterialTreeView,GWLP_WNDPROC); 482 SetWindowLongPtr(hMaterialTreeView,GWLP_WNDPROC,(long)MaterialTreeViewProc); 483 483 //イメージリスト読み込み、設定 484 484 hMaterialTreeViewImageList=ImageList_Create(16,16,ILC_COLOR24|ILC_MASK,3,0); … … 502 502 pobj_nv->bClipProjectView=1; 503 503 504 SetWindowLong (hwnd,GWL_EXSTYLE,WS_EX_STATICEDGE);504 SetWindowLongPtr(hwnd,GWL_EXSTYLE,WS_EX_STATICEDGE); 505 505 SetParent(hwnd,hOwner); 506 506 ResizeOwnerWnd(); … … 511 511 pobj_nv->bClipProjectView=0; 512 512 513 SetWindowLong (hwnd,GWL_EXSTYLE,0);513 SetWindowLongPtr(hwnd,GWL_EXSTYLE,0); 514 514 515 515 SetParent(hwnd,hProjectView_ToolWindow);
Note:
See TracChangeset
for help on using the changeset viewer.