Changeset 603 for trunk/dll/select.c


Ignore:
Timestamp:
Apr 6, 2007, 11:57:45 PM (18 years ago)
Author:
Gregg Young
Message:

Work around for PM drag/drop limit; more drag/drop error checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/select.c

    r551 r603  
    1616  29 Jul 06 SHL Use xfgets_bstripcr
    1717  15 Aug 06 SHL Rework SetMask args and logic
     18  06 Apr 07 GKY Work around PM DragInfo and DrgFreeDISH limits
    1819
    1920***********************************************************************/
     
    4243{
    4344  PCNRITEM pci;
    44   INT numfiles = 0, numalloc = 0;
     45  INT numfiles = 0, numalloc = 0, x = 0;
    4546  INT attribute = CRA_CURSORED;
    4647
     
    6061                 MPFROM2SHORT(FALSE, CRA_SELECTED));
    6162      if (!all)
    62         break;
     63          break;
     64      if(fexceedpmdrglimit && x == 1499){
     65          fexceedpmdrglimit = FALSE;
     66          break;
     67      }
    6368      if (list)
    6469        AddToList(pci->szFileName, list, &numfiles, &numalloc);
    6570      pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORDEMPHASIS,
    6671                                  MPFROMP(pci), MPFROMSHORT(CRA_SELECTED));
     72      x++;
    6773    }
    6874  }
Note: See TracChangeset for help on using the changeset viewer.