Changeset 751 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Aug 2, 2007, 11:05:48 PM (13 years ago)
Author:
Steven Levine
Message:

Sync rest of code with CNRITEM mods
Sync code with ARCITEM mods
Get compare dialog working
Still some issues with status display
Still some issues with directory sizes tree display
Heap check diagnostic code mostly enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r730 r751  
    2727  12 May 07 SHL Use dcd->ulItemsToUnHilite; sync with UnHilite arg mods
    2828  10 Jun 07 GKY Add CheckPmDrgLimit including IsFm2Window as part of work around PM drag limit
     29  02 Aug 07 SHL Sync with CNRITEM mods
    2930
    3031***********************************************************************/
     
    736737        WinSetWindowText(WinWindowFromID(dcd->hwndFrame, FID_TITLEBAR), s);
    737738      }
    738       WinSendMsg(dcd->hwndCnr,
    739                  CM_REMOVERECORD,
    740                  MPVOID,
    741                  MPFROM2SHORT(0, CMA_FREE | CMA_INVALIDATE | CMA_ERASE));
     739      RemoveCnrItems(dcd->hwndCnr, NULL, 0, CMA_FREE | CMA_INVALIDATE | CMA_ERASE);
    742740      AdjustCnrColsForFSType(dcd->hwndCnr, dcd->directory, dcd);
    743741      dcd->ullTotalBytes = dcd->totalfiles =
     
    32223220              if (!*dcd->directory || IsValidDir(dcd->directory)) {
    32233221                NotifyError(pci->pszFileName, status);
    3224                 WinSendMsg(hwnd,
    3225                            CM_REMOVERECORD,
    3226                            MPFROMP(&pci),
    3227                            MPFROM2SHORT(1,
    3228                                         CMA_FREE | CMA_INVALIDATE |
    3229                                         CMA_ERASE));
     3222                RemoveCnrItems(hwnd, pci, 1, CMA_FREE | CMA_INVALIDATE | CMA_ERASE);
    32303223                if (hwndStatus)
    32313224                  WinSetWindowText(hwndStatus,
Note: See TracChangeset for help on using the changeset viewer.