Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am almost searching for a few months about a code snippet to change the standard Winforms border, but I found nothing in the net. I want to realize a rounded border in the bottom of a default winform like Windows Copenhagen concept.

Has anyone an idea how I can do it?

http://fc08.deviantart.net/fs50/i/2009/307/2/9/Windows_8_Concept_PSD_by_Creamy_Andy.png[^]

Thanks
Michael
Posted
Updated 28-Feb-13 4:37am
v2

1 solution

I would try the following steps :) :
- Extending the Non Client Area in Aero[^]
- Setting the Window Region[^]
 
Share this answer
 
Comments
Michael Keizer 1-Mar-13 5:51am    
Thank you Eugen.
I know how to use the Non Client Area and it's working fine. Therefor I use a PanelControl in the bottom of the Winform and place several other Contols on it. But I don´t know how to use the SetWindowRgn for the rounded border like in my screenshot and on the MSDN website I couldn't find any samples.
Eugen Podsypalnikov 1-Mar-13 8:08am    
Just try it, set a some region to a bordered window :)
See also: http://www.codeproject.com/Articles/31734/SonicUI-A-Convenient-GUI-Engine-You-ve-Never-Seen .
Michael Keizer 3-Mar-13 9:01am    
I have problems to find a solution out of this sample from that article.
Michael Keizer 12-Mar-13 7:42am    
No further suggestions???
Then I have to look somewhere else

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900