473,396 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

System Modal forms possible?

I'd like to be able to make a full screen form in one of my apps
inescapable: disable the Start button, Alt-Tab etc. until my application
closes the form. I seem to remember VB3.0 distinguishing between system
modal and application modal forms. A System Modal form seems like it
would fill my need.

Are system modal forms still possible? the Form.ShowDialog() method
seems to offer more of an application modal behavior.

I believe I remember reading that they were considered exploitable and
had been removed from the .Net framework. If that is the case is there
an alternative that would block Alt-Tab switching and access to the
Start bar?

Thanks for any help!
DC
Nov 16 '05 #1
2 5038
TopLevel will make your form stay on top of all other windows.

About disabling the start button and Alt-Tab, I'm not sure why you want to
do that. Nobody likes an app that does that. Please consider redesigning.

Thanks
vJ

"D Cameron" <da******@hotmail.com> wrote in message
news:#q**************@TK2MSFTNGP12.phx.gbl...
I'd like to be able to make a full screen form in one of my apps
inescapable: disable the Start button, Alt-Tab etc. until my application
closes the form. I seem to remember VB3.0 distinguishing between system
modal and application modal forms. A System Modal form seems like it
would fill my need.

Are system modal forms still possible? the Form.ShowDialog() method
seems to offer more of an application modal behavior.

I believe I remember reading that they were considered exploitable and
had been removed from the .Net framework. If that is the case is there
an alternative that would block Alt-Tab switching and access to the
Start bar?

Thanks for any help!
DC

Nov 16 '05 #2
Well, it's to run Psychology tests on undergraduates who are being paid
or given credit for it, and although it's unlikely they'll goof around,
since they need to finish the experiment to get the goods, it would be
nice to prevent them if possible.

So ya, Tyranny is what I'm looking for :D

Maybe TopLevel will be enough tho.

Dave
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris | last post by:
Modal forms are great for locking the user out of non focused forms allowing tight control over program flow, but they have one side effect which user find very irritating i.e. Access cannot be...
2
by: cassidyc | last post by:
Hi, I was wondering if anyone has come accross this issue? And if they have any solutions I have that can create new copies of itself Form1 as = new form1(); af.show(); This form can also...
3
by: Earl Teigrob | last post by:
Can a Modal Dialog Box do forms ASP.NET forms validation from within the Modal Box? I want to pop up a dialog box to the user and have it do its own post backs with validation checking and then...
0
by: Ben | last post by:
Please excuse if this ends up being a double post at some point. I tried posting using another website which crashed, so I am not sure if it will ever get posted. As such I decided to try again...
4
by: Greg Smith | last post by:
I have a user who likes to keep my application minimized. He wants to have a pop up of some sort come up to tell him he needs to return to the application to take action. I have used both...
23
by: Chukkalove | last post by:
Im sorry, I dont know the correct description for a hierarchy of parent and child forms. I have a main form that opens a child form modally. This child form in turn opens it's own child form...
2
by: =?Utf-8?B?TmF0aGFuIFdpZWdtYW4=?= | last post by:
Hi, I am wondering why the .NET Framework is quite different from Win32 API when it comes to displaying system modal message boxes. Consider the four following types of system modal message...
4
by: Johnny Jörgensen | last post by:
In my current project I've got some DataGridViews containing multiple hidden columns. For some reason 8 of the 10 grids I've got on my form has suddenly started showing 1 of the hidden columns...
2
by: diogenes | last post by:
I have created many shortcut/popup (aka context, or right-click) menus for my application - instead of toolbars or standard drop-down menus. Within my custom menu, I am using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.