Article View: comp.os.ms-windows.programmer.misc
Article #2085Re: BWCC.DLL QUESTIONS...
From: Noel S. Gorelick
Date: Tue, 17 Nov 1992 02:44
Date: Tue, 17 Nov 1992 02:44
40 lines
2676 bytes
2676 bytes
Paul Marshall Hounslow (ssuhouns@csug.cs.reading.ac.uk) wrote: > 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). > > > >Please email to 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. [Email sent to the author directly, but everyone else might be interested too.] From your article, it sounds like you want to use a message box with those neat icons in it. So use the message box stuff that borland gives you directly: BWCCMessageBox(). Full documentation on ALL of the BWCC stuff is on the borland distribution disk. In something like \borlandc\doc\bwcc.doc, or something like that... I think it even tells you where to look in the README release notes... In addition, the full source code to the DLL is on the disks as well in the example directories, I believe. -- "You want it should sing too?" | /* Yeah we got dogs and Valvoline ngorelic@speclab.cr.usgs.gov | Its a pretty damn good time. */ "Life is pain. Anyone that tells you different is trying to sell you something"
Technical Details
Message-ID:
<1992Nov17.024459.21266@riacs.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!riacs!speclab.cr.usgs.gov!ngorelicReferences:
<Bxt6o2.E7A@csug.cs.reading.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!riacs!speclab.cr.usgs.gov!ngorelic From: ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick) Subject: Re: BWCC.DLL QUESTIONS... Message-ID: <1992Nov17.024459.21266@riacs.edu> Sender: news@riacs.edu Reply-To: ngorelic@speclab.cr.usgs.gov Organization: MercWorks, Denver X-Newsreader: TIN [version 1.1 PL6] References: <Bxt6o2.E7A@csug.cs.reading.ac.uk> Date: Tue, 17 Nov 92 02:44:59 GMT Lines: 40