Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a ellipse shaped window with VC++ using win32 API

I am creating a window program using VC++ through win32 API. I wanted to create a ellipse shaped window how this can be achived.

like image 744
Ravi shankar Avatar asked Aug 27 '09 08:08

Ravi shankar


People also ask

What is the function of ellipse in a paint application?

The Ellipse function draws an ellipse. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined by using the current pen and is filled by using the current brush.

What is Winapi macro?

WINAPI is a macro that evaluates to __stdcall , a Microsoft-specific keyword that specifies a calling convention where the callee cleans the stack. The function's caller and callee need to agree on a calling convention to avoid corrupting the stack.


1 Answers

well, this is so late reply but I thought it would be important for you to know. There is a freeware generates source code for VB, C++, C# and Delphi.All you have to do is design your form in photoshop or whatever painter, let that software detect the shape you designed and generate a code for you. You can study that code or just use it. Don't forget to read the help coz there are some issues concerning compiling. Happy Shaping. http://www.byalexv.co.uk/

like image 166
Eed Avatar answered Sep 28 '22 08:09

Eed