How to recover windows process/tasks order?

S

Stefan Caracas

Hi ,

i'm looking for code/method to get process list AND order of these processes
in task manager.

For instance , in task manager ( or on the windows task bar ) you have 5
applications , i would like to recover the order of these applications ( 1
to 5 )

I fould process list in System.Diagnostics.Process , but nothing concerning
the order as shown in task manager.

Any clue is welcome

Thanks
 
S

Stefan Caracas

I'm afraid i was not specific enough in my question , so i detail :

what i'm looking for is the application list that you obtain when pressing
ALT+TAB , and the focused application in this list.

Thank you
 
K

Kevin Spencer

The order of processes displayed in Task Manager is arbitrary. What order
they appear in depends on which column you select to sort by.

--
HTH,

Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com

The shortest distance between 2 points is a curve.
 
S

Stefan Caracas

I'm afraid i was not specific enough in my question , so i detail :

what i'm looking for is the order in application list that you obtain when
pressing
ALT+TAB , and the focused application in this list.

Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top