精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● Delphi>>Windows API函数>>Windows>>Re: Delphi中如何屏蔽掉Win95键,C

主题:Re: Delphi中如何屏蔽掉Win95键,C
发信人: [email protected]()
整理人: teleme(2001-01-03 15:33:52), 站内信件

【 在 [email protected] (Thinboy) 的大作中提到: 】
: 【 在 raymanii (雷曼) 的大作中提到: 】
: : 当你不需要让用户按Alt+Enter、Ctrl+Alt+Del、Ctrl+Esc等功能键的时候加入以
: : 下代码:
: : Var
: : temp:integer;
: : begin
: : SystemParametersInfo(Spi_screensaverrunning,1,@temp,0);
: : end;
: :   当你要恢复功能键时用以下代码:
: : Var
: : Temp:integer;
: : begin
: : SystemParametersInfo(spi_screensaverrunning,0,@temp,0);
: : end;
: :   我收集了一些类似的技巧,想要的话E-mail to : [email protected]
:   Thanks

此法在NT下无效。

--
※ 来源:.网易虚拟社区北京站 http://bj.netease.com.[FROM: 202.96.51.95]

[关闭][返回]