G
Gary Brown
Hi,
I have a dialog box that must behave as MessageBox does
with regard to the TopMost property. It must be TopMost if
and only if the calling form is TopMost. A static method
creates the dialog box. Is there a way of determining if the
application is TopMost from a static method?
There are some inelegant workarounds but I would prefer to
do whatever MessageBox does.
Thanks,
Gary
I have a dialog box that must behave as MessageBox does
with regard to the TopMost property. It must be TopMost if
and only if the calling form is TopMost. A static method
creates the dialog box. Is there a way of determining if the
application is TopMost from a static method?
There are some inelegant workarounds but I would prefer to
do whatever MessageBox does.
Thanks,
Gary