Computer Science Canada

vbSystemModal

Author:  SuperGenius [ Sat Oct 30, 2004 10:59 am ]
Post subject:  vbSystemModal

If one were to use this command would it mess up other programs? I imagine that certain applications would not like being frozen and screw up....?

Author:  Tony [ Sat Oct 30, 2004 1:36 pm ]
Post subject: 

only if you're executing such in a Win16 environment (windows 3.1)

in win32
MSDN wrote:

vbSystemModal [4096] System modal. On Win32 systems, this constant provides an application modal message box that always remains on top of any other programs you may have running.

Author:  SuperGenius [ Sun Oct 31, 2004 2:13 pm ]
Post subject: 

If you made a message box with no exit button can someone still get out of it by ctrl+alt+del or other means?

Author:  Brightguy [ Sun Oct 31, 2004 3:03 pm ]
Post subject:  Re: vbSystemModal

Try it and see...
They should be able to use Ctrl+Alt+Delete to close your program.

Author:  wtd [ Sun Oct 31, 2004 3:29 pm ]
Post subject: 

Just use an API call which leaks memory. Eventually the computer will crash and the dialog will go away.


: