Exit application when x is tapped - Windows Mobile Development and Hacking General

hi,
I want to make my app realy exit when user taps on the x button in the upper-right area of the screen, so what msg should I handle to do this?
I am using MFC eVC++ 4.0
Thanks
Mohammad

I don't remember the exact link right now, but on the same site I gave you before (www.pocketpcdn.com) there is an article about handling "smart minimize".
Just do a search.

there is already a program out there called wclose.exe when you hit the x it will ask you if you want to close, if you choose yes it shuts it down, if you choose no it just minimizes it

and there are plenty of other programs, but I don't remember their names.
I however remember that Wisbar Advance and SPB Pocket Plus has them

There's also MagickButton, but mohgdeisat is looking to incorporate this functionality in to a program he is writing, not to use a 3rd party app.
By the way, here is the link to the article:
http://www.pocketpcdn.com/articles/close_app.html

Thanks guys,
I got the topic and I am reading it, hope it works.
and a special thank you for levenum
Mohammad

be careful using such applications on some programs
not sure if it's the case with wm2005 but with 2003
closing outlook that way just after a sms would sendt
would result in a stuck sms icon and 2 sms's sendt

A anyone got link for wclose i cant seem to find it anywhere :?
Thanks

MagicButton or wclose?
Which is better MagicButton or wclose? I am using MB but sometimes it kind of makes prog go in a loop they don't shut down keep popping up. This is happening after the ROM upgrade... any help on which is the best prog for close app jobs?

wclose.exe
J273 said:
A anyone got link for wclose i cant seem to find it anywhere :?
Thanks
Click to expand...
Click to collapse
look at the third post from the top...

I use Vbar on my Magician and it just works very well.
Can't remember where I got it from so here it is :-

Related

WMP Keeps Appearing...

Hi,
Whenever I play a media file on my XDA II, and then close WMP, after about 5 mins it pops back up again, ready to play the file. This is annoying as I have to switch off my device, and switch it back on again to get it to stop.
If anyone could solve this i'd be pleased to know how
In WindowsMobile(WM), the "X" sign doesn't mean "close" but "minimized". If u wanna close the WMP, go to "running program" and stop the program.
Or use a third party apps that are able to change the "X" sign to be a real close, such as Spb pocket plus, Giga Task, etc...
satria said:
In WindowsMobile(WM), the "X" sign doesn't mean "close" but "minimized". If u wanna close the WMP, go to "running program" and stop the program.
Or use a third party apps that are able to change the "X" sign to be a real close, such as Spb pocket plus, Giga Task, etc...
Click to expand...
Click to collapse
i beleive this applies to most programs unless the application being used has it's own "quit" or "exit" function. i use systeminfo on the today screen to shut down all running apps when i don't want them anymore.
2 cents worth
robson
Hello, can you pls. tell me where do I find the systeminfo on the Today screen? Thanks a lot ! Petr
Robson said:
satria said:
In WindowsMobile(WM), the "X" sign doesn't mean "close" but "minimized". If u wanna close the WMP, go to "running program" and stop the program.
Or use a third party apps that are able to change the "X" sign to be a real close, such as Spb pocket plus, Giga Task, etc...
Click to expand...
Click to collapse
i beleive this applies to most programs unless the application being used has it's own "quit" or "exit" function. i use systeminfo on the today screen to shut down all running apps when i don't want them anymore.
2 cents worth
robson
Click to expand...
Click to collapse
hey,
not sure which ppc website i downloaded that freeware app, i think it was zdnet or something. but i do have the original cab and zip file for the systeminfo app i use. got an email where i can send it? it's a rather small file.
cheers mate
robson
I got it...
Hello Robson,
thanks for the offer, I guess I dont need it anymore, I downloaded app called WisBar Advance and it works pretty good.
Thanks anyway and sorry for the late answer, I was just starting with XDA so things take me some while
Petr
Alternatively, you can get rid of most "properly written" applications by just typing CTRL + Q on the keyboard, this will quit the app - works with WMP and all apps provided by MS.

WM5.o Compatible close button needed!

