OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Just as with regular windows, TGadgetWindow implements the TGadgetWindow::Paint function, as follows:
This implementation of the Paint function selects the window's font into the device context and calls the function PaintGadgets:
PaintGadgets iterates through the gadgets in the window and requests each one to draw itself. You can override PaintGadgets to implement a custom look for your window, such as separator lines, a raised look, and so on.