Changeset 625 in dev for trunk/ab5.0/abdev/abdev/ClassTree.cpp
- Timestamp:
- May 27, 2008, 9:17:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/ClassTree.cpp
r619 r625 444 444 } 445 445 void SetClassTreeFromOneFile(char *lpszFilePath,int iFileNum){ 446 extern MDIINFO MdiInfo[MAX_WNDNUM];447 446 int WndNum; 448 447 HWND hChild=GetWindow(hClient,GW_CHILD); 449 448 while(hChild){ 450 449 WndNum=GetWndNum(hChild); 451 if(IS_DOCUMENT_TEXT(MdiInfo[WndNum].DocType)){ 452 if(lstrcmpi(MdiInfo[WndNum].path,lpszFilePath)==0) break; 453 } 454 hChild=GetNextWindow(hChild,GW_HWNDNEXT); 450 if( WndNum != -1 ) 451 { 452 if(IS_DOCUMENT_TEXT(MdiInfo[WndNum].DocType)){ 453 if(lstrcmpi(MdiInfo[WndNum].path.c_str(),lpszFilePath)==0) break; 454 } 455 hChild=GetNextWindow(hChild,GW_HWNDNEXT); 456 } 455 457 } 456 458
Note: See TracChangeset
for help on using the changeset viewer.