Elliptic Buttons






4.27/5 (9 votes)
Feb 9, 2000

130455

5538
A class that turns rectangular buttons into elliptic buttons.
This class is based on Chris Maunder's Round Buttons. However,
instead of forcing all buttons to be round, this class allows buttons to be elliptical, with the
major and minor axes based on the bounds of the rectangle passed to the buttons' creation function
(Either through CEllipticalButton::Create
or via the DevStudio resource editor).
This class can be used like any other owner drawn control - simply include
the header file, and declare your button controls as CEllipticalButton
instead of CButton