PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Form close event
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Form close event
![]() |
Form close event |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
How do I trap the event when the user clicks on the X to close the application ? Which is the event to trap ? Also by default does the application goes in background and OS manages to bring to foreground when launched again ? I want to do this from CF.NET 2.0 application. Thx, Anand |
|
|
|
#2 |
|
Guest
Posts: n/a
|
The (X) does not close a Form. It's a minimize button. Use your favorite
search engine for "detect smart minimize" -- Chris Tacke, Embedded MVP OpenNETCF Consulting Giving back to the embedded community http://community.OpenNETCF.com "Anand Kale" <anand.kale@synerzip.com> wrote in message news:OIswd8THIHA.6096@TK2MSFTNGP05.phx.gbl... > Hi, > > How do I trap the event when the user clicks on the X to close the > application ? Which is the event to trap ? > Also by default does the application goes in background and OS manages > to bring to foreground when launched again ? > > I want to do this from CF.NET 2.0 application. > > Thx, > Anand > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

