OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
About the Glyph Button Control

The TGlyphButton class creates a button with a bitmap in addition to text.

Using standard OWLNext glyphs

To use standard OWLNext glyph buttons:

  1. When linking to static OWLNext libraries, it is needed to include <owl/glyphbtn.rc> in the application resource file.
  2. When linking to dynamic OWLNext libraries, <owl/glyphbtn.rc> is not needed, as it is already included in OWLNext dlls

This code can handle both cases:

#if !defined(_OWLDLL)
#include <owl/glyphbtn.rc>
#endif

Using custom glyphs

To use custom glyphs for the buttons:

  1. Add <owl/glyphbtn.rh> to the application resource file.
  2. Add the glyphs in the resource file: