News | Articles | Libraries | Developer Tools | Books | Forum Links | Search   
Sections:
 

QA: What applications are listed in the running program list?

By Alexander Shargin, May 09, 2003.
Print version

Question

I do not want my application is listed in the running programs list. How can I make it does not appear there?

Answer

Running programs list is accessed via Settings->System->Memory applet (Running Programs tab). But in fact this list displays not programs but titles of top-level windows (i. e. it behaves like taskbar in desktop versions of Windows). A top-level window is included in this list if:

  • it is visible (WS_VISIBLE style is set)
  • it is not a tool window (WS_EX_TOOLWINDOW extended style is not set)
  • it doesn't have an owner window

If an application creates more than one window conforming to this criteria, it will be listed in Running Programs multiple times. If it doesn't create any windows at all, it won't be listed in that list and the user won't be able to stop it manually.

Related resources:

Discuss

Discuss this article. Here you can write your comments and read comments of other developers.
Rate this article:     Poor Excellent    
 12345 
© 2001-2005 Pocket PC Developer Network, a division of Spb Software House