Autor Beitrag
wwerner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 185



BeitragVerfasst: Di 16.07.02 13:42 
Lösung für D3

In den interfaceteil deiner Form

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
TfrmMain = class(TForm) 
  ...... 
  private 
    procedure wmGetMinMaxInfo(var Msg : TMessage); Message wm_GetMinMaxInfo; 
.....


Implementationsteil

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TfrmMain.wmGetMinMaxInfo(var Msg : TMessage); {begenzt die erlaubte Formulargröße} 

begin 
  PMinMaxInfo(Msg.lParam)^.ptMinTrackSize := Point(640 ,480); 
  PMinMaxInfo(Msg.lParam)^.ptMaxTrackSize := Point(1024,768); 
end;