>I would like to provide context-sensitive help for an entire form. Currently it works everywhere but on the treeview control.Greg,
I had a similar situation with DBI-Tech's ctTree control. Their FAQ had a solution for trapping function keys. In the control's GotFocus event, I specified (using context ID of 10 as example):
ON KEY LABEL F1 HELP ID 10
And then in the control's LostFocus, I removed the on key label assignment. That definitely did the trick for me in terms of getting the help file to fire when hitting F1 from the actual control.
Laterness,
Jon
Jon Rosenbaum
Devcon Drummer