Adding vbApplicationModal thus:
fails to make the box app modal.
Code: Select all
' MsgBox "test" ,vbApplicationModal,"test"
I have a VBS script run from MM that shows a dialog box (using MsgBox) and though when this appears it is on top, if the mouse wanders over a tooltipped control in the inactive MM window behind, MM shows a tolltip (presumably a bug) which brings the MM window in front of the dialog. I want the dialog to stay visible, and am happy that MM accepts no input meanwhile, so app modal seems a good solution. Alternatively if there's an 'always on top of app's other windows' option, I'd like to hear.