VB windows behavior

Netrunner
09-11-2003, 09:51 AM
Hello everybody.
I got a question:
I need to load a form which works as a dialog, and I want the user NOT to be able to do anything until he chooses OK or Cancel on this form, which includes giving focus to other windows apps running, the desktop, my computer, the start menu or whatsoever. Basically, the user has to choose one of the options before being able to do anything else on the PC. is there any way to do this?
Thanks in advance

NeT :D :D :D :D

OnErr0r
09-11-2003, 09:55 AM
Only within your own application.

FormName.Show vbModal

00100b
09-11-2003, 10:01 AM
From MSDN:

The SetSysModalWindow function is obsolete. It is provided only for compatibility with 16-bit versions of Windows. The Win32 input model does not allow for system modal windows.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum