Changeset 81 in dev for ProjectEditor/ProjectControl.cpp
- Timestamp:
- Mar 26, 2007, 7:33:18 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/ProjectControl.cpp
r24 r81 129 129 for(i=0;i<pobj_ClassTreeView->NumberOfProcedures;i++){ 130 130 if(pobj_ClassTreeView->pProcInfo[i].hTreeItem==hTreeItem){ 131 lstrcpy(temporary, 132 ProjectInfo.pobj_DBFileInfo->ppobj_FileInfo[pobj_ClassTreeView->pProcInfo[i].FileNum]->m_path); 133 GetFullPath(temporary,ProjectInfo.dir); 134 hChild=OpenFileWithExtension(temporary); 131 132 if( ProjectInfo.name[0] ){ 133 // 対象ファイルを開く 134 lstrcpy(temporary, 135 ProjectInfo.pobj_DBFileInfo->ppobj_FileInfo[pobj_ClassTreeView->pProcInfo[i].FileNum]->m_path); 136 GetFullPath(temporary,ProjectInfo.dir); 137 hChild=OpenFileWithExtension(temporary); 138 } 139 else{ 140 hChild = GetWindow(hClient,GW_CHILD); 141 } 135 142 136 143 //プロシージャの行を選択する … … 149 156 } 150 157 } 158 151 159 break; 152 160 … … 537 545 538 546 hOldFont=(HFONT)SelectObject(hdc,hStatusFont); 539 sprintf(temporary,"%s \'%s\'",STRING_PROJECT,ProjectInfo.name); 547 if( ProjectInfo.name[0] ){ 548 sprintf(temporary,"%s \'%s\'",STRING_PROJECT,ProjectInfo.name); 549 } 550 else{ 551 lstrcpy( temporary, "現在のドキュメント" ); 552 } 540 553 541 554 GetTextExtentPoint32(hdc,temporary,lstrlen(temporary),&size);
Note:
See TracChangeset
for help on using the changeset viewer.