suspending a process but allow windows msg to get through

Hi all,

Problem scenario

We have 1 main tread and one secondary thread.

The main thread detects a certain condition pops up a message box to the
user.
Second thread detects the same condition and pops up a message box, over the
first one.

It now possible to access buttons in the application windows created by the
main thread.

How to we supped access to all the windows of the application except for the
last message box that was created.

We then want access back to the app restored on the user pressing one of the
keys in the messagebox.

Any suggestions ?

thanks

Robert Fernando
Anite Telecoms Ltd
110 Fleet Road
Fleet
Hampshire GU51 4BL
United Kingdom
Tel: +44 (0) 1252 775200
Fax: +44 (0) 1252 775 321
Email: xxxxx@anitetelecoms.com

Anite Telecoms Limited Registered in England No. 1721900 Registered
Office: 100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP,
United Kingdom


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com