home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4409 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.4 KB  |  63 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. From: chris@chrism.demon.co.uk (Chris Marriott)
  3. Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
  4. Subject: Re: Borland-izing Common Dialogs 
  5. Distribution: world
  6. References: <TORSTEIN.92Dec21103132@itekiris.kjemi.unit.no>
  7. Organization: None
  8. Reply-To: chris@chrism.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
  10. Lines: 48
  11. Date: Mon, 21 Dec 1992 20:50:10 +0000
  12. Message-ID: <724971010snz@chrism.demon.co.uk>
  13. Sender: usenet@demon.co.uk
  14.  
  15. In article <TORSTEIN.92Dec21103132@itekiris.kjemi.unit.no> torstein@itekiris.kjemi.unit.no writes:
  16.  
  17. >In article <2B31FB9F.88D4@tct.com> jeff@tct.com (Jeff Witzer) writes:
  18. >   I'm writing an app that uses Borland style dialog boxes and buttons.  I
  19. >   would like to keep the interface consistant but haven't found a way to 
  20. >   Borland-ize the <commdlg> File Save and File Open dialog boxes.
  21. >
  22. >   Does Borland have their own version?  (I couldn't find any public
  23. > alternative
  24. >   like thier BWCCMessageBox...I hoped to find a BWCCGetOpenFileName () and 
  25. >   BWCCGetSaveFileName ())
  26. >
  27. >   I also tried to run Resource Workshop on my .exe but, of course, couldn't
  28. > find
  29. >   those dialogs to modify.
  30. >
  31. >   Should I give up and use the bland MicroSoft standard dialogs or is there
  32. > hope?
  33. >
  34. >   jeff@tct.com
  35. >
  36.  
  37. There's a VERY good solution now.  Microsoft have just released a DLL called
  38. "CTL3D" which gives you 3D versions of *all* the standard Windows controls,
  39. as well as nice grey backgrounds to dialogs.  According to its documentation,
  40. these weill become standard in "a future version of Windows", and CTL3D is
  41. now the "official" way to get "the 3D look" to your dialogs.
  42.  
  43. It's VERY easy to use.  You just make about 3 function calls and a "hook"
  44. is installed, which automagically subclasses all the controls in your
  45. dialogs, to make them 3D.
  46.  
  47. Best of all it's FREE!!!!  It's in the MSDNLIB area of CompuServe, so
  48. should also be in the corresponding "mirror" directory of ftp.uu.net.
  49.  
  50. Hope this information is useful to you,
  51.  
  52. Merry Christmas!
  53.  
  54. Chris
  55. -- 
  56. --------------------------------------------------------------------------
  57. | Chris Marriott                           | chris@chrism.demon.co.uk    |
  58. | Warrington, UK                           | BIX: cmarriott              |
  59. | (Still awaiting inspiration              | CIX: cmarriott              |
  60. |  for a witty .sig .... )                 | CompuServe: 100113,1140     |
  61. --------------------------------------------------------------------------
  62.  
  63.