Click here to Skip to main content
Click here to Skip to main content

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

    Comments and Discussions

    GeneralIssues while using it in combination with the CRoundButton class PinsussBernd Giesen12-Jun-00 22:52 

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

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

    | Advertise | Privacy | Terms of Use | Mobile
    Web03 | 2.8.150327.1 | Last Updated 9 Feb 2000
    Article Copyright 2000 by Raghav Gupta
    Everything else Copyright © CodeProject, 1999-2015
    Layout: fixed | fluid