|
-
Apr 1st, 2007, 04:31 PM
#1
[RESOLVED] How do you close these apps??
The [X] doesn't seem to trigger any events...
How do you all close your mobile apps?
VS2005/Windows CE 5.0
-
Apr 2nd, 2007, 01:11 AM
#2
Frenzied Member
Re: How do you close these apps??
Hi,
the standard way in Windows Mobile is to minimise not close and let the OS take care of it.
Right.
Most folks don't think this is a good idea. To get your app to close rather than just minimise, change the minimize property on your main form to false, then it will close as normal when the user hits the 'x'
Pete
-
Apr 2nd, 2007, 03:57 AM
#3
Fanatic Member
Re: How do you close these apps??
i presume application.exit still exists in CF 2005? i use this to exit my 2003 applications. But i use that on button events to exit
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Apr 2nd, 2007, 07:20 AM
#4
Re: How do you close these apps??
Well - I could not find a MINIMIZE property on my form - I've only got one form.
Maybe VS2005 is different?
-
Apr 2nd, 2007, 08:50 AM
#5
Frenzied Member
Re: How do you close these apps??
Hi,
sorry - minimizebox
That will make it go through the closing event of the form, rather than just smart minimizing
Pete
-
Apr 2nd, 2007, 10:17 AM
#6
Re: How do you close these apps??
That is so odd.
In the IDE it's showing the standard three items - minimize, max, close
But on the PPC it's just one [X]
Changing the MINIMIZE BOX to false makes the PPC [X] change to [ok] - and like you said it will now close the app when [ok] is clicked.
What a strange world this mobile dev comes from
-
Apr 2nd, 2007, 10:17 PM
#7
Re: How do you close these apps??
Without a taskbar to speak of, it makes little sense to minimize in the same manner as a desktop program.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|