Article View: borland.public.cppbuilder.nativeapi
Article #13707Re: resizable open-save dialog
From: Timothy H. Buchman
Date: Thu, 18 Sep 2003 20:39
Date: Thu, 18 Sep 2003 20:39
23 lines
2212 bytes
2212 bytes
Regis St-Gelais <regis.st-gelais> wrote in message news:3f69f2f3@newsgroups.borland.com... > I gess I will have to use the GetOpenFilename API. Have a look here. Because it's Delphi I missed this the first time around: http://www.mers.com/MERLIST/BORLAND/PUBLIC/DELPHI/VCL/COMPONENTS/WRITI NG/20710.HTML (long link-may need to repaste in browser URL window) Keep in mind that the VCL always hooks the dialog, making the flag (link above) necessary (at least in Win98?). I don't know how OWL was constructed. It is possible to modify the contents of the OPENFILENAME structure in the VCL by overriding TaskModalDialog, with a line like: ((LPOPENFILENAMEA)DialogData)->Flags = ((LPOPENFILENAMEA)DialogData)->Flags | OFN_ENABLETEMPLATE; for example. -- Timothy H. Buchman ======================================== City Center Theater, New York NY mail address tbuchmanPLEASE(at sign)REMOVEcitycenter.org Search .borland message archive on http://www.mers.com/searchsite.html
Technical Details
Message-ID:
<3f6a17fa@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f69ac90$1@newsgroups.borland.com> <3f69e467$1@newsgroups.borland.com> <3f69f2f3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d3311d8df53961dc X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-18 13:40:31 PST From: "Timothy H. Buchman" <tbuchmanPLEASE(at sign)REMOVEcitycenter.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f69ac90$1@newsgroups.borland.com> <3f69e467$1@newsgroups.borland.com> <3f69f2f3@newsgroups.borland.com> Subject: Re: resizable open-save dialog Date: Thu, 18 Sep 2003 16:39:21 -0400 Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 64.69.124.66 Message-ID: <3f6a17fa@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063917562 64.69.124.66 (18 Sep 2003 13:39:22 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail