From 4b80dde7483731432f21094ae325997e995159cd Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 26 Jun 2012 07:03:46 +0000 Subject: [PATCH] Imported Walter Garms' comments re:BIF_SHAREABLE from the ./TODO file that came with the original version of FNFC. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Native_File_Chooser_WIN32.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Fl_Native_File_Chooser_WIN32.cxx b/src/Fl_Native_File_Chooser_WIN32.cxx index 771c62aeb..2eb4157e8 100644 --- a/src/Fl_Native_File_Chooser_WIN32.cxx +++ b/src/Fl_Native_File_Chooser_WIN32.cxx @@ -487,8 +487,14 @@ int Fl_Native_File_Chooser::showdir() { // TBD: match all 3 types of directories // // NOTE: *Don't* use BIF_SHAREABLE. It /disables/ mapped network shares - // from being visible in BROWSE_DIRECTORY mode. - // See Walter Garm's comments in ./TODO. + // from being visible in BROWSE_DIRECTORY mode. Walter Garm's comments: + // + // --- Garms, Walter (GE EntSol, Security) wrote: + // With your help I was able to solve the problem of the network drives. + // For Version 6.0, at least, the BIF_SHAREABLE flag seems to have the + // opposite sense: With BIF_SHAREABLE not set I see the mapped network + // drives, and with BIF_SHAREABLE set I do not. + // --- #if defined(BIF_NONEWFOLDERBUTTON) // Version 6.0 if ( _btype == BROWSE_DIRECTORY ) _binf.ulFlags |= BIF_NONEWFOLDERBUTTON;