When I use TsSkinProvider.DrawNonClientArea I get the exact opposite from what I want. I would need something like:
SkinProvider.DrawClientArea := False; // only borders and title are drawn
Your suggestion 'Behaviour of skinned form is equal to standard, so you can use constraints and other standard properties' doesn't work for me. When using a standard delphi-form I'm using the following code to prevent horizontal resizing:
procedure TForm1.WMNCHitTest(var Message: TWMNCHitTest);
begin
inherited;
if Message.Result in [HTLEFT, HTBOTTOMLEFT, HTTOPLEFT, HTRIGHT, HTBOTTOMRIGHT, HTTOPRIGHT] then
begin
Message.Result := HTNOWHERE;
end;
end;
The above code doesn't work when the form is skinned! I have tried to use TSkinProvider.OnExtHitText (with similar code) to get the same functionality but that didn't work either.
Any suggestions?
TIA