Changeset 130 for trunk/dll/tools.c


Ignore:
Timestamp:
May 23, 2005, 9:04:06 PM (20 years ago)
Author:
root
Message:

Use QWL_USER

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/tools.c

    r123 r130  
    77
    88  Copyright (c) 1994-97 M. Kimes
    9   Copyright (c) 2004 Steven H.Levine
    10 
    11   Revisions     01 Aug 04 SHL - Rework lstrip/rstrip usage
     9  Copyright (c) 2004, 2005 Steven H.Levine
     10
     11  01 Aug 04 SHL Rework lstrip/rstrip usage
     12  23 May 05 SHL Use QWL_USER
    1213
    1314***********************************************************************/
     
    602603  switch(msg) {
    603604    case WM_INITDLG:
    604       WinSetWindowPtr(hwnd,0,mp2);
     605      WinSetWindowPtr(hwnd,QWL_USER,mp2);
    605606      if(mp2) {
    606607        WinSetWindowText(hwnd,GetPString(IDS_EDITTOOLTEXT));
     
    956957    case WM_INITDLG:
    957958      if(mp2)
    958         WinSetWindowULong(hwnd,0,TRUE);
     959        WinSetWindowULong(hwnd,QWL_USER,TRUE);
    959960      else {
    960         WinSetWindowULong(hwnd,0,FALSE);
     961        WinSetWindowULong(hwnd,QWL_USER,FALSE);
    961962        WinSetWindowText(hwnd,
    962963                         GetPString(IDS_LOADTOOLBOXTITLETEXT));
     
    10791080        case DID_OK:
    10801081          {
    1081             BOOL saving = WinQueryWindowULong(hwnd,0);
     1082            BOOL saving = WinQueryWindowULong(hwnd,QWL_USER);
    10821083            CHAR temptools[CCHMAXPATH];
    10831084
Note: See TracChangeset for help on using the changeset viewer.