General discussion

Locked

Default F-Keys - How Do I Disable Them?

By The BassMan ·
Greetings,

I am working on a team that is designing a training program in Flash. The subject application is running on an AS400 and thus many of the features of the application are access via the "F" keys. The problem arises that on PC's running Windows, anytime the F1 key is pressed "help" is accessed for the active app. Therefore, currently as the trainee is going along through this Flash trainer and it comes time for them to press the F1 key to accomplish some task or another, IE help is access along with the next screen in Flash.

My question is this: How can I disable the default functions assigned in Windows to the F1-F12 keys (especially the F1 key)? Is it in the Registry (please God no)? The OSes in question are Win95, Win98 &Win2000.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Default F-Keys - How Do I Disable Them?

by Bill_H In reply to Default F-Keys - How Do I ...

You are using a terminal emulation program to connect the PCs to the AS/400, right? Check the docs for that program - you probably have a utility to build a keyboard mapping file.

For further information, see the article "How to Change PC5250 Key Assignments
", which is located at:

http://www.as400.ibm.com/tstudio/ca400/map95.htm

Hope this helps...

Collapse -

Default F-Keys - How Do I Disable Them?

by The BassMan In reply to Default F-Keys - How Do I ...

Actually, the training program will run on PC's with the screen-shots taken from the AS400 application. The training program we are developing is designed to prepare employees to use the AS400 app without them having the opportunity to crash it.

Therefore, the problem is with the OS on the training PCs (Windows).

Collapse -

Default F-Keys - How Do I Disable Them?

by mpdcsup In reply to Default F-Keys - How Do I ...

Unfortunately, the key to your dilemma lies in the client (software component) hosting your Flash application. If you are using IE and an appropriate keystroke capturing HTML page such as this:

<html>
<script language=javascript>
function TrapKey()
{
alert(event.keyCode);
event.returnValue = false;
}
</script>
<body onkeydown=TrapKey()>
</body>
</html>

You can disable most (if not all) of the Windows accelerator keys by saving the HTML file with a .hta extension.

Collapse -

Default F-Keys - How Do I Disable Them?

by mpdcsup In reply to Default F-Keys - How Do I ...

Actually, using this method, you don't have to trap the keystrokes to prevent the 'F' keys from doing their Windows defined function.

Collapse -

Default F-Keys - How Do I Disable Them?

by mpdcsup In reply to Default F-Keys - How Do I ...

BTW, files with an .hta extension are HTML applications. You can find out more about them here:

http://msdn.microsoft.com/workshop/author/hta/overview/htaoverview.asp

Collapse -

Default F-Keys - How Do I Disable Them?

by mpdcsup In reply to Default F-Keys - How Do I ...

Remove the space in the link above after pasting.

Collapse -

Default F-Keys - How Do I Disable Them?

by The BassMan In reply to Default F-Keys - How Do I ...

Poster rated this answer

Collapse -

Default F-Keys - How Do I Disable Them?

by The BassMan In reply to Default F-Keys - How Do I ...

This question was closed by the author

Back to Windows Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums