本文整理自网络,侵删。
delphi 如何屏蔽Alt+F4
procedure WMSysCommand(var Msg: TMessage);message WM_SYSCOMMAND;
procedure tform1.WMSysCommand(var Msg: TMessage);
begin
if Msg.wParam <> SC_CLOSE then
inherited;
end;
相关阅读 >>
Delphi listview 导出excel txt vcf 单元
Delphi xe filesizebyname 要引用哪些文件
更多相关阅读请进入《Delphi》频道 >>