Click to See Complete Forum and Search --> : Antialiased round corners for dialog
shopgirl
May 2nd, 2006, 05:59 AM
Hi,
I have a normal dialog application with round corners, (corners which doesn't look really good) and I want to give them a smoothly look.
Any suggestions how could I do this? An example would be higly appreciated ... :)
I use Visual .Net 2003, Windows XP and MFC :).
Many thanks in advanced.
Mike Harnad
May 2nd, 2006, 09:31 AM
There are a some articles in the Dialog (http://www.codeguru.com/Cpp/W-D/dislog/) section that may interest you. In particular, this one (http://www.codeguru.com/cpp/w-d/dislog/miscellaneous/article.php/c1873/) .
shopgirl
May 2nd, 2006, 10:03 AM
Thank you for the links, but are not really helpfull because the problem is not how to make the corners round for a dialog, actually how can I make the round corners ANTIALISED ....
Any other ideas ... ? Thx.
Mike Harnad
May 2nd, 2006, 10:07 AM
How are you rendering them? GDI, OpenGL, DirectX...?
shopgirl
May 2nd, 2006, 10:59 AM
Gdi+
Mike Harnad
May 2nd, 2006, 11:05 AM
Antialiasing with Lines and Curves (http://msdn2.microsoft.com/en-us/library/9t6sa8s9.aspx) .
cindyonlyone
May 2nd, 2006, 11:57 PM
If you don't want to write many lines of codes, I think GDI+ is a very good choice for this problem.
Cindy
--------------------------------------------------------------------------
For high quality flow/diagram MFC/C++ Visio 12 Like visualization Source Code,download XD++ at:
http://www.********.net
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.