home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3452 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  2.2 KB

  1. Path: sparky!uunet!mcsun!uknet!reading!bogart!ssuhouns
  2. From: ssuhouns@csug.cs.reading.ac.uk (Paul Marshall Hounslow)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: BWCC.DLL QUESTIONS...
  5. Message-ID: <Bxt6o2.E7A@csug.cs.reading.ac.uk>
  6. Date: 16 Nov 92 12:28:49 GMT
  7. References: <1992Nov12.203441.21714@kakwa.ucs.ualberta.ca>
  8. Sender: news@csug.cs.reading.ac.uk
  9. Reply-To: ssuhouns@csug.cs.reading.ac.uk
  10. Organization: Dept. of Comp. Sci., University of Reading
  11. Lines: 44
  12. Nntp-Posting-Host: bogart
  13.  
  14. In article 21714@kakwa.ucs.ualberta.ca, jimmy@namao.ucs.ualberta.ca () writes:
  15. >
  16. >Borland's BWCC.DLL contains glyphs (bitmaps) of icons that appear in
  17. >message boxes in Borland's own products - a red hand, "?", "!" and "i".
  18. >Yet I can't find any documented way of using them.  I've designed
  19. >a custom message box class that uses the grey "bordlg" style, and these
  20. >icons would look better than the Windows standard ones (which I'm also
  21. >not sure of how to access).
  22. >
  23. >Are these BWCC glyphs documented, or just transient things that may go
  24. >away in a future release?
  25. >
  26. >I'd rather not mess with figuring out the monitor resolution, then
  27. >deciding which glyph to yank directly out of the DLL (there appear to
  28. >be VGA, EGA and CGA versions in there).  Is there a better way?
  29. >
  30. >Many thanks.
  31. >Jimmy
  32. >Please email to jimmy@namao.ucs.ualberta.ca
  33. >--
  34. >jimmy@namao.ucs.ualberta.ca
  35.  
  36. If you wish to use these bitmaps on your own buttons in a dialog box:
  37.  
  38.   The bitmaps are in sets of six, to allow for VGA/EGA, pressing the button, and selecting.
  39.  
  40.   So for IDOK, the buttons are 1001, 2001, 3001, 4001, 5001, 6001.
  41.  
  42.   To use the bitmaps on the buttons for IDOK, use the button from the BWCC tools in
  43.   workshop.  On setting the ID to IDOK (or 1), you should see the bitmap on the button.
  44.  
  45.   To define your own buton bitmaps, you need to provide one each of the 1xxx, 2xxx, ...
  46.   6xxx where xxx is your ID for that button.
  47.  
  48. Of course, you must also ensure that your program starts the BWCC.DLL as well.  I don't
  49. know if you need to have the dialog as a bordlg type though.
  50.  
  51.  
  52. Paul
  53.  
  54. ----
  55. 73's de Paul                         The smelling pistakes are all my own.
  56. Packet: G4YFY@GB7BEQ                 I have no employer (I retired ;-).
  57. EMail:  ssuhouns@susssys1.rdg.ac.uk  1990 16 valve K100LT        DoD #0573
  58.