CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Ovale CButton

  1. #1
    Join Date
    May 1999
    Posts
    1

    Ovale CButton

    Is it possible to create an ovale button with CButton. If no what would be the beginning to try to write it from scratch ?


  2. #2
    Guest

    Re: Ovale CButton

    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
    ,,,^..^,,,


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured