Changeset 617 in dev for trunk/ab5.0/abdev/abdev/MessageCallOperation.cpp
- Timestamp:
- May 19, 2008, 4:31:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/MessageCallOperation.cpp
r616 r617 38 38 WindowInfo *pWindowInfo = ProjectInfo.windowInfos[WndInfoNum]; 39 39 40 NameLen= lstrlen(pWindowInfo->name);40 NameLen=pWindowInfo->GetName().size(); 41 41 CallBackNameLen=lstrlen(pWindowInfo->CallBackName); 42 42 … … 77 77 strncpy(temporary,buffer+i2,NameLen); 78 78 temporary[NameLen]=0; 79 if( lstrcmp(temporary,pWindowInfo->name)==0&&buffer[i2+NameLen]=='_'){79 if( pWindowInfo->GetName() == temporary && buffer[i2+NameLen] == '_' ){ 80 80 for(i2+=NameLen+1,i3=0;;i2++,i3++){ 81 81 if(!IsVariableChar(buffer[i2])){ … … 231 231 ListView_GetItemText(hList,i,0,temporary,MAX_PATH); 232 232 sprintf(EventName,"%s_%s", 233 pWindowInfo-> name,233 pWindowInfo->GetName().c_str(), 234 234 temporary); 235 235 break; … … 270 270 ListView_GetItemText(hList,i,0,temporary,MAX_PATH); 271 271 sprintf(EventName,"%s_%s_MenuClick", 272 pWindowInfo-> name,272 pWindowInfo->GetName().c_str(), 273 273 temporary); 274 274 break; … … 284 284 ListView_GetItemText(hList,i,0,temporary,MAX_PATH); 285 285 sprintf(EventName,"%s_%s", 286 pWindowInfo-> name,286 pWindowInfo->GetName().c_str(), 287 287 temporary); 288 288 break; … … 299 299 ListView_GetItemText(hList,i,0,temporary,MAX_PATH); 300 300 sprintf(EventName,"%s_%s_%s", 301 pWindowInfo-> name,301 pWindowInfo->GetName().c_str(), 302 302 pWindowInfo->childWindowInfos[MdiInfo[WndNum].MdiRadInfo->SelectingItem[0]]->IdName, 303 303 temporary);
Note:
See TracChangeset
for help on using the changeset viewer.