how to find out if a window is running modal

Hi,

There must be a way to detect whether a dialog box is running modal or not!

I can't find anywhere...

Regards,
Juan

P.S.: I have an idea: when a dialog is modal, t has a particular modal loop message handler whicch is different from the WindowProc of the application..if we could compare their addresses we might find if it is in modal loop, right??
Last edited on
Topic archived. No new replies allowed.