Changeset 618 for trunk/dll/command.c


Ignore:
Timestamp:
Apr 20, 2007, 9:19:03 PM (18 years ago)
Author:
Steven Levine
Message:

Add more drag/drop error checking
Use FreeDragInfoData
Sync with NumItemsToUnhilite AcceptOneDrop GetOneDrop mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/command.c

    r574 r618  
    1919  23 Mar 07 GKY Replace doesn't change item position
    2020  23 Mar 07 GKY Okay fails silently when item not changed
     21  19 Apr 07 SHL Sync with AcceptOneDrop GetOneDrop mods
    2122
    2223***********************************************************************/
     
    6364      DrawTargetEmphasis(hwnd, emphasized);
    6465    }
    65     if (AcceptOneDrop(mp1, mp2))
     66    if (AcceptOneDrop(hwnd, mp1, mp2))
    6667      return MRFROM2SHORT(DOR_DROP, DO_MOVE);
    6768    return MRFROM2SHORT(DOR_NEVERDROP, 0);
     
    8687        DrawTargetEmphasis(hwnd, emphasized);
    8788      }
    88       if (GetOneDrop(mp1, mp2, szFrom, CCHMAXPATH)) {
     89      if (GetOneDrop(hwnd, mp1, mp2, szFrom, CCHMAXPATH)) {
    8990        strcat(szFrom, " %a");
    9091        WinSetWindowText(hwnd, szFrom);
Note: See TracChangeset for help on using the changeset viewer.