怎样屏蔽掉开始按钮? (转)[@more@]procedure TForm1.Button1Click(Sender: T
object);
begin
{Disable the start button}
EnableWindow(FindWindowEx(FindWindow(' shell_TrayWnd', nil),0, 'Button', nil),false);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
{Enable the start button}
EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil),0,'Button',nil),true);
end;
注意:如果按win键还是可以弹出开始菜单的。
begin
{Disable the start button}
EnableWindow(FindWindowEx(FindWindow(' shell_TrayWnd', nil),0, 'Button', nil),false);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
{Enable the start button}
EnableWindow(FindWindowEx(FindWindow('Shell_TrayWnd', nil),0,'Button',nil),true);
end;
注意:如果按win键还是可以弹出开始菜单的。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752043/viewspace-990000/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10752043/viewspace-990000/
本文提供了一种通过编程方式禁用Windows开始按钮的方法,并提供了具体的Delphi代码实现。需要注意的是,即使开始按钮被禁用,按下Win键仍能调出开始菜单。
1万+

被折叠的 条评论
为什么被折叠?



