source: trunk/dll/select.h@ 1871

Last change on this file since 1871 was 1871, checked in by Gregg Young, 10 years ago

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.

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1
2/***********************************************************************
3
4 $Id: select.h 1871 2015-09-20 22:57:02Z gyoung $
5
6 <<<description here>>>
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2008, 2015 Steven H. Levine
10
11 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
16
17***********************************************************************/
18
19#if !defined(SELECT_H)
20#define SELECT_H
21
22#include "dircnrs.h" // typedef for CNRITEM, PCNRITEM
23
24VOID Deselect(HWND hwndCnr);
25VOID DeselectAll(HWND hwndCnr, BOOL files, BOOL dirs, CHAR * mask,
26 CHAR * text, BOOL arc);
27BOOL ExpandAll(HWND hwndCnr, INT count, PCNRITEM pciParent);
28VOID CollapseAll(HWND hwndCnr, PCNRITEM pciParent);
29VOID HideAll(HWND hwndCnr);
30VOID InvertAll(HWND hwndCnr);
31VOID MarkAll(HWND hwndCnr, BOOL quitit, BOOL target, BOOL source);
32VOID RemoveAll(HWND hwndCnr, ULONGLONG * ullTotalBytes, ULONG * totalfiles);
33VOID SelectAll(HWND hwndCnr, BOOL files, BOOL dirs, CHAR * mask, CHAR * text,
34 BOOL arc);
35VOID SelectList(HWND hwndCnr, BOOL partial, BOOL deselect, BOOL clearfirst,
36 PCNRITEM pciParent, CHAR * filename, CHAR ** list);
37VOID SetMask(CHAR * str, MASK * mask);
38VOID SpecialSelect2(HWND hwndParent, INT action);
39VOID UnHilite(HWND hwndCnr, BOOL all, CHAR *** list, ULONG ulItemsToUnHilite);
40
41
42#endif // SELECT_H
Note: See TracBrowser for help on using the repository browser.