Hi,
Did some reserch on my own and go this
............... ....A rough class which hides the task bar............ .....
using System.Runtime. InteropServices ;
[DllImport("user 32")]
static extern bool ShowWindow(IntP tr hwnd, int nCmdShow);
[DllImport("user 32")]
static extern IntPtr FindWindow(stri ng lpclassName, string lpWindowName);
[DllImport("user 32")]
static extern IntPtr FindWindowEx(In tPtr hwnd1,IntPtr hwnd2,string
lpsz1,string lpsz2);
public void TaskBarAction(i nt show)
{
IntPtr lngHandle = FindWindow("She ll_TrayWnd","") ;
switch(show)
{
case 0:
ShowWindow(lngH andle,5);
break;
case 1:
ShowWindow(lngH andle,0);
break;
}
}
regards
Manoj
......
"Manoj Nair" <mn*********@ho tmail.com> wrote in message
news:uV******** ******@TK2MSFTN GP12.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