Click to See Complete Forum and Search --> : Ovale CButton


Arnault
May 19th, 1999, 05:40 PM
Is it possible to create an ovale button with CButton. If no what would be the beginning to try to write it from scratch ?

May 20th, 1999, 02:12 AM
See the article on "Round Buttons" by Chris Maunder here at Code Guru (http://www.codeguru.com/buttonctrl/round_buttons.shtml). Then modify the bounding rectangle passed to CreateEllipticRgn() to produce an "oval" instead of a circle.

Remember: there is a very fine line between efficiency and laziness.

Cheers!
Humble Programmer
,,,^..^,,,