home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3479 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.6 KB  |  54 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!riacs!speclab.cr.usgs.gov!ngorelic
  3. From: ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick)
  4. Subject: Re: BWCC.DLL QUESTIONS...
  5. Message-ID: <1992Nov17.024459.21266@riacs.edu>
  6. Sender: news@riacs.edu
  7. Reply-To: ngorelic@speclab.cr.usgs.gov
  8. Organization: MercWorks, Denver
  9. X-Newsreader: TIN [version 1.1 PL6]
  10. References: <Bxt6o2.E7A@csug.cs.reading.ac.uk>
  11. Date: Tue, 17 Nov 92 02:44:59 GMT
  12. Lines: 40
  13.  
  14. Paul Marshall Hounslow (ssuhouns@csug.cs.reading.ac.uk) wrote:
  15. > In article 21714@kakwa.ucs.ualberta.ca, jimmy@namao.ucs.ualberta.ca () writes:
  16. > >
  17. > >Borland's BWCC.DLL contains glyphs (bitmaps) of icons that appear in
  18. > >message boxes in Borland's own products - a red hand, "?", "!" and "i".
  19. > >Yet I can't find any documented way of using them.  I've designed
  20. > >a custom message box class that uses the grey "bordlg" style, and these
  21. > >icons would look better than the Windows standard ones (which I'm also
  22. > >not sure of how to access).
  23. > >
  24. > >Please email to jimmy@namao.ucs.ualberta.ca
  25. > If you wish to use these bitmaps on your own buttons in a dialog box:
  26. > The bitmaps are in sets of six, to allow for VGA/EGA, pressing the button, 
  27. > and selecting.  So for IDOK, the buttons are 1001, 2001, 3001, 4001, 5001, 
  28. > 6001. To use the bitmaps on the buttons for IDOK, use the button from the 
  29. > BWCC tools in workshop.  On setting the ID to IDOK (or 1), you should see 
  30. > the bitmap on the button.  To define your own buton bitmaps, you need to 
  31. > provide one each of the 1xxx, 2xxx, ...  6xxx where xxx is your ID for that 
  32. > button.  Of course, you must also ensure that your program starts the 
  33. > BWCC.DLL as well.  I don't know if you need to have the dialog as a bordlg 
  34. > type though.
  35.  
  36. [Email sent to the author directly, but everyone else might be interested too.]
  37.  
  38. From your article, it sounds like you want to use a message box with those
  39. neat icons in it.  So use the message box stuff that borland gives you
  40. directly:  BWCCMessageBox().
  41.  
  42. Full documentation on ALL of the BWCC stuff is on the borland distribution
  43. disk.  In something like \borlandc\doc\bwcc.doc, or something like that...
  44. I think it even tells you where to look in the README release notes...
  45.  
  46. In addition, the full source code to the DLL is on the disks as well in the
  47. example directories, I believe.
  48.  
  49. --
  50. "You want it should sing too?"   | /*  Yeah we got dogs and Valvoline
  51.   ngorelic@speclab.cr.usgs.gov   |     Its a pretty damn good time.    */
  52. "Life is pain. Anyone that tells you different is trying to sell you something"
  53.