by Denise Spiers >> Tue, 4 Apr 2000 2:11:47 GMT
I need to know if the active form is modal or modless as if it is modal I do not want to allow a form to be shown as modeless.
My first thought was to use an exception handler, but no exception occurs. I have also found an example of how to do this in VB by checking for the existence of the WS-DISABLED setting in all other forms Window Style (VB modifies the window style of all other forms to contain WS_DISABLED when a form is displayed modal).
Do you know how I can determine if the active form is modal?
If not, do you have any suggestions of what I might try next ?
Thanks,
Denise.