Changeset 616 in dev for trunk/ab5.0/abdev/abdev/Rad_UndoRedo.cpp
- Timestamp:
- May 19, 2008, 3:03:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/Rad_UndoRedo.cpp
r615 r616 60 60 } 61 61 else{ 62 temporary=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].IdName;63 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].IdName=(char *)pUndoState->lpdwData[pUndoState->NowPos];62 temporary=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->IdName; 63 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->IdName=(char *)pUndoState->lpdwData[pUndoState->NowPos]; 64 64 pUndoState->lpdwData[pUndoState->NowPos]=(DWORD)temporary; 65 65 } … … 74 74 } 75 75 else{ 76 temporary=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].caption;77 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].caption=(char *)pUndoState->lpdwData[pUndoState->NowPos];76 temporary=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->caption; 77 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->caption=(char *)pUndoState->lpdwData[pUndoState->NowPos]; 78 78 pUndoState->lpdwData[pUndoState->NowPos]=(DWORD)temporary; 79 79 } … … 121 121 } 122 122 else{ 123 dw=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].style;124 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].style=pUndoState->lpdwData[pUndoState->NowPos];123 dw=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->style; 124 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->style=pUndoState->lpdwData[pUndoState->NowPos]; 125 125 pUndoState->lpdwData[pUndoState->NowPos]=dw; 126 126 } … … 136 136 } 137 137 else{ 138 dw=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ExStyle;139 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ExStyle=pUndoState->lpdwData[pUndoState->NowPos];138 dw=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ExStyle; 139 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ExStyle=pUndoState->lpdwData[pUndoState->NowPos]; 140 140 pUndoState->lpdwData[pUndoState->NowPos]=dw; 141 141 } … … 150 150 } 151 151 else{ 152 PointAndSize.pos=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].pos;153 PointAndSize.size=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].size;154 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].pos=pReadPointAndSize->pos;155 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].size=pReadPointAndSize->size;152 PointAndSize.pos=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->pos; 153 PointAndSize.size=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->size; 154 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->pos=pReadPointAndSize->pos; 155 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->size=pReadPointAndSize->size; 156 156 } 157 157 *pReadPointAndSize=PointAndSize; … … 166 166 pImageCtrlInfo=(IMAGECTRLINFO *)pUndoState->lpdwData[pUndoState->NowPos]; 167 167 168 dw=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.type;169 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.type=pImageCtrlInfo->type;168 dw=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.type; 169 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.type=pImageCtrlInfo->type; 170 170 pImageCtrlInfo->type=dw; 171 171 172 dw=(DWORD)pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.path;173 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.path=pImageCtrlInfo->path;172 dw=(DWORD)pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.path; 173 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.path=pImageCtrlInfo->path; 174 174 pImageCtrlInfo->path=(char *)dw; 175 175 … … 244 244 } 245 245 else{ 246 temporary=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].IdName;247 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].IdName=(char *)pUndoState->lpdwData[pUndoState->NowPos];246 temporary=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->IdName; 247 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->IdName=(char *)pUndoState->lpdwData[pUndoState->NowPos]; 248 248 pUndoState->lpdwData[pUndoState->NowPos]=(DWORD)temporary; 249 249 } … … 258 258 } 259 259 else{ 260 temporary=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].caption;261 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].caption=(char *)pUndoState->lpdwData[pUndoState->NowPos];260 temporary=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->caption; 261 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->caption=(char *)pUndoState->lpdwData[pUndoState->NowPos]; 262 262 pUndoState->lpdwData[pUndoState->NowPos]=(DWORD)temporary; 263 263 } … … 305 305 } 306 306 else{ 307 dw=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].style;308 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].style=pUndoState->lpdwData[pUndoState->NowPos];307 dw=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->style; 308 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->style=pUndoState->lpdwData[pUndoState->NowPos]; 309 309 pUndoState->lpdwData[pUndoState->NowPos]=dw; 310 310 } … … 320 320 } 321 321 else{ 322 dw=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ExStyle;323 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ExStyle=pUndoState->lpdwData[pUndoState->NowPos];322 dw=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ExStyle; 323 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ExStyle=pUndoState->lpdwData[pUndoState->NowPos]; 324 324 pUndoState->lpdwData[pUndoState->NowPos]=dw; 325 325 } … … 334 334 } 335 335 else{ 336 PointAndSize.pos=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].pos;337 PointAndSize.size=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].size;338 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].pos=pReadPointAndSize->pos;339 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].size=pReadPointAndSize->size;336 PointAndSize.pos=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->pos; 337 PointAndSize.size=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->size; 338 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->pos=pReadPointAndSize->pos; 339 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->size=pReadPointAndSize->size; 340 340 } 341 341 *pReadPointAndSize=PointAndSize; … … 350 350 pImageCtrlInfo=(IMAGECTRLINFO *)pUndoState->lpdwData[pUndoState->NowPos]; 351 351 352 dw=pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.type;353 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.type=pImageCtrlInfo->type;352 dw=pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.type; 353 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.type=pImageCtrlInfo->type; 354 354 pImageCtrlInfo->type=dw; 355 355 356 dw=(DWORD)pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.path;357 pWindowInfo-> pChildInfo[pUndoState->SelectItemNum[pUndoState->NowPos]].ImageCtrlInfo.path=pImageCtrlInfo->path;356 dw=(DWORD)pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.path; 357 pWindowInfo->childWindowInfos[pUndoState->SelectItemNum[pUndoState->NowPos]]->ImageCtrlInfo.path=pImageCtrlInfo->path; 358 358 pImageCtrlInfo->path=(char *)dw; 359 359
Note:
See TracChangeset
for help on using the changeset viewer.