how to find out if a window is running modal

Mar 14, 2022 at 11:54pm
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 Mar 15, 2022 at 12:41am
Mar 15, 2022 at 12:00am
Topic archived. No new replies allowed.