Support SHCONTF_INCLUDEHIDDEN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one make the "Browse for Folder" dialog
a _lot_ more pleasant to use...

ChangeLog
  Add proper support for the SHCONTF_INCLUDEHIDDEN flag.

Index: dlls/shell32/enumidlist.c
===================================================================
RCS file: /var/cvs/wine/dlls/shell32/enumidlist.c,v
retrieving revision 1.26
diff -u -r1.26 enumidlist.c
--- dlls/shell32/enumidlist.c	24 Jul 2002 01:56:03 -0000	1.26
+++ dlls/shell32/enumidlist.c	25 Oct 2002 22:52:27 -0000
@@ -125,6 +125,7 @@
 	  {
 	    do
 	    {
+	      if ( !(dwFlags & SHCONTF_INCLUDEHIDDEN) && (stffile.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) ) continue;
 	      if ( (stffile.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) && strcmp (stffile.cFileName, ".") && strcmp (stffile.cFileName, ".."))
 	      {
 		pidl = _ILCreateFolder (&stffile);
@@ -148,6 +149,7 @@
 	  {
 	    do
 	    {
+	      if ( !(dwFlags & SHCONTF_INCLUDEHIDDEN) && (stffile.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) ) continue;
 	      if (! (stffile.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) )
 	      {
 		pidl = _ILCreateValue(&stffile);



-- 
Dimi.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux