Click here to Skip to main content
11,802,636 members (71,375 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB Windows Win7 VB.NET
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?[^]

Posted 28-Feb-13 4:34am
Edited 28-Feb-13 4:37am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I would try the following steps Smile | :) :
- Extending the Non Client Area in Aero[^]
- Setting the Window Region[^]
Michael Keizer at 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 at 1-Mar-13 8:08am
Just try it, set a some region to a bordered window :)
See also: .
Michael Keizer at 3-Mar-13 9:01am
I have problems to find a solution out of this sample from that article.
Michael Keizer at 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)

  Print Answers RSS
0 KrunalRohit 366
1 OriginalGriff 365
2 F-ES Sitecore 295
3 Afzaal Ahmad Zeeshan 230
4 CPallini 230
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,695
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 1 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100