• Advertisement
Sign in to follow this  

question about the window

This topic is 4248 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello all. i want to make my windows Window to be a circle (without the _ O X options of course) and not a square. how do i make it? thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
thanks but what if i want to make somthing round?

i got a rect and in ever corner its a bit round.
how can i make that i wont see the background in that place? that is what i want.
thanks in advance

Share this post


Link to post
Share on other sites
That's what my post explained...

Creating an elliptic region will create an ellipse which fits into the rectangle that you give the function. If you give it a square then it will spit out a region which is a circle. You then use SetWindowRgn() and the window will become a circle.

Share this post


Link to post
Share on other sites
Are you looking for an actual circular shape, or a rectangle with rounded corners?

The article is a little bit old, but this covers the general principles involved and gives a decent overview of how to do it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement