home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / tools / 1411 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  2.0 KB

  1. Xref: sparky comp.os.ms-windows.programmer.tools:1411 comp.os.ms-windows.programmer.misc:3406
  2. Path: sparky!uunet!know!hri.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!cs.utexas.edu!swrinde!emory!ogicse!news.u.washington.edu!milton!bytor
  3. From: bytor@milton.u.washington.edu (Jill Patterson)
  4. Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
  5. Subject: Re: BWCC.DLL QUESTIONS...
  6. Keywords: 386, Windows 3.1, Borland 3.1, OWL
  7. Message-ID: <bytor.721630142@milton>
  8. Date: 13 Nov 92 04:49:02 GMT
  9. References: <1992Nov12.203441.21714@kakwa.ucs.ualberta.ca>
  10. Sender: news@u.washington.edu (USENET News System)
  11. Organization: University of Washington
  12. Lines: 40
  13.  
  14. jimmy@namao.ucs.ualberta.ca  writes:
  15.  
  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. >Are these BWCC glyphs documented, or just transient things that may go
  25. >away in a future release?
  26.  
  27.  
  28. Well you may have done a lot of work for nothing.  Take a look at some of
  29. the .doc files in the \Borlandc\Doc Directory I think.  The Function you
  30. want to use is
  31. BWCCMessageBox(HWindow, "Message", "Title", MB_OK | MB_ICONS);
  32.  
  33. Make sure you #include <BWCC.H>
  34.  
  35. The Hand, "?", "!", and "i", take the place of the
  36. Stop Sign, "?", "!" and "i" in windows regular message box
  37.  
  38. MessageBox(HWindow, "Message", "Title", MB_OK | MB_ICONS);
  39. Check out the Windows API.
  40.  
  41. Good Luck!
  42.  
  43. bytor@milton.u.washington.edu
  44.  
  45. >I'd rather not mess with figuring out the monitor resolution, then
  46. >deciding which glyph to yank directly out of the DLL (there appear to
  47. >be VGA, EGA and CGA versions in there).  Is there a better way?
  48.  
  49. >Many thanks.
  50. >Jimmy
  51. >Please email to jimmy@namao.ucs.ualberta.ca
  52. >--
  53. >jimmy@namao.ucs.ualberta.ca
  54.