按任意键退出屏幕保护程序要怎么写那
按任意键退出屏幕保护程序要怎么写那 ApplicationEvents控件procedure TForm1.ApplicationEvents1Message(var Msg: tagMSG;var Handled: Boolean);
begin
if (Msg.message=WM_KEYDOWN)or(Msg.message=WM_LBUTTONDOWN)or(Msg.message=WM_RBUTTONDOWN)then
begin
close; //Do something
end;
end; aminghanhua 发表于 2013-5-14 15:06 static/image/common/back.gif
ApplicationEvents控件
非常不错。。。
页:
[1]