Changeset 574 for trunk/dll/chklist.c


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

    r551 r574  
    1111  10 Jan 05 SHL Allow DND_TARGET to hold CCHMAXPATH
    1212  14 Jul 06 SHL Use Runtime_Error
     13  22 Mar 07 GKY Use QWL_USER
    1314
    1415***********************************************************************/
     
    9495      SHORT x;
    9596
    96       WinSetWindowPtr(hwnd, 0, (PVOID) mp2);
     97      WinSetWindowPtr(hwnd, QWL_USER, (PVOID) mp2);
    9798      cl = (CHECKLIST *) mp2;
    9899      if (!cl->list || !cl->list[0]) {
     
    244245      SHORT x;
    245246
    246       WinSetWindowPtr(hwnd, 0, (PVOID) mp2);
     247      WinSetWindowPtr(hwnd, QWL_USER, (PVOID) mp2);
    247248      cl = (CHECKLIST *) mp2;
    248249      if (!cl->list || !cl->list[0]) {
     
    337338
    338339  case UM_SETUP:
    339     cl = WinQueryWindowPtr(hwnd, 0);
     340    cl = WinQueryWindowPtr(hwnd, QWL_USER);
    340341    if (cl) {
    341342      if (cl->flags == DO_MOVE)
Note: See TracChangeset for help on using the changeset viewer.