IE7: How to block F1 key to show windows help in java applet?
843807Mar 25 2008 — edited May 8 2008Question
My applet use F1 shotcut key in each popup dialog(JDialog) to show application
help, IE6 works correct, but IE7 shows windows help also besides
applicaiton help.
By the way, when applet got the focus, the windows help do not popped up
when press F1 key. Who can help me?
The owner of the JDialog is sun.plugin.viewer.frame.IExplorerEmbeddedFrame
which is get by the following code:
Frame jFrame = null;
Container f = getParent();
while ((f != null) && (!(f instanceof Frame)))
{
f = f.getParent();
}
if (f == null)
{
jFrame = new Frame();
}
else
{
jFrame = (Frame)f;
} //else