Changeset 24 in dev for ProjectEditor/WebSearch.cpp
- Timestamp:
- Dec 30, 2006, 10:18:01 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/WebSearch.cpp
r3 r24 321 321 iWindowWidth=size.cx+20; 322 322 323 if(MdiInfo[WndNum].p mti==0) return;324 hTabWnd=(HWND)SendMessage(MdiInfo[WndNum].p mti->hEdit,WM_SEARCH_TAB_CREATE,(WPARAM)WndNum,(LPARAM)this);323 if(MdiInfo[WndNum].pMdiTextEdit==0) return; 324 hTabWnd=(HWND)SendMessage(MdiInfo[WndNum].pMdiTextEdit->hEdit,WM_SEARCH_TAB_CREATE,(WPARAM)WndNum,(LPARAM)this); 325 325 } 326 326 COneTab::~COneTab(){ … … 333 333 } 334 334 335 if(MdiInfo[m_WndNum].p mti)336 SendMessage(MdiInfo[m_WndNum].p mti->hEdit,WM_SEARCH_TAB_CLOSE,0,(LPARAM)hTabWnd);335 if(MdiInfo[m_WndNum].pMdiTextEdit) 336 SendMessage(MdiInfo[m_WndNum].pMdiTextEdit->hEdit,WM_SEARCH_TAB_CLOSE,0,(LPARAM)hTabWnd); 337 337 } 338 338 … … 483 483 COneTab *pobj_temp_OneTab; 484 484 pobj_temp_OneTab=new COneTab(WndNum,lpszSearchText); 485 if(MdiInfo[WndNum].p mti==0){485 if(MdiInfo[WndNum].pMdiTextEdit==0){ 486 486 delete pobj_temp_OneTab; 487 487 return; … … 577 577 goto exit; 578 578 } 579 if(MdiInfo[WndNum].p mti==0){579 if(MdiInfo[WndNum].pMdiTextEdit==0){ 580 580 goto exit; 581 581 } 582 582 583 583 //重複チェック 584 if(MdiInfo[WndNum].p mti->pobj_WebResult->DuplicateCheck(str)){584 if(MdiInfo[WndNum].pMdiTextEdit->pobj_WebResult->DuplicateCheck(str)){ 585 585 goto exit; 586 586 } … … 589 589 590 590 extern MDIINFO MdiInfo[MAX_WNDNUM]; 591 MdiInfo[WndNum].p mti->pobj_WebResult->add(WndNum,str);591 MdiInfo[WndNum].pMdiTextEdit->pobj_WebResult->add(WndNum,str); 592 592 593 593 exit:
Note:
See TracChangeset
for help on using the changeset viewer.