Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!uhccux!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!bohra!ejp From: ejp@bohra.cpg.oz (Esmond Pitt) Newsgroups: comp.windows.x Subject: Focus problems Message-ID: <370@bohra.cpg.oz> Date: 8 Mar 90 00:35:03 GMT Reply-To: ejp@bohra.UUCP (Esmond Pitt) Organization: Computer Power Group, Melb, Australia Lines: 20 I have a window containing several text widgets, and under various circumstances I need the keyboard focus to be directed initially to a particular widget under control of the application (which I am not writing - I'm just writing them a Motif interface). I've tried XtSetKeyboardFocus() but: (a) I don't sufficiently understand why there are two parameters, although I have both set plausibly, and (b) if the target widget is not the first-created, text widget both the target widget and the first-created have blinking cursors when I re-enter XtMainLoop(). What's going on here? -- Esmond Pitt, Computer Power Group ejp@bohra.cpg.oz