new to event processing, need to force refresh?

Hi,

I have a client-server system using CORBA. The GUI is the server. The client sends CORBA messages which I then send on to the GUI via ProcessEvent() (had tried AddPendingEvent() first). I want to display data from the CORBA message in a wxHtmlWindow. I'm using SetPage() for that. After recieving 16 CORBA messages, only the last one is displayed. These happen quite rapidly, probably on the order of 1 milisecond apart. These messages "two-way"; each must return before the client can send another. This is for a real-time control application. I _do_ want each message displayed before the next CORBA message is allowed to be sent (in one particular mode), even though it delays the client in the process. I have tried Refresh() and OnPaint() against the wxHtmlWindow, but these no not help.

How can I force the wxHtmlWindow to be updated for each message rather than only for the last one?

Incidently, the CORBA server and the GUI are in different threads (I'm using TAO, the ACE ORB). When a CORBA message is recieved by the server, it must be dispatched to the GUI. It looks as if even though the CORBA messages are two-way, the handler in the sever (in a separate thread on the GUI side) returns before the event is processed in the GUI (even though ProcessEvent() is used), allowing the client side to send another message.

Any ideas?

Thank you,

Bruce