Changeset 210
- Timestamp:
- Aug 22, 2002, 10:43:34 AM (23 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/winh.h
r206 r210 255 255 256 256 #define winhRemoveMenuItem(hwndMenu, sItemID) \ 257 (SHORT)WinSendMsg(hwndMenu, MM_REMOVEITEM, MPFROM2SHORT(sItemID, FALSE), 0)257 SHORT1FROMMR(WinSendMsg(hwndMenu, MM_REMOVEITEM, MPFROM2SHORT(sItemID, FALSE), 0)) 258 258 259 259 BOOL XWPENTRY winhRemoveMenuItems(HWND hwndMenu, -
trunk/src/helpers/dialog.c
r209 r210 5 5 * auto-format dialogs from control arrays in memory. 6 6 * 7 * See dlghCreateDlg for details. 7 * As a summary, this code allows you to get rid of 8 * PM dialog resources completely. 9 * 10 * See dlghCreateDlg for an introduction. 8 11 * 9 12 * See @dlg_algorithm for the gory details of the new … … 2742 2745 pCurrentRow, 2743 2746 FALSE, // no nested table 2744 ( PVOID)pItemThis->ul1, // pCtlDef, V0.9.21 (2002-08-18) [umoeller]2747 (const CONTROLDEF *)pItemThis->ul1, // pCtlDef, V0.9.21 (2002-08-18) [umoeller] 2745 2748 &pColumn))) 2746 2749 lstAppendItem(&pCurrentRow->llColumns, -
trunk/src/helpers/except.c
r191 r210 549 549 fprintf(file, "\nXCPT_ACCESS_VIOLATION: "); 550 550 if (pReportRec->ExceptionInfo[0] & XCPT_READ_ACCESS) 551 fprintf(file, "Invalid read access from 0x%04lX:%08lX.\n", 552 pContextRec->ctx_SegDs, pReportRec->ExceptionInfo[1]); 551 fprintf(file, "XCPT_READ_ACCESS -- Invalid read access from 0x%04lX:%08lX.\n", 552 pContextRec->ctx_SegDs, 553 pReportRec->ExceptionInfo[1]); 553 554 else if (pReportRec->ExceptionInfo[0] & XCPT_WRITE_ACCESS) 554 fprintf(file, "Invalid write access to 0x%04lX:%08lX.\n", 555 pContextRec->ctx_SegDs, pReportRec->ExceptionInfo[1]); 555 fprintf(file, "XCPT_WRITE_ACCESS -- Invalid write access to 0x%04lX:%08lX.\n", 556 pContextRec->ctx_SegDs, 557 pReportRec->ExceptionInfo[1]); 556 558 else if (pReportRec->ExceptionInfo[0] & XCPT_SPACE_ACCESS) 557 fprintf(file, " Invalid space access at 0x%04lX.\n",559 fprintf(file, "XCPT_SPACE_ACCESS -- Invalid space access at 0x%04lX.\n", 558 560 pReportRec->ExceptionInfo[1]); 559 561 else if (pReportRec->ExceptionInfo[0] & XCPT_LIMIT_ACCESS) 560 fprintf(file, " Invalid limit access occurred.\n");562 fprintf(file, "XCPT_LIMIT_ACCESS -- Invalid limit access occurred.\n"); 561 563 else if (pReportRec->ExceptionInfo[0] == XCPT_UNKNOWN_ACCESS) 562 fprintf(file, "unknown at 0x%04lX:%08lX\n", 563 pContextRec->ctx_SegDs, pReportRec->ExceptionInfo[1]); 564 fprintf(file, "XCPT_UNKNOWN_ACCESS -- unknown at 0x%04lX:%08lX\n", 565 pContextRec->ctx_SegDs, 566 pReportRec->ExceptionInfo[1]); 564 567 fprintf(file, 565 568 "Explanation: An attempt was made to access a memory object which does\n" -
trunk/src/helpers/winh.c
r206 r210 593 593 ++ul) 594 594 { 595 SHORT s = asItemIDs[ul]; 595 596 winhRemoveMenuItem(hwndMenu, 596 asItemIDs[ul]);597 s); 597 598 } 598 599
Note:
See TracChangeset
for help on using the changeset viewer.