HRGN hRgn1 = CreateRoundRectRgn(0,0,400,400,50,50);
SetWindowRgn(hWnd, hRgn1, TRUE);
If I use this function directly, the window corners have a lot of aliasing, how Do I make it look smoother?
Or, it will need an image, but I wanted to realize it with the WindowDC(HBITMAP)
.