Hi,
Is the form you are attempting to close a modal dialog (shown via
.ShowDialog)? Here is what I was able to discover about this issue:
When you attempt to 'End Task' on one of the forms in the running programs
list, it sends a WM_CLOSE message to this form (which gets translated to
the Closing and Closed events). The running programs dialog then waits to
see if your form has been completely destroyed - and if it has not, it
assumes it is not responding and shows the dialog you are seeing. For
.NetCF dialogs, since they are meant to be reused, they are not completely
destroyed upon being closed.
The workaround for this is to not re-use your dialogs, and in the 'Closed'
event, call this.Dispose. The other alternative is to use .Show if you
don't really need a modal dialog.
Hope this helps,
-Katie
This posting is provided "AS IS" with no warranties, and confers no rights.
***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts:
http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp
--------------------
| From: (e-mail address removed) (obiwan1130)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Stop Program from Running Programs
| Date: 19 Dec 2003 07:26:04 -0800
| Organization:
http://groups.google.com
| Lines: 14
| Message-ID: <
[email protected]>
| NNTP-Posting-Host: 24.116.42.8
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1071847564 29600 127.0.0.1 (19 Dec 2003
15:26:04 GMT)
| X-Complaints-To: (e-mail address removed)
| NNTP-Posting-Date: Fri, 19 Dec 2003 15:26:04 +0000 (UTC)
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!f
u-berlin.de!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:41399
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I have sort of a strange problem that I have yet to uncover the cause
| of...
|
| If a user attempts to stop my application from the Memory>Running
| Programs control panel applet, the following screen appears:
|
| This program is not responding. It may be busy, waiting for a response
| from you, or it may have stopped running.
|
| Tap cancel to ignore...
|
| To close program immediately, tap End Task.
|
| Anyone have any thoughts as to why
|