Changeset 629 in dev for trunk/ab5.0/abdev/abdev/WindowControl.cpp
- Timestamp:
- Jun 2, 2008, 11:50:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/WindowControl.cpp
r625 r629 72 72 73 73 for(i3=0;;i3++){ 74 if(MdiInfo[WndNum] .MdiRadInfo->SelectingItem[i3]==-1) break;74 if(MdiInfo[WndNum]->MdiRadInfo->SelectingItem[i3]==-1) break; 75 75 } 76 76 … … 85 85 86 86 for(i3--;i3>=0;i3--){ 87 ActiveBasic::PM::ChildWindowInfo *pChildInfo = projectInfo.windowInfos[WndInfoNum]->childWindowInfos[MdiInfo[WndNum] .MdiRadInfo->SelectingItem[i3]];87 ActiveBasic::PM::ChildWindowInfo *pChildInfo = projectInfo.windowInfos[WndInfoNum]->childWindowInfos[MdiInfo[WndNum]->MdiRadInfo->SelectingItem[i3]]; 88 88 89 89 MemSize+=pChildInfo->GetName().size()+1+ … … 145 145 ActiveBasic::PM::ChildWindowInfo ChildInfo; 146 146 147 for(i2=1;i2<MAX_RAD_SELITEM;i2++) MdiInfo[WndNum] .MdiRadInfo->SelectingItem[i2]=-1;148 149 WndInfoNum=GetWndInfoNum(MdiInfo[WndNum] .path);147 for(i2=1;i2<MAX_RAD_SELITEM;i2++) MdiInfo[WndNum]->MdiRadInfo->SelectingItem[i2]=-1; 148 149 WndInfoNum=GetWndInfoNum(MdiInfo[WndNum]->path); 150 150 pByte=(BYTE *)GlobalLock(hGlobal); 151 151 i3=*((int *)pByte); … … 184 184 ChildInfo.pos.y+=10; 185 185 186 MdiInfo[WndNum] .MdiRadInfo->SelectingItem[i3]=InsertDlgItem(WndNum,186 MdiInfo[WndNum]->MdiRadInfo->SelectingItem[i3]=InsertDlgItem(WndNum, 187 187 WndInfoNum, 188 188 -1, … … 2298 2298 //ウィンドウが開かれている場合は閉じる 2299 2299 for(i=0;i<MdiInfo.size();i++){ 2300 if(MdiInfo[i] .hwnd&&lstrcmpi(pWindowInfo->GetName().c_str(),MdiInfo[i].path.c_str())==0){2301 SendMessage(MdiInfo[i] .hwnd,WM_CLOSE,0,0);2300 if(MdiInfo[i]->hwnd&&lstrcmpi(pWindowInfo->GetName().c_str(),MdiInfo[i]->path.c_str())==0){ 2301 SendMessage(MdiInfo[i]->hwnd,WM_CLOSE,0,0); 2302 2302 break; 2303 2303 }
Note:
See TracChangeset
for help on using the changeset viewer.