has anybody come across a one button close all application for WM5.0? Spb 3.0.1 is too slow on WM5 and Wisbar Advance 2.4.....is also too much for what is needed. Something like Magicbutton but written for WM5.0 would br nice, nothing that requires much memory, but something that enables the closing of running apps without having to go into start/settings/system/memory...etc.
Wouldn't it be nice if Microsoft had just written in that piece of code, as they are well aware that since PPC2000, that every application opened, remains so unless you manually close it down in memory (therefore hogging memory resources!) :evil:
Well if anyone knows of a WM specific solution, please do share.
mackaby007 said:
has anybody come across a one button close all application for WM5.0? Spb 3.0.1 is too slow on WM5 and Wisbar Advance 2.4.....is also too much for what is needed. Something like Magicbutton but written for WM5.0 would br nice, nothing that requires much memory, but something that enables the closing of running apps without having to go into start/settings/system/memory...etc.
Wouldn't it be nice if Microsoft had just written in that piece of code, as they are well aware that since PPC2000, that every application opened, remains so unless you manually close it down in memory (therefore hogging memory resources!) :evil:
Well if anyone knows of a WM specific solution, please do share.
Click to expand...
Click to collapse
I added couple files which they are usefull for you and they include the closeall app.
Install the cab files you'll see the close all, Reset and Running programs, which they can be clicked from the systray directly, after the installation they require a soft reset or else you go to Start>Programs>System open TrayLaunch and press Enable
GSPocketMagic++ is the most stable program I've tried. You need to put some amended bitmaps in to get it to integrate with WM5 but it works well...
http://www.pocketpcfreewares.com/en/index.php?soft=1276
Thanks guys. I'll try them both and let you know how I get on.
Damn!! My Jasjar is a Rocket!!
sub69 said:
GSPocketMagic++ is the most stable program I've tried. You need to put some amended bitmaps in to get it to integrate with WM5 but it works well...
http://www.pocketpcfreewares.com/en/index.php?soft=1276
Click to expand...
Click to collapse
sub69: I don't know what kind of coding they used in that software you recommended, but it has boosted refresh rates and performance in general by at least 30%!! I know this sounds crazy but it's true! My opinion has completely changed about the speed of the Jasjar. It seriously Rocks! I couldn't care less if it doesn't stay this way, because it shows me conclusively, that future ROMs' will probably address the issues I have had thus far.
I needed this. Thanks a bunch sub69; best link I've had with regards to Universal software.
OK 1 gripe only: I've lost my two soft buttons on the bottom bar (any ideas?). It comes back and stays operational after a soft reset, but as soon as I use the 'close all' option of the program, I loose the soft keys! Damn..there's always a hitch!
Another positive though, the speed boost remains even after I have exited the program and revert to standard WM5.0 launcher!
P.S. I had at least 12 programs running simultaneously with no slow downs at all and 15 megs of Memory still available (tried to run out of memory, But couldn't). Very pleased at the moment, this is what I was expecting from the HTC Universal!! I'll test extensively before I comment further.
Thanks again sub69, u da Man!!
Mental...I didn't realise it was that good!?!
Not sure about the soft buttons, although come to think of it I have noticed they've disappeared a couple of times. Must've been when I hit "Close All" too?
Glad I could help, anyway. Do let us know how things go...
Re:getting better all the time!!
sub69 said:
Mental...I didn't realise it was that good!?!
Not sure about the soft buttons, although come to think of it I have noticed they've disappeared a couple of times. Must've been when I hit "Close All" too?
Glad I could help, anyway. Do let us know how things go...
Click to expand...
Click to collapse
Still cannot believe it!! It's still going strong. Sussed the soft button thingy:Under start (GSPocket)/options/settings...uncheck the 2 tabs for'use exten task close' & 'Use Today skin'. That's it. It runs absolutely perfectly for me & with no need for amended bitmaps too! It fits right in wih my red or blue border themes (I only use my own jpegs now instead of themes - in the hope that I get no performance issues.....so far so good). Under menu settind tab I only select close all & setting (which gives me quick access to all settings in WM5.0..personal & system) and under 'click' tab I leave it as default 'Menu'. I'm so impressed with this software, I didn't think non-specific WM5 software coul be this good!
That site you recommended is also tops!
This software is so good that I must put up a new thread to inform all of your wonder find. I just hope all who try it get the same experience I'm getting. Thanks again sub69....I don't even feel the need for the next ROM update/grade...though I won't be turning it away.
Hmmm, not sure why you're that stunned. I'm finding it just fine - but certainly no faster than my JJ runs under PocketPlus 3.01, and the non-VGA graphics are a real step backwards. Anyone know how to solve this?
You mention a speed improvement; can you clarify: Before this, how long did it take to rotate the screen, and how long does it take now?
MagicButton (mbutton) works with batterymeter
Hi All,
I installed MagicButton (freeware) om my K-Jam. It works so far!
Cheers,
CookieM
pocketpcfreewares.com is great! They do an RSSfeed showing all new and updated software, too, so its a permanent fixture as a "Live Bookmark" on my Firefox bookmarks toolbar.
I must fiddle with some .bmp's for GSPocketMagic++...
Can someone tell me how to install this? In laymans terms
It's simpler than you think
trapper said:
Can someone tell me how to install this? In laymans terms
Click to expand...
Click to collapse
Carnivor said:
CJSnet said:
Which CAB file do I install?
Click to expand...
Click to collapse
GSPMagic.xscaleE.CAB for english on JJ
Sub69, nice start button, now the flawless look sets it off
Click to expand...
Click to collapse
That's the file you need to download for the Jasjar, then if you have an SD card reader, you can transfer it directly to it and install the .cab file by selecting it! If you don't have a card reader, let's hope you have a bluetooth dongle, as it's a small file then you can bluetooth it over. However if you have no problems with your activesync connection, just use that to dump the .cab file on your storage card somewhere or into 'My Documents' on the jasjar.
It's not complicated.
Read the posts craigiecraigie4!
craigiecraigie4 said:
Hmmm, not sure why you're that stunned. I'm finding it just fine - but certainly no faster than my JJ runs under PocketPlus 3.01, and the non-VGA graphics are a real step backwards. Anyone know how to solve this?
You mention a speed improvement; can you clarify: Before this, how long did it take to rotate the screen, and how long does it take now?
Click to expand...
Click to collapse
craigiecraigie4 said:
I can confirm that this programme is small and perfectly funcitonal for closing apps. If you're battling with PocketPlus for some reason, then this is definitely the way to go.
Click to expand...
Click to collapse
mackaby007 said:
For anyone like sub69 who have experienced relatively few problems with their universal, you might not notice any difference, but for anyone who is still suffering performance issues
Click to expand...
Click to collapse
Read the following thread and you'll see that I had performance issues with my jasjar, hence these posts:
Link:
http://forum.xda-developers.com/viewtopic.php?t=30443
ramram said:
I added couple files which they are usefull for you and they include the closeall app.
Install the cab files you'll see the close all, Reset and Running programs, which they can be clicked from the systray directly, after the installation they require a soft reset or else you go to Start>Programs>System open TrayLaunch and press Enable
Click to expand...
Click to collapse
Good App ! made my day, very useful and simple
Cheers
hrb
Yep, using it myself now - but no speed change over PocketPlus (even after hard reset to remove PP). Using it cos I like menu and PP didn;t offer all that much more that other apps don;t give me.

Magic Button square "X" and "OK" buttons

I have installed Magic Button 2.0 build 51023 on my HTC Wizard with WM5 AKU2.2. I really like the size of MB, but I have one question. The "OK" and "X" buttons are round like WM2003. I would like to use the square buttons that are standard on WM5. Does anyone know how to do this. I would guess that Wisbar and all the variants would have the same problem, but I am not sure. Any help would be appreciated.
I tried Magic Button on my Wizard and didn't like it.
I'm now using InClose
http://insoftwarehouse.com/downloads/index.php?l=en
I find it much better...it's free...and it's got a square icon!
Thanks ianmann. I haven't tried InClose. The soft reset feature is a nice bonus. I will try it out.
I just noticed, the cab file is over 800KB in size :shock: . That is almost 10 times the size of MB. I like the task manager to be in ROM for responsiveness. Thanks for the advice, but I think I will stick with MB. Does anyone know of a way to change the close and ok icons to the original square icons?
thanks for the app
Try wClose 1.1
There is an app wClose that is 8.5k :shock: in size, you should try-it.
Closes apps
Fully costumization.
Read the readme file.
Ah and its freeware.
http://www.pocketpt.net/forum/index.php?showtopic=8586
or direct download
http://www.pocketpt.net/forum/index.php?act=Attach&type=post&id=3961
iainmann said:
I tried Magic Button on my Wizard and didn't like it.
I'm now using InClose
http://insoftwarehouse.com/downloads/index.php?l=en
I find it much better...it's free...and it's got a square icon!
Click to expand...
Click to collapse
I've tried both. Magic button, as said, doesn't seems to fit the WM5 theme well. As for InClose, my unit seems to have problem with it that, my Picture and Video aren't working properly (no thumbnail) after it has been install. You might want to double check yours.
Re: Try wClose 1.1
RuiMg said:
There is an app wClose that is 8.5k :shock: in size, you should try-it.
Closes apps
Fully costumization.
Read the readme file.
Ah and its freeware.
http://www.pocketpt.net/forum/index.php?showtopic=8586
or direct download
http://www.pocketpt.net/forum/index.php?act=Attach&type=post&id=3961
Click to expand...
Click to collapse
RuiMg - wClose is EXACTLY what I was looking for. All I needed was something small that closed instead of minimized. I never would have found it since I am an American and thus foreign language-challenged :wink: . Thanks a bunch. Now if I could just get the really thin battery meter that went across the top that was part of MB, I would be set. I think I saw it in a forum here.
Mmm I'm going to give Wclose a try as well. Although I do like the way you can set exclusions on InClose so some applicatiions...like contacts and dialer..open faster. And on my device InClose takes less than 170k.
I'll suggest a battery meter....Batti...seems accurate and easy to see
http://pda.jasnapaka.com/
Edit: And you're right...my Pictures and Video didn't work either...so InClose is out the window.
I tried right now wClose as suggested, and works great... very small and you can't notice it. Thanks for the suggestion.

what is the link to show desktop

i was trying to assign a button to show the desktop
can any one help me with the path to the show desktop
thanks in advance
Start>Today
There isn't a simple way of removing it...
thanks imasri, but i was not trying to remove it but i was looking for the path ie location of the execution file that on clicking will show the desktop.... can you tell me where this file is located in the phone...
If you push the windows button twice, the desktop will be shown...
drgopoos said:
thanks imasri, but i was not trying to remove it but i was looking for the path ie location of the execution file that on clicking will show the desktop.... can you tell me where this file is located in the phone...
Click to expand...
Click to collapse
I would have thought it would be in the main windows folder. I coudln't find it there. Try looking, maybe i missed it.
jonc said:
If you push the windows button twice, the desktop will be shown...
Click to expand...
Click to collapse
Damn thats good to know!
jonc said:
If you push the windows button twice, the desktop will be shown...
Click to expand...
Click to collapse
thanks jonc for the suggestin but that trick is not working for me... may be because i am using wisbar advance to customize my start menu.....
i will try searching for the link in the windows menu folder....
If any one comes up with something please let me know
Not sure if THIS POST will help, but it gives the command lines for pretty much every Control Panel entry (i.e. everything under Start | Settings)....
There is a link to the today screen which you should be able to use in a shortcut on one of your menus....
HTH,
Mark.
mmm..
Read the wiki maybe you find answers:
http://wiki.xda-developers.com/
Mark Crouch said:
Not sure if THIS POST will help, but it gives the command lines for pretty much every Control Panel entry (i.e. everything under Start | Settings)....
There is a link to the today screen which you should be able to use in a shortcut on one of your menus....
HTH,
Mark.
Click to expand...
Click to collapse
Unfortuantely, the "Today" item there is for opening up the Today Screen Settings. I was trying to find such a "shortcut" myself a while back, and never did come up with anything. At this point, I think it can only be done programmatically, by "minimizing all running apps". I haven't looked, but there's probably a pretty simple Windows API call for that.
Similar to what a couple of other suggestions here have been, there is probably some alternative that you can use to get to the Today Screen easily. I use Wisbar Lite, and as such, I lose the Double Click the Windows Button, and simple Menu->Today features. But I found I can configure Wisbar Lite to give me pretty easy access. I also believe it was SPB Pocket Plus that gave me link that I use to program my PPT button to go to the Today Screen on a quick press. Don't know where exactly, that link really is, so I can't investigate how it's actuially done.
Maybe some of the above will help you?
-pvs
Guys thanks for all the suggestions and links...
i have done something else and its so good now...
@Mark Crouch thanks for the link, i am sure those short cuts are pretty handy..
@jlopez0978 reading wiki did not help .. i usually go there first before i post
SO this is what i did...
there is a program from " CHRIS" of the lakebridgesoftware forum
http://www.lakeridgesoftware.com/forum/showthread.php?t=11394&page=3
see the post no. 29......
this program will toogle to the desktop... and its graphics are good like htc touch......
i made a link to this program to one of the hardware button( PTT) and now i can toggle to desktop with one key press
Gopu
Good find!!!
I've installed it on my Hermes now too - you're right, it works great!!!
Cheers,
Mark.

How to stop listing my recent programs!!

Hi all , I need a help
How can I stop listing my recently opened documents??
actually, it is annoying !!! I hope your help friend
by the way, I use appl SKTools 4.21 to clear the list ..... but it is some thing bothering me ....
Thanx in advance for all
if your talking about the recent programs list in the start menu...theres a program called startclean, that clears the list every time you reboot, other than that, i dont know....
theres a link for the startclean.exe somewhere in the forums
the program wisbar advance allows you to not show the recent apps list at all. Its a cool little launcher program that I quite like and have used for a while. I'm trying out Ultimate launcher at the moment but like wisbar more. It is a commercial program but the benefits far outweigh the cost. There is a trial but I'm not sure for how long. Hope this helps.
Imado said:
Hi all , I need a help
How can I stop listing my recently opened documents??
Click to expand...
Click to collapse
It won't stop them getting listed as you use them but whenever StartClean (tiny wee cab, lots of copies of it posted around here) will make sure your start menu is clean whenevr you soft reset.
(I cook it into my ROMs every time, so useful).
It won't stop them getting listed as you use them but whenever StartClean (tiny wee cab, lots of copies of it posted around here) will make sure your start menu is clean whenevr you soft reset.
(I cook it into my ROMs every time, so useful).
Click to expand...
Click to collapse
thanks (ultramag69), thank you (lupes5) ......
Thank you a lot (Chunkymonkey)
My friends, I have searched for the program you advised "start clean" but couldnt find ........... plz would u guide me to the link ....
and wish the version is compatible with WM6
Appreciated in advance
Hi every body
Finally, I found StartClean application and place it properly on the Hermes
but It was noticed that the programs keeps listing ..... and the only way to DELETE them is (with a restart / or with every restat)
actually, my question is: can we CANCEL listing the programs at all !!
I think this has to do with Registery !!! dont u think so??
please comment ....
Per your request for start clean.
Search Results here:http://www.google.com/cse?cx=000825...lean"&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8
One thread with Info: http://forum.xda-developers.com/showthread.php?t=302377
Download Program:
http://forum.xda-developers.com/attachment.php?attachmentid=37076&d=1176436466
Imado said:
thanks (ultramag69), thank you (lupes5) ......
Thank you a lot (Chunkymonkey)
My friends, I have searched for the program you advised "start clean" but couldnt find ........... plz would u guide me to the link ....
and wish the version is compatible with WM6
Appreciated in advance
Click to expand...
Click to collapse
Sorted....
As I said, Wisbar Advance 3 (for WM06) allows you to NOT SHOW recently used apps. It is part of the settings where you can pick if you want "help", "find", "desktop", "favourites" and recent settings" by ticking/unticking a box. You can also change the indicators across the top and their order. I would suggest this if you dont want to be troubled by "Recent Items" again... Cheers
ultramag69 said:
As I said, Wisbar Advance 3 (for WM06) allows you to NOT SHOW recently used apps. It is part of the settings where you can pick if you want "help", "find", "desktop", "favourites" and recent settings" by ticking/unticking a box. You can also change the indicators across the top and their order. I would suggest this if you dont want to be troubled by "Recent Items" again... Cheers
Click to expand...
Click to collapse
Mm, I'm pretty sure that this or another app would be the only way to do that and ultramag69's suggestion of Wisbar Advance is probably the most popular option.
Other than that (if you don't want that running - it does do a lot of otyher, clever thigs you might also find yuo enjoy though) I think you'll have to search about, probably with Google or your own perferred search engine. there's probably some freeware aruond to do that task only and therefore be 'smaller' I'd have thought. StartClean does me as I do like to have the programs I just launched sat there but not on boot-up.
Hi,
Found this link. Haven't tried it yet to see if it just removes them temporarily or stops it from listing them, but worth a shot.
http://groups.google.com/group/microsoft.public.pocketpc/browse_thread/thread/d4537c1a66a31057
Let me know how it works
Disregard
Got Home and tried it and on mine under WM6 it doesn't work. Will keep looking.

Categories

Resources