Submitted by Anonymous on Thu, 01/11/2001 - 19:38. Developers
I want to set focus to a particular window. There is a motif call to set keyboard focus but that doesn`t cause the window border of the menu to become hilighted. Also the menu i want to set focus to doesn`t have a text field. Any ideas?
Mon, 07/02/2012 - 11:40
#1
Setting Window Focus
Are you talking about a tear-off menu? Generally, the menu would not be posted.
In any case, XmProcessTraversal() is the best call to use.
Note that changing the focus for the user is an often-questionable act; you should really be sure that this change makes sense in your user interface.