I am creating a window program using VC++ through win32 API. I wanted to create a ellipse shaped window how this can be achived.
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.
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.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With