Changeset 1796 for trunk/dll/treecnr.c


Ignore:
Timestamp:
Sep 7, 2014, 7:58:46 PM (11 years ago)
Author:
Gregg Young
Message:

Fix tree container mis-draws (stacked icons with RWS) The problem was magnified by RWS but I think the occasional extra blank directory or duplicating directories is related. Ticket 545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/treecnr.c

    r1778 r1796  
    9191                Also added a tree rescan following volume detach.
    9292  22 Feb 14 GKY Fix warn readonly yes don't ask to work when recursing directories.
     93  07 Sep 14 GKY Fix tree container mis-draws (stacked icons with RWS) The problem was magnified
     94                by RWS but I think the occasional extra blank directory or duplicating
     95                directories is related.
    9396
    9497***********************************************************************/
     
    708711      dcd->suspendview = TRUE;
    709712      ExpandAll(dcd->hwndCnr,
    710                 (SHORT1FROMMP(mp1) == IDM_EXPAND), (PCNRITEM) mp2);
     713                (SHORT1FROMMP(mp1) == IDM_EXPAND), (PCNRITEM) mp2);
     714      DosSleep(1); // Fixes tree epansion (dir text and icons all placed on
     715                       // the same line as the drive) failure on startup using RWS
    711716      dcd->suspendview = (USHORT) tempsusp;
    712717      PostMsg(dcd->hwndCnr, UM_FILTER, MPVOID, MPVOID);
Note: See TracChangeset for help on using the changeset viewer.