Prevent Win'95 shutdown

How can I prevent Win'95 from shutting down wilst my program is running.
Deep DiverAsked:
Who is Participating?
 
MatveyConnect With a Mentor Commented:
You have the OnCloseQuery event for the main form in which you can set some var that is posted with it to false if you don't want your app to close, and if your app wont close then Win wont  close also.

Good luck!
Matvey
0
 
WaldekCommented:
In Canclose event You may set a false
0
 
WaldekCommented:
In Canclose event You may set a false in main form of Your program
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
kriszCommented:
Is these worked? If not, there is another way.
0
 
Deep DiverAuthor Commented:
It works.....but not entirely as I`d like.
What is your suggestion "Krisz"
0
 
MatveyCommented:
Hi!

Sorry for the delay...
How exactly you want it to work?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.