From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Ingalls Newsgroups: gmane.emacs.help Subject: dialog boxes Date: Fri, 10 Sep 2004 17:57:11 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1094839206 28150 80.91.224.253 (10 Sep 2004 18:00:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2004 18:00:06 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 10 19:59:51 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5pgd-0007p6-00 for ; Fri, 10 Sep 2004 19:59:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5pm0-0007nl-RN for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Sep 2004 14:05:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny09.POSTED!1c9f55fe!not-for-mail User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 138.89.86.122 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: trndny09 1094839031 138.89.86.122 (Fri, 10 Sep 2004 13:57:11 EDT) Original-NNTP-Posting-Date: Fri, 10 Sep 2004 13:57:11 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:125252 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20606 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20606 I discovered that I can use VBScript to enumerate available printers. There may even be a way to query the w32 registry via Emacs for the system default printer. I'd like to present users with a dialog box, to choose a printer. Since Emacs allows certain widgets/Windows controls in Customize buffers, and Emacs allows popups, can I put radio buttons and/or check boxes into a popup dialog box? Otherwise, some sample code, which makes it easy to populate a Customize buffer with options and a submit button, to act like a dialog box, would be appreciated. Who knows? Perhaps it will be possible to scan /etc/printcap or Gnome/KDE settings, to choose a printer at runtime.