procedure TForm1.FormCreate(Sender: TObject);
var
l: DWORD;
begin
l := GetWindowLong(Self.Handle, GWL_STYLE);
l := l and not (WS_MINIMIZEBOX);
l := l and not (WS_MAXIMIZEBOX);
l := SetWindowLong(Self.Handle, GWL_STYLE, l);
end;
Here you can find some interesting and useful Delphi tips. I will be glad if you can share your knowledge with other people by posting comments and any other kind of useful information regarded to Delphi. Thank You!
No comments:
Post a Comment