[Migrated content. Thread originally posted on 11 September 2006]
I have implemented threading in our application for the display of various diary reminders etc. This thread is started as the application begins and gives the focus back to the main thread. The diary process(es) use an accept before time so that they can update their data and screen display (without getting focus). All works fine it would seem UNTIL the main thread does a DISPLAY MESSAGE BOX- this seems to default to Modal and gives me some strange behaviour, sometimes the diary thread gets focus yet the main thread still sometimes receives the mouse/keyboard input and various other combinations of trouble (I think dependent on the sequence of events in the two threads).Is there any way to get around this? or to use the message box as a modeless window?
Keith



