Article View: comp.os.ms-windows.programmer.tools
Article #544File Dialog Box
From: Michael Weiss
Date: Wed, 07 Oct 1992 23:04
Date: Wed, 07 Oct 1992 23:04
26 lines
2040 bytes
2040 bytes
I am looking to clean up a macro I wrote for Excel 4.0. For some reason, the
guys in Redmond didn't put a "Create Directory" command in the File pulldown.
Sheesh. So, I went ahead and built one. The problem is, when I create a file
dialog box in Excel's dialog editor, it makes one in the Windows 3.0 style.
That is, directories and drives are in one list box, with brackets around each
name. I want to create a file dialog box in the style of Windows 3.1. That
is, I want a list box with the folder icons that contains directory names, and
a drop-down box with the drive names.
It seems that to do this would require a call to a dll. The questions are as
follows:
1) Which DLL, and what parameters/calls/etc. must be passed in? Also, what
parameters are passed back?
2) Is it possible to use a dialog box without having a list of the files
contained within the directory? It's unnecessary under these circumstances
so I'd just as soon do without it.
3) If a dialog box such as is specified in Question 2 doesn't currently exist,
can someone quickly and easily create one to sit in a DLL that I can use?
If it takes forever and a day to create, let me know. I won't ask for too
much, I promise.
--
\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /
- Michael weiss@seas.ucla.edu | School of Engineering & Applied Science -
- Weiss izzydp5@oac.ucla.edu | University of California, Los Angeles -
/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | \
Technical Details
Message-ID:
<8294@lee.SEAS.UCLA.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!ucla-se!turing.seas.ucla.edu!weissShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!ucla-se!turing.seas.ucla.edu!weiss From: weiss@turing.seas.ucla.edu (Michael Weiss) Newsgroups: comp.os.ms-windows.programmer.tools Subject: File Dialog Box Message-ID: <8294@lee.SEAS.UCLA.EDU> Date: 7 Oct 92 23:04:27 GMT Sender: news@SEAS.UCLA.EDU Organization: SEASnet, University of California, Los Angeles Lines: 26