Click here to Skip to main content
13,449,487 members (42,956 online)
Click here to Skip to main content
Add your own
alternative version


58 bookmarked
Posted 8 Feb 2000

Elliptic Buttons

, 8 Feb 2000
Rate this:
Please Sign up or sign in to vote.
A class that turns rectangular buttons into elliptic buttons.
  • Download demo project - 24 Kb
  • Download source files - 5 Kb
  • Sample Image

    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


    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    Raghav Gupta
    United States United States
    No Biography provided

    You may also be interested in...

    Comments and Discussions

    GeneralNice One! Pin
    MikkiDee15-Feb-00 8:39
    sussMikkiDee15-Feb-00 8:39 
    Generalgood Pin
    Anonymous4-Mar-02 0:24
    memberAnonymous4-Mar-02 0:24 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Terms of Use | Mobile
    Web04-2016 | 2.8.180318.3 | Last Updated 9 Feb 2000
    Article Copyright 2000 by Raghav Gupta
    Everything else Copyright © CodeProject, 1999-2018
    Layout: fixed | fluid