How to create runtime controls in MFC with rounded corners?

I need to create a progress bar with rounded corners in an MFC application. I tried using a combination of CreateRoundRectRgn () and SetWindowRgn (), which causes the control to completely disappear. I also tried using a transparent GIF overlay that would be drawn on top of the progress bar, but I could only get the overlay that would appear behind the progress bar. Any suggestions?

+6
c ++ progress-bar mfc
source share
1 answer
+2
source share

All Articles