Changeset 574 for trunk/dll/comp.c


Ignore:
Timestamp:
Mar 23, 2007, 10:37:07 PM (14 years ago)
Author:
Gregg Young
Message:

Use QWL_USER; Replace doesn't move the command and Okay on cmd dialog removed error on unchanged command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/comp.c

    r551 r574  
    77
    88  Copyright (c) 1993-02 M. Kimes
    9   Copyright (c) 2003, 2006 Steven H. Levine
     9  Copyright (c) 2003, 2007 Steven H. Levine
    1010
    1111  16 Oct 02 MK Baseline
     
    2323  19 Oct 06 SHL Correct . and .. detect
    2424  03 Nov 06 SHL Count thread usage
     25  22 Mar 07 GKY Use QWL_USER
    2526
    2627***********************************************************************/
     
    289290      WinDismissDlg(hwnd, 0);
    290291    else {
    291       WinSetWindowPtr(hwnd, 0, mp2);
     292      WinSetWindowPtr(hwnd, QWL_USER, mp2);
    292293      fc = (FCOMPARE *) mp2;
    293294      fc->hwndReport = hwnd;
     
    25242525        WinDestroyWindow(cmp->dcd.hwndLastMenu);
    25252526      if (cmp->dcd.hwndObject) {
    2526         WinSetWindowPtr(cmp->dcd.hwndObject, 0, (PVOID) NULL);
     2527        WinSetWindowPtr(cmp->dcd.hwndObject, QWL_USER, (PVOID) NULL);
    25272528        if (!PostMsg(cmp->dcd.hwndObject, WM_CLOSE, MPVOID, MPVOID))
    25282529          WinSendMsg(cmp->dcd.hwndObject, WM_CLOSE, MPVOID, MPVOID);
Note: See TracChangeset for help on using the changeset viewer.