Click here to Skip to main content
Licence 
First Posted 8 Feb 2000
Views 105,251
Bookmarked 55 times

Elliptic Buttons

By | 8 Feb 2000 | Article
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

    License

    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

    Member



    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralBackground Rectangle PinmemberFlexMaster10:03 19 Apr '02  
    GeneralIssues while using it in combination with the CRoundButton class PinsussBernd Giesen21:52 12 Jun '00  
    GeneralNice One! PinsussMikkiDee8:39 15 Feb '00  
    Generalgood PinmemberAnonymous0:24 4 Mar '02  

    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.

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