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

    r551 r574  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2006 Steven H.Levine
     9  Copyright (c) 2006, 2007 Steven H.Levine
    1010
    1111  17 Jul 06 SHL Use Runtime_Error
     12  22 Mar 06 GKY Use QWL_USER
    1213
    1314***********************************************************************/
     
    3637  switch (msg) {
    3738  case WM_INITDLG:
    38     WinSetWindowPtr(hwnd, 0, (PVOID) mp2);
     39    WinSetWindowPtr(hwnd, QWL_USER, (PVOID) mp2);
    3940    WinCheckButton(hwnd, SETICON_SPTR_ARROW, TRUE);
    4041    break;
     
    4748    case DID_OK:
    4849      {
    49         CHAR *filename = WinQueryWindowPtr(hwnd, 0), *buff = NULL;
     50        CHAR *filename = WinQueryWindowPtr(hwnd, QWL_USER), *buff = NULL;
    5051        ICONINFO icf;
    5152        ULONG icid = SPTR_ARROW;
Note: See TracChangeset for help on using the changeset viewer.