Article View: comp.os.ms-windows.programmer.misc
Article #1727Re: Borland-izing Common Dialogs
From: Chris Marriott
Date: Mon, 21 Dec 1992 20:50
Date: Mon, 21 Dec 1992 20:50
48 lines
2565 bytes
2565 bytes
In article <TORSTEIN.92Dec21103132@itekiris.kjemi.unit.no> torstein@itekiris.kjemi.unit.no writes: >In article <2B31FB9F.88D4@tct.com> jeff@tct.com (Jeff Witzer) writes: > I'm writing an app that uses Borland style dialog boxes and buttons. I > would like to keep the interface consistant but haven't found a way to > Borland-ize the <commdlg> File Save and File Open dialog boxes. > > Does Borland have their own version? (I couldn't find any public > alternative > like thier BWCCMessageBox...I hoped to find a BWCCGetOpenFileName () and > BWCCGetSaveFileName ()) > > I also tried to run Resource Workshop on my .exe but, of course, couldn't > find > those dialogs to modify. > > Should I give up and use the bland MicroSoft standard dialogs or is there > hope? > > jeff@tct.com > There's a VERY good solution now. Microsoft have just released a DLL called "CTL3D" which gives you 3D versions of *all* the standard Windows controls, as well as nice grey backgrounds to dialogs. According to its documentation, these weill become standard in "a future version of Windows", and CTL3D is now the "official" way to get "the 3D look" to your dialogs. It's VERY easy to use. You just make about 3 function calls and a "hook" is installed, which automagically subclasses all the controls in your dialogs, to make them 3D. Best of all it's FREE!!!! It's in the MSDNLIB area of CompuServe, so should also be in the corresponding "mirror" directory of ftp.uu.net. Hope this information is useful to you, Merry Christmas! Chris -- -------------------------------------------------------------------------- | Chris Marriott | chris@chrism.demon.co.uk | | Warrington, UK | BIX: cmarriott | | (Still awaiting inspiration | CIX: cmarriott | | for a witty .sig .... ) | CompuServe: 100113,1140 | --------------------------------------------------------------------------
Technical Details
Message-ID:
<724971010snz@chrism.demon.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chrisReferences:
<TORSTEIN.92Dec21103132@itekiris.kjemi.unit.no>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc From: chris@chrism.demon.co.uk (Chris Marriott) Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris Subject: Re: Borland-izing Common Dialogs Distribution: world References: <TORSTEIN.92Dec21103132@itekiris.kjemi.unit.no> Organization: None Reply-To: chris@chrism.demon.co.uk X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19) Lines: 48 Date: Mon, 21 Dec 1992 20:50:10 +0000 Message-ID: <724971010snz@chrism.demon.co.uk> Sender: usenet@demon.co.uk