PC Review


Reply
Thread Tools Rate Thread

Form close event

 
 
Anand Kale
Guest
Posts: n/a
 
      2nd Nov 2007
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


 
Reply With Quote
 
 
 
 
Guest
Posts: n/a
 
      2nd Nov 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Close Form Event PeterM Microsoft Access 4 6th Jun 2010 05:18 AM
Form.Closing event not fired always when i call Form.Close method berylwilson Microsoft Dot NET Framework Forms 1 20th Apr 2007 03:11 AM
Proper way to close a form in the Form Load event robert d via AccessMonster.com Microsoft Access Form Coding 2 15th Jan 2006 02:58 AM
Close Form after certain event happens =?Utf-8?B?R2lsYmVydCAyMDk3?= Microsoft Access Forms 1 13th Oct 2005 02:29 PM
Form On-Close event Johnb Microsoft Access 1 20th Oct 2004 03:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:47 PM.