From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Bad file dialog on W32 popped up by a click on C source Date: Sun, 12 Jun 2005 18:11:42 +0300 Message-ID: References: <42AC4095.4070109@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118588983 1511 80.91.229.2 (12 Jun 2005 15:09:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 15:09:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 17:09:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DhU5V-0001a5-Vn for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 17:09:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhUA7-0003zm-7D for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2005 11:14:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhU9U-0003wW-V5 for emacs-devel@gnu.org; Sun, 12 Jun 2005 11:13:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DhU9S-0003v1-MP for emacs-devel@gnu.org; Sun, 12 Jun 2005 11:13:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DhU9R-0003qV-I1 for emacs-devel@gnu.org; Sun, 12 Jun 2005 11:13:29 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhU8Z-0000xx-IF for emacs-devel@gnu.org; Sun, 12 Jun 2005 11:12:35 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-212-18.inter.net.il [83.130.212.18]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id BMV75485 (AUTH halo1); Sun, 12 Jun 2005 18:11:39 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42AC4095.4070109@student.lu.se> (message from Lennart Borgman on Sun, 12 Jun 2005 16:03:01 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38639 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38639 > Date: Sun, 12 Jun 2005 16:03:01 +0200 > From: Lennart Borgman > CC: emacs-devel@gnu.org > > Would it be better to use the standard directory dialog (rather than the > file dialog)? I'm nowhere near being a specialist in W32 GUI programming, but the comments in w32fns.c sound like there's no ``standard directory dialog'' available, or perhaps it couldn't be used here: /* Callback for altering the behaviour of the Open File dialog. Makes the Filename text field contain "Current Directory" and be read-only when "Directories" is selected in the filter. This allows us to work around the fact that the standard Open File dialog does not support directories. */