Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why doesn the Help callback work on some widgets?

callback help widgets
0
Posted

Why doesn the Help callback work on some widgets?

0

[Last modified: May 95] Answer: If you press the help key the help callback of the widget with the keyboard focus is called (not the one containing the mouse). You can’t get the help callback of a non-keyboard-selectable widget called. To get `context sensitive’ help on these, you have to find the mouse, associate its position with a widget and then do the help. The X Resource, Issue 6, has an article on implementing context help in Motif in this manner, that is, using the mouse position to indicate the widget for which context help is desired, as well as using resources to specify the help. The demo program lets you toggle between using the method described in the article and XmTrackingLocate() for comparision purposes. Contributed by: Jay Schmidgall jay@vnet.ibm.com (author of the article mentioned above). Thanks to chen@adi.com (Franklin Chen) for correcting the URL.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123