求助,最小化消息.急 请问要重写WINDOW的最小化动作应该怎么写.窗口最小化对应WINDOW的哪个消息啊?谢谢啦! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, CheckLst;type TForm1 = class(TForm) private { Private declarations } procedure WMSysCommand(var Message:Tmessage); message WM_SYSCOMMAND; public { Public declarations } end;var Form1: TForm1;implementation{$R *.dfm}procedure TForm1.WMSysCommand(var Message:Tmessage); begin if Message.WParam=SC_MINIMIZE then ...; else inherited; end;end. procedure TForm1.WMSysCommand(var Message:Tmessage); begin if Message.WParam=SC_MINIMIZE then exit; //不让退出了,呵呵 else inherited; end; 怎么将文字转成普通话和粤语? 求在delphi中使用adoproc控件调用oracle存储过程的方法和步骤 倾家荡产求一有关打印和打印预览的问题解决 如何通过TCP传输xml 有没有可能存在不同商品但是有相同的条形码? 一个很有趣的问题,高手请进! 如何在已知的月份上加1 菜鸟 的 疑惑 问个事儿,怎么把DBISAM中的GRAPHIC赋给TBitmap? 自制支持文件拖放的VCL组件 dbgrid里面怎么加列表框? 求[]号的用法(没分了,累足了再加)
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, CheckLst;type
TForm1 = class(TForm)
private
{ Private declarations }
procedure WMSysCommand(var Message:Tmessage);
message WM_SYSCOMMAND;
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.dfm}
procedure TForm1.WMSysCommand(var Message:Tmessage);
begin
if Message.WParam=SC_MINIMIZE then
...;
else inherited;
end;
end.
begin
if Message.WParam=SC_MINIMIZE then
exit; //不让退出了,呵呵
else inherited;
end;