Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a C# window application. when my modal popup window open i dont want to allow other window access.when that modal window close then i want to allow other available window access.How to achieve in C#.NET 3.0?

Thanks,
BarmatePCEA
Posted
Comments
LittleYellowBird 28-Sep-11 9:18am    
Hehe! If you are going to keep posting the same question then it is a good idea to use another ID, BUT it would also be a good idea to rephrase your question! .... I quote from your last question "I have a C# window application.when my modal popup open i dont want to allow other window ...." Now honestly tell me you are not the same person? This behaviour will annoy people - its your choice but I think you will get more help if you act nicely. Just my suggestion.

1 solution

If you mean that your form should prevent activation of all other windows, even those that belong to other applications, that is very bad design, and is not simple from .NET.

Google for "System Modal C#" and you should find what you need.

It is a very bad idea though and should be avoided in all normal operations.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900