
You need to stuff the event queue.
There's an SDK API to do it from C. Do a WM_KEYBOARD PostMessage to the the dialog, using FindWindow to find it. I did this once, back in Windows 3.0. Scheduling is tricky with a modal dialog up, but if you do it from a hook function of some sort, you might just get scheduled.
Also, I've heard mention of something called Microsoft Test, which came out after I'd quit doing Windows hardcore.
What, you were hoping this would be easy?
[link|http://www.angelfire.com/ca3/marlowe/index.html|http://www.angelfir...e/index.html]
Sometimes "tolerance" is just a word for not dealing with things.