Changeset 574 for trunk/dll/eas.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/eas.c

    r564 r574  
    1414  06 Jun 05 SHL Drop unused variables
    1515  17 Jul 06 SHL Use Runtime_Error
     16  22 Mar 07 GKY Use QWL_USER
    1617
    1718***********************************************************************/
     
    9798      break;
    9899    }
    99     WinSetWindowPtr(hwnd, 0, (PVOID) mp2);
     100    WinSetWindowPtr(hwnd, QWL_USER, (PVOID) mp2);
    100101    WinSendDlgItemMsg(hwnd, EAC_NAME, EM_SETTEXTLIMIT,
    101102                      MPFROM2SHORT(255, 0), MPVOID);
     
    301302
    302303  if (msg != WM_INITDLG)
    303     eap = (EAPROCDATA *) WinQueryWindowPtr(hwnd, 0);
     304    eap = (EAPROCDATA *) WinQueryWindowPtr(hwnd, QWL_USER);
    304305
    305306  switch (msg) {
     
    318319    eap->size = sizeof(EAPROCDATA);
    319320    eap->list = (CHAR **) mp2;
    320     WinSetWindowPtr(hwnd, 0, (PVOID) eap);
     321    WinSetWindowPtr(hwnd, QWL_USER, (PVOID) eap);
    321322    WinSendDlgItemMsg(hwnd,
    322323                      EA_ENTRY, EM_SETTEXTLIMIT, MPFROM2SHORT(40, 0), MPVOID);
Note: See TracChangeset for help on using the changeset viewer.