views:

62

answers:

1

Many recent keyboard from Microsoft and Logitech have a so-called F-Lock key, which toggles the function keys F1 to F12 between their traditional keycodes and new meanings that are printed onto the keys: F1=Help F2=Undo F3=Redo F4=Open ... . (See also http://en.wikipedia.org/wiki/F-Lock.)

This means that long-established shortcuts such as Alt+F4 no longer work if the F-lock is off, and googling shows that quite a few people are unhappy about this.

So I'm wondering, what virtual key (VK) codes do the function keys send when F-lock is off? VK_F13 to VK_F24 perhaps? Or do they not trigger standard keyboard events at all?

(I haven't got such a keyboard to try and find out myself, and didn't manage to dig up anything on MSDN about this.)

A: 

This article says you can't detect F-lock programmatically http://jtsang.mvps.org/flock.html

Stephen Kellett