Project Description
A C# class library that provides task listing and switching functionality - similar to that of alt+tab.

Main task switcher class:
public class TaskSwitcher
{
    public static Task[] GetTasks() { ... }
    public static bool IsTask(IntPtr hWnd) { ... }
    public static void SwitchTo(IntPtr hwnd) { ... }
    public static string GetWindowText(IntPtr hWnd) { ... }
}

Class encapsulating task details:
public class Task
{
    public IntPtr Handle { get; set; }
    public int ProcessID { get; set; }
    public string Title { get; set; }
    public string ProcessName { get; set; }
}

Last edited Jul 26, 2010 at 8:39 PM by relmtech, version 2