Packages |
Description |
|
This is a couple of classes that show how to use the WinAPI to
create a graduated background on a dialog. The first class
creates a rectangular graduation which changes from left to
right or top to bottom.
The second class creates triangular graduation, which changes
from corner to corner.
The source also shows how you can inherit from these classes
to create additional vertices. Note that with either class you
can add more vertices and change the direction simply by
tweaking the iVars - the subclasses merely do this for you by
default.
|
|