How to recover windows process/tasks order?

  • Thread starter Thread starter Stefan Caracas
  • Start date Start date
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
 
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
 
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.
 
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
 
Back
Top