lovespring
lovespring

Reputation: 19559

How to draw a round corner window a border?

in win32, we can use SetWindowRgn to give the window a round corner, how to draw a border for this rigon? it's not a rect.

Upvotes: 0

Views: 1218

Answers (1)

casablanca
casablanca

Reputation: 70691

Handle the WM_NCPAINT message and you can draw the window frame and borders by yourself.

Upvotes: 2

Related Questions