Try this
[DllImport("user 32.dll")]
private static extern int FindWindow(stri ng className, string windowText);
[DllImport("user 32.dll")]
private static extern int ShowWindow(int hwnd, int command);
private const int SW_HIDE = 0;
private const int SW_SHOW = 1;
Usage -
int hwnd = FindWindow("She ll_TrayWnd","") ;
ShowWindow(hwnd ,SW_HIDE);
--
Shak
(Houston)
"Ken Beauchesne" <kb*********@mo narchinstrument .com> wrote in message
news:OR******** ******@TK2MSFTN GP11.phx.gbl...
Can someone tell me how to disable and hide the taskbar using C#
Thanks
Ken Beauchesne