I found a way to store some information in the window extra memory, and I now disable all the root windows of the current thread, but the message box still pops up for a second and then disappears. What could I try next ? Laurent Pinchart