uses registry;
begin
with tregistry.create do
Begin
try
RootKey:=HKEY_CURRENT_USER;
if openkey('Software/Policies/Microsoft/Internet '+'Explorer/Restrictions',true) then
writeinteger('NoBrowserContextMenu',1{=1/0 //禁止/允许IE的右键菜单功能 }
finally
closekey;
free;
end;
End;
end;
禁止拷贝屏幕!除非拦截API涵数bitblt或streachbitblt!