Order and save right now!
20% off with the dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming!
If you want, that user can move your form by client area, then use WM_NCHITTEST handler to achieve this cool effect:
In the Forms private declarations add this
Create handler for this message with this code:
procedure WMNCHitTest(var Msg: TWMNCHitTest);
procedure TForm1.WMNCHitTest(var Msg: TWMNCHitTest); begin DefaultHandler(Msg); if Msg.Result=HTCLIENT then Msg.Result:=HTCAPTION; end;
More for developers