Hi! What about rounding out the shape?
I want to use "FMXForm.FCreateNormal(WizardForm.Handle);" so that I can put any image on top of the form and it will be rounded.
On the screenshots you can see it perfectly well, everything turns out using this:
Code:
function SetWindowRgn(hWnd: HWND; hRgn: LongWord; bRedraw: BOOL): Integer;
external '[email protected] stdcall';
SetWindowRgn(FMXForm.Handle, FormRegion, True);
But then the form and FMX live separately, i.e. the FMX layer moves on the WizardForm form.
SetWindowRgn works only with "FMXForm.FCreateNormal", I want to have the same view for all systems (from Win7 to 11) and have the ability to set parameters of form rounding.