On Thursday, May 1, 2014 11:42:16 AM UTC-7,
bcf...@aol.com wrote:
> I hope this group is not totally dead. Is there a way to turn off the focus to a dialog window when it is created? When the dialog comes up, I want it displayed, but do not want it to be the window in focus. Possibly something with "unmanageChild"?
Before managing the dialog, call XmGetFocusWidget to find the current focus widget.
Add a ConfigureNotify event handler to the dialog.
In the event handler, remove the event handler, then call XmProcessTraversal to send the focus back to the original focus widget.