Is there a way (probably with the API but i don't know the function if any) to rearrange the order of tasks appearing in the taskbar.

For example if i first opened Explorer, and then Outlook, and then winamp I'd have the explorer then outlook then winamp left to right on the taskbar. But i want to see if theres a way to programatically change it so that i could make the order anything i want, for example explorer then winamp then Outlook.

Thanks in advance, i hope you know what i'm on about.