- Timestamp:
- Oct 19, 2001, 6:14:19 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comdlg32/filedlg95.c
r6708 r7137 1142 1142 /* OK button */ 1143 1143 case IDOK: 1144 #ifndef __WIN32OS2__ 1144 1145 if(FILEDLG95_OnOpen(hwnd)) 1145 1146 SendCustomDlgNotificationMessage(hwnd,CDN_FILEOK); 1146 1147 break; 1148 #else 1149 { 1150 // 20011017 PH 1151 // some apps require the resources to be still there 1152 // for the CDN_ processing. 1153 BOOL fResult = FILEDLG95_OnOpen(hwnd); 1154 if(fResult) 1155 SendCustomDlgNotificationMessage(hwnd,CDN_FILEOK); 1156 1157 FILEDLG95_Clean(hwnd); 1158 EndDialog(hwnd, fResult); 1159 break; 1160 } 1161 #endif 1147 1162 /* Cancel button */ 1148 1163 case IDCANCEL: … … 1273 1288 1274 1289 /* clean and exit */ 1290 #ifndef __WIN32OS2__ 1291 // 20011017 PH 1292 // some apps require the resources to be still there 1293 // for the CDN_ processing. 1275 1294 FILEDLG95_Clean(hwnd); 1276 1295 return EndDialog(hwnd,TRUE); 1296 #else 1297 return TRUE; 1298 #endif 1277 1299 } 1278 1300 … … 1621 1643 } 1622 1644 } 1623 1645 1646 #ifndef __WIN32OS2__ 1647 // 20011017 PH 1648 // some apps require the resources to be still there 1649 // for the CDN_ processing. 1650 1624 1651 TRACE("close\n"); 1625 1652 FILEDLG95_Clean(hwnd); 1626 1653 ret = EndDialog(hwnd, TRUE); 1654 #else 1655 ret = TRUE; 1656 #endif 1627 1657 } 1628 1658 else 1629 1659 { 1630 1660 /* FIXME set error FNERR_BUFFERTOSMALL */ 1661 #ifndef __WIN32OS2__ 1662 // 20011017 PH 1663 // some apps require the resources to be still there 1664 // for the CDN_ processing. 1665 1631 1666 FILEDLG95_Clean(hwnd); 1632 1667 ret = EndDialog(hwnd, FALSE); 1668 #else 1669 ret = FALSE; 1670 #endif 1633 1671 } 1634 1672 goto ret;
Note:
See TracChangeset
for help on using the changeset viewer.