Changeset 290 for trunk/dll/assoc.c


Ignore:
Timestamp:
Jun 27, 2006, 2:13:08 AM (19 years ago)
Author:
root
Message:

Use QWL_USER

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/assoc.c

    r123 r290  
    77  Copyright (c) 2004 Steven H.Levine
    88
    9   Revisions     01 Aug 04 SHL Rework lstrip/rstrip usage
     9  01 Aug 04 SHL Rework lstrip/rstrip usage
    1010
    1111***********************************************************************/
     
    5353MRESULT EXPENTRY AssocTextProc (HWND hwnd,ULONG msg,MPARAM mp1,MPARAM mp2) {
    5454
    55   PFNWP       oldproc = (PFNWP)WinQueryWindowPtr(hwnd,0);
     55  PFNWP oldproc = (PFNWP)WinQueryWindowPtr(hwnd,QWL_USER);
    5656  static BOOL emphasized = FALSE;
    5757
     
    494494                                    (PFNWP)AssocTextProc);
    495495        if(oldproc)
    496           WinSetWindowPtr(WinWindowFromID(hwnd,ASS_CL),0,(PVOID)oldproc);
     496          WinSetWindowPtr(WinWindowFromID(hwnd,ASS_CL),QWL_USER,(PVOID)oldproc);
    497497      }
    498498      break;
Note: See TracChangeset for help on using the changeset viewer.