Changeset 574 for trunk/dll/common.c


Ignore:
Timestamp:
Mar 23, 2007, 11:37:07 PM (18 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/common.c

    r552 r574  
    1515  07 Jan 07 GKY Move error strings etc. to string file
    1616  07 Jan 07 GKY Updated Helv font to vector font Helvetica
     17  22 Mar 07 GKY Use QWL_USER
    1718
    1819***********************************************************************/
     
    5455                                    ULONG msg, MPARAM mp1, MPARAM mp2)
    5556{
    56   PFNWP oldproc = (PFNWP) WinQueryWindowPtr(hwnd, 0);
     57  PFNWP oldproc = (PFNWP) WinQueryWindowPtr(hwnd, QWL_USER);
    5758
    5859  switch (msg) {
     
    533534
    534535  oldproc = WinSubclassWindow(hwndAutoMLE, AutoViewProc);
    535   WinSetWindowPtr(hwndAutoMLE, 0, (PVOID) oldproc);
     536  WinSetWindowPtr(hwndAutoMLE, QWL_USER, (PVOID) oldproc);
    536537  PostMsg(hwndAutoMLE, UM_SETUP, MPVOID, MPVOID);
    537538}
     
    697698MRESULT EXPENTRY CommonCnrProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2)
    698699{
    699   DIRCNRDATA *dcd = WinQueryWindowPtr(hwnd, 0);
     700  DIRCNRDATA *dcd = WinQueryWindowPtr(hwnd, QWL_USER);
    700701
    701702  switch (msg) {
Note: See TracChangeset for help on using the changeset viewer.