Hi,
Did some reserch on my own and go this
...................A rough class which hides the task bar.................
using System.Runtime.InteropServices;
[DllImport("user32")]
static extern bool ShowWindow(IntPtr hwnd, int nCmdShow);
[DllImport("user32")]
static extern IntPtr FindWindow(string lpclassName, string lpWindowName);
[DllImport("user32")]
static extern IntPtr FindWindowEx(IntPtr hwnd1,IntPtr hwnd2,string
lpsz1,string lpsz2);
public void TaskBarAction(int show)
{
IntPtr lngHandle = FindWindow("Shell_TrayWnd","");
switch(show)
{
case 0:
ShowWindow(lngHandle,5);
break;
case 1:
ShowWindow(lngHandle,0);
break;
}
}
regards
Manoj
......
"Manoj Nair" <mn*********@hotmail.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Hi,
In my windows form application I want the form to appear maximized while
running Even hide the task bar.Normal form size maximized displays the
task bar.
Later after the form closes the task bar should come back
need some help on this
thanks in advance
Manoj