Changeset 574 for trunk/dll/common.c
- Timestamp:
- Mar 23, 2007, 11:37:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/common.c
r552 r574 15 15 07 Jan 07 GKY Move error strings etc. to string file 16 16 07 Jan 07 GKY Updated Helv font to vector font Helvetica 17 22 Mar 07 GKY Use QWL_USER 17 18 18 19 ***********************************************************************/ … … 54 55 ULONG msg, MPARAM mp1, MPARAM mp2) 55 56 { 56 PFNWP oldproc = (PFNWP) WinQueryWindowPtr(hwnd, 0);57 PFNWP oldproc = (PFNWP) WinQueryWindowPtr(hwnd, QWL_USER); 57 58 58 59 switch (msg) { … … 533 534 534 535 oldproc = WinSubclassWindow(hwndAutoMLE, AutoViewProc); 535 WinSetWindowPtr(hwndAutoMLE, 0, (PVOID) oldproc);536 WinSetWindowPtr(hwndAutoMLE, QWL_USER, (PVOID) oldproc); 536 537 PostMsg(hwndAutoMLE, UM_SETUP, MPVOID, MPVOID); 537 538 } … … 697 698 MRESULT EXPENTRY CommonCnrProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2) 698 699 { 699 DIRCNRDATA *dcd = WinQueryWindowPtr(hwnd, 0);700 DIRCNRDATA *dcd = WinQueryWindowPtr(hwnd, QWL_USER); 700 701 701 702 switch (msg) {
Note:
See TracChangeset
for help on using the changeset viewer.