delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/13/10:53:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <F10D23B02E54D011A0AB0020AF9CEFE988F954@lynx.ceddec.com>
From: "Town, Brad" <btown AT ceddec DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Who broke the new SETUP.EXE?
Date: Fri, 13 Oct 2000 10:53:50 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

>> In addition, when downloading the initial files, SETUP.EXE shouldn't
>> use the simple browse dialog, but the full file dialog.  If I want
>> to save in a new directory it is impossible in the browse dialog
>> because it has no method to create new directories.
>
>http://sources.redhat.com/cygwin/cvs.html
>
>I couldn't find a dialog that let you create and pick a directory,
>without also letting you pick a file, which is an invalid response in
>that case.

You can get a slightly more advanced browse-for-folders dialog on some
platforms by adding BIF_NEWDIALOGSTYLE (0x0040) and BIF_EDITBOX
(0x0010) to the ulFlags member of the BROWSEINFO structure.  The new
style provides full context menus, a "New Folder" button, a resizable
dialog, etc.

BIF_NEWDIALOGSTYLE only works with version 5.0 or later of shell32.dll
(available with Windows 2000).  BIF_EDITBOX only works with version
4.71 or later of shell32.dll (available with IE4 with the shell
update).  Both flags are ignored on platforms not supporting them.


Brad Town

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019