🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #532

Re: BWCC.DLL QUESTIONS...

#532
From: Jill Patterson
Date: Fri, 13 Nov 1992 04:49
40 lines
1997 bytes
jimmy@namao.ucs.ualberta.ca  writes:


>Borland's BWCC.DLL contains glyphs (bitmaps) of icons that appear in
>message boxes in Borland's own products - a red hand, "?", "!" and "i".
>Yet I can't find any documented way of using them.  I've designed
>a custom message box class that uses the grey "bordlg" style, and these
>icons would look better than the Windows standard ones (which I'm also
>not sure of how to access).

>Are these BWCC glyphs documented, or just transient things that may go
>away in a future release?


Well you may have done a lot of work for nothing.  Take a look at some of
the .doc files in the \Borlandc\Doc Directory I think.  The Function you
want to use is
BWCCMessageBox(HWindow, "Message", "Title", MB_OK | MB_ICONS);

Make sure you #include <BWCC.H>

The Hand, "?", "!", and "i", take the place of the
Stop Sign, "?", "!" and "i" in windows regular message box

MessageBox(HWindow, "Message", "Title", MB_OK | MB_ICONS);
Check out the Windows API.

Good Luck!

bytor@milton.u.washington.edu

>I'd rather not mess with figuring out the monitor resolution, then
>deciding which glyph to yank directly out of the DLL (there appear to
>be VGA, EGA and CGA versions in there).  Is there a better way?

>Many thanks.
>Jimmy
>Please email to jimmy@namao.ucs.ualberta.ca
>--
>jimmy@namao.ucs.ualberta.ca
Technical Details
Message-ID: <bytor.721630142@milton>
Path: arc1-ca.pugleaf.net!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
References: <1992Nov12.203441.21714@kakwa.ucs.ualberta.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
From: bytor@milton.u.washington.edu (Jill Patterson)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: Re: BWCC.DLL QUESTIONS...
Keywords: 386, Windows 3.1, Borland 3.1, OWL
Message-ID: <bytor.721630142@milton>
Date: 13 Nov 92 04:49:02 GMT
References: <1992Nov12.203441.21714@kakwa.ucs.ualberta.ca>
Sender: news@u.washington.edu (USENET News System)
Organization: University of Washington
Lines: 40