Event problem

Event problem

Post by seem » Wed, 17 May 2006 23:53:23

Hi all,
I am new to motif programming, I have problem while dispatching an
event to the edit part of the combo box.The code I have written has
problem in the japanese locale (japanese input method) so ultimately my
combo box hangs when tried to input !! here is the code,

XtDispatchEventToWidget(comboEdit, &event);

Is there any work around or using any other motif function can I
achieve the same with out the regressions?

Thanks in advance,
Seema Rao

Event problem

Post by Fred Klein » Thu, 18 May 2006 07:19:30

Why are you dispatching an event to the widget? What is it you are
trying to do?
It is rarely correct for an application to use XtDispatchEventToWidget.
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Software Reuse Project