Disabling all application windows
Posted on 2001-06-26
As part of a project, I'm writing a C/C++ Win32 API DLL which is hosted by a third-party application.
My DLL needs to present a modal dialog (whether it's a std. Windows "GetSaveFileName" or my own dialog).
The dialog needs to be modal, at least in the host application (disabling all windows, palette, dialog currently in the application).
So far, so good.
Now comes the tricky part.
When my dialog is open, I can't get the application windows to be disabled.
Any simple C/C++ code to do this?