🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2065

Re: BWCC.DLL QUESTIONS...

#2065
From: Paul Marshall Hounslow
Date: Mon, 16 Nov 1992 12:28
44 lines
2358 bytes
In article 21714@kakwa.ucs.ualberta.ca, 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?
>
>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

If you wish to use these bitmaps on your own buttons in a dialog box:

  The bitmaps are in sets of six, to allow for VGA/EGA, pressing the button, and selecting.

  So for IDOK, the buttons are 1001, 2001, 3001, 4001, 5001, 6001.

  To use the bitmaps on the buttons for IDOK, use the button from the BWCC tools in
  workshop.  On setting the ID to IDOK (or 1), you should see the bitmap on the button.

  To define your own buton bitmaps, you need to provide one each of the 1xxx, 2xxx, ...
  6xxx where xxx is your ID for that button.

Of course, you must also ensure that your program starts the BWCC.DLL as well.  I don't
know if you need to have the dialog as a bordlg type though.


Paul

----
73's de Paul                         The smelling pistakes are all my own.
Packet: G4YFY@GB7BEQ                 I have no employer (I retired ;-).
EMail:  ssuhouns@susssys1.rdg.ac.uk  1990 16 valve K100LT        DoD #0573
Technical Details
Message-ID: <Bxt6o2.E7A@csug.cs.reading.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!reading!bogart!ssuhouns
References: <1992Nov12.203441.21714@kakwa.ucs.ualberta.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!reading!bogart!ssuhouns
From: ssuhouns@csug.cs.reading.ac.uk (Paul Marshall Hounslow)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: BWCC.DLL QUESTIONS...
Message-ID: <Bxt6o2.E7A@csug.cs.reading.ac.uk>
Date: 16 Nov 92 12:28:49 GMT
References: <1992Nov12.203441.21714@kakwa.ucs.ualberta.ca>
Sender: news@csug.cs.reading.ac.uk
Reply-To: ssuhouns@csug.cs.reading.ac.uk
Organization: Dept. of Comp. Sci., University of Reading
Lines: 44
Nntp-Posting-Host: bogart