yvonne@esleng.ocunix.on.ca (Yvonne Leduc) (04/06/91)
I have a dialog which contains several XmText widgets created in uil. What I want to do is to have the text in the widget automatically selected whenever it receives the input focus so the text can be replaced when a key is pressed. I attached a XmNfocusCallback to each text widget. The XmTextSetSelection command seems to be what I need to use. The only problem is the last parameter for XmTextSetSelection is a time value which should be the same time as the focus callback. How can I get this time value. BTW, I am using ISC System V, X11 and Motif 1.0. Thanks.