怎样固定form的大小?不可以修改?
解决方案 »
- 一个很奇怪的问题
- 求助:fastreport预览和打印问题
- 请教大虾们视频的对比度、亮度等参数胡信息保存在哪个结构体里,怎样初始化设置它们??
- 很急的问题啊...用Delphi 如何采集歌曲伴唱和麦克风的声音,然后保存为mp3文件...高分相送..
- 一个很怪的小问题,望高手指点!
- 如何在已打开的当前excel文件中插入一行记录,excel文件是新建的事先不知道文件名。(excel是在程序里打开的)
- 关于XML文件处理,急!!!高分求解决办法!
- 如何用SQL语句选出两个表的不同记录!
- 关于Fastreport的打印问题!!高手帮忙呀!!!!!!!!!
- 各位大侠,我不小心忘记了一个QQ的密码,想找回几个好友的QQ,有没有办法打开OICQ的数据库文件呀!(*.DB的,好像有加密,大虾一定帮忙呀,分数不够再加!)
- 请教一个dbgrid的问题
- tthread类的create 与thread对象的create 有什么区别? 100分!!
Constraints.MaxHeight = 200
Constraints.MaxWidth = 200
Constraints.MinHeight = 200
Constraints.MinWidth = 200
end
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;type
TForm1 = class(TForm)
Label1: TLabel;
private
procedure WMGetMinMaxInfo( var Message:TWMGetMinMaxInfo ); message WM_GETMINMAXINFO;
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation
procedure TForm1.WMGetMinMaxInfo( var Message :TWMGetMinMaxInfo );
begin
with Message.MinMaxInfo^ do
begin
ptMaxSize.X := 1000; {最大化时宽度}
ptMaxSize.Y := 1000; {最大化时高度}
ptMaxPosition.X :=10; {最大化时左上角横坐标}
ptMaxPosition.Y :=10; {最大化时左上角纵坐标}
end;
Message.Result := 0; {告诉Windows你改变了 minmaxinfo}
inherited;
end; {$R *.dfm}end.