You could catch the EVENT_KEYPRESS in all your controls, check for the F1
key and call a common function passing it the callback function name (either
from the __func__ macro or from a GetCtrlAttribute(, ATTR_FUNCTION_NAME, )
And from there do some contextual matching.
--
Guillaume Dargaud
http://www.gdargaud.net/