lizjaja 0 Newbie Poster

Hi,

i'm developing an application that act as a custom desktop using C#. and have some button to run another application for example a game or a windows media player. Manage to run the custom desktop and run a game - solitaire. However, when ever i click on the button on my custom desktop application to try to play windows media player, solitaire windows will disappear as though it is at the back of the custom desktop application. I know this problem is can be solve if i mange to set the custom desktop to be always at the back using z-order. But i have no idea on how to implement it or where to use it in my codes. Can anyone help me? Fyi, this is how i call my application when the button is click:

private void button1_Click(object sender. EventArgs e)
{
Process proc = new Process();
proc.EnableRaisingEvents = false;
proc.StartInfo.FileName = "solitaire";
proc.Start();
proc.WaitForExit();
}