CodePudding user response:
Don't understand what you wantCodePudding user response:
CreateRectRgn, CreateRectRgnIndirect CreateEllipticRgn... Create an area, such asThen use SetWindowRgn cut a form was the regional shape
For example a button to get into the oval
Var
H: HRGN;
The begin
H:=createellipticrgn,0,80,80 (0);
Setwindowrgn (for the handle, h, true);
.
CodePudding user response:
To round can directly use createroundrectrgnCodePudding user response:
I'm afraid to your pictureCodePudding user response:
Put the picture up