public static bool SetTaskBarEnabled(bool bEnabled)
{
IntPtr taskWindow=FindWindow("HHTaskBar", null);
if (taskWindow==IntPtr.Zero)
{
taskWindow=FindWindow("Shell_TrayWnd", null);
}
if (taskWindow!=IntPtr.Zero)
{
if (bEnabled)
return EnableWindow(taskWindow,true);
else
return EnableWindow(taskWindow,false);
}
return false;
}
[DllImport("coredll.dll")]
private static extern bool EnableWindow(IntPtr hwnd,bool bEnable);
[DllImport("coredll.dll")]
private static extern IntPtr FindWindow(string className, string
windowName) ;
J said:
Hi there,
Is there a way to disable the Start-Menu for Pocket PC 2002?
Thanks!