T.R | Title | User | Personal Name | Date | Lines |
---|
814.1 | More info... | 21850::WEAVER | Laboratory Data Products/Science | Mon May 22 1989 15:35 | 5 |
| I should add that I have tried using XtSetValues and XtAddEventHandler
with little success, using XtParent(widget) for the widget id.
-Dave
|
814.2 | | DECWIN::KLEIN | | Mon May 22 1989 15:54 | 10 |
| One trick that I've resorted to on occasion for dialog boxes that are
particularly reluctant to take focus is to create a "dummy" SIMPLE_TEXT
widget, positioned at -100,-100, as a managed child of the dialog box.
SText seems to be able to encourage the dialog box to take focus when
all else fails.
I know this is a gross kludge, but it works...
-steve-
|
814.3 | Does that force the window manager to send an event? | 21850::WEAVER | Laboratory Data Products/Science | Mon May 22 1989 17:38 | 11 |
| Re: .2
The title bar highlights, so I assume that the dialog box is getting
input focus, I just can't figure out how to get the input focus
event to my process. I can get input focus just fine from the dialog
box itself, I need to know how to get an event from the portion
of the window that the window manager owns.
Thanks,
-Dave
|
814.4 | Events vs. Callbacks | 21850::WEAVER | Laboratory Data Products/Science | Mon May 22 1989 18:24 | 5 |
| My problem was I was mixing callbacks with events. I can get a
callback for the dialog box, and an event for the title bar.
-Dave
|