Changeset 130 for trunk/dll/grep2.c
- Timestamp:
- May 23, 2005, 9:04:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep2.c
r123 r130 5 5 6 6 Copyright (c) 1993-98 M. Kimes 7 Copyright (c) 2004 Steven H.Levine 8 9 Revisions 01 Aug 04 SHL - Rework lstrip/rstrip usage 7 Copyright (c) 2004, 2005 Steven H.Levine 8 9 01 Aug 04 SHL Rework lstrip/rstrip usage 10 23 May 05 SHL Use QWL_USER 10 11 11 12 ***********************************************************************/ … … 42 43 case WM_INITDLG: 43 44 if(mp2) { 44 WinSetWindowPtr(hwnd, 0,mp2);45 WinSetWindowPtr(hwnd,QWL_USER,mp2); 45 46 *(CHAR *)mp2 = 0; 46 47 { … … 130 131 case DID_OK: 131 132 { 132 CHAR *p = WinQueryWindowPtr(hwnd, 0);133 CHAR *p = WinQueryWindowPtr(hwnd,QWL_USER); 133 134 134 135 if(p) { … … 180 181 break; 181 182 } 182 WinSetWindowULong(hwnd, 0,*(HWND *)mp2);183 WinSetWindowULong(hwnd,QWL_USER,*(HWND *)mp2); 183 184 WinSendDlgItemMsg(hwnd, 184 185 GREP_MASK, … … 889 890 890 891 case DID_OK: 891 hwndCollect = WinQueryWindowULong(hwnd, 0);892 hwndCollect = WinQueryWindowULong(hwnd,QWL_USER); 892 893 if(!hwndCollect) 893 894 DosBeep(50,100);
Note:
See TracChangeset
for help on using the changeset viewer.