Changeset 1871 for trunk/dll/select.h


Ignore:
Timestamp:
Sep 21, 2015, 12:57:02 AM (10 years ago)
Author:
Gregg Young
Message:

Create CollapseAll and modify ExpandAll to reduce code overhead both to try and speed drive expansion. Change ExpandAll to allow it to loop in UM_EXPAND until until drive is completely expanded. Changes were need to work with Flesh, Stubby and UnFlesh being moved to a thread. Add code for Flesh to skip the directory entry added by Stubby (eliminate use of NULL/Nullstr pszFileNames by Stubby). Add code in Stubby to insert a complete container item. Add a flag to indicate when a directory needed to be Fleshed. Get expand and switch code to work with Flesh, UnFlesh and Stubby running on a thread. Loop and idle ExpandAll; Move tree expand to a thread; Have ShowTreeRec wait for the Flesh thread. Add a correction factor so directories don't get placed above the top of the tree container when a large drive has been expanded. Debug is mostly still in but all turned off.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/select.h

    r1227 r1871  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2008 Steven H. Levine
     9  Copyright (c) 2008, 2015 Steven H. Levine
    1010
    1111  Change log
     12  20 Sep 15 GKY Create CollapseAll and modify ExpandAll to reduce code overhead
     13                both to try and speed drive expansion. Change ExpandAll to allow it to loop
     14                in UM_EXPAND until until drive is completely expanded. Changes were need to
     15                work with Flesh, Stubby and UnFlesh being moved to a thread
    1216
    1317***********************************************************************/
     
    2125VOID DeselectAll(HWND hwndCnr, BOOL files, BOOL dirs, CHAR * mask,
    2226                 CHAR * text, BOOL arc);
    23 VOID ExpandAll(HWND hwndCnr, BOOL expand, PCNRITEM pciParent);
     27BOOL ExpandAll(HWND hwndCnr, INT count, PCNRITEM pciParent);
     28VOID CollapseAll(HWND hwndCnr, PCNRITEM pciParent);
    2429VOID HideAll(HWND hwndCnr);
    2530VOID InvertAll(HWND hwndCnr);
Note: See TracChangeset for help on using the changeset viewer.