From: Brett Ryan Brett on
I'm wondering how to disable the start menu on the Pocket PC, this used to be
done through setting the registry key

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
"DisableCtrlEsc"=dword:00000001

Though does not seem to work in Windows Mobile 5.0

Is there a way to do this programmatically?
From: Fabien on
Hi,

If you want to disable the taskbar and the start menu, you can dos
this in C# :
[DllImport("coredll.dll")]
private static extern IntPtr FindWindow(string lpClassName, string
lpWindowName);

[DllImport("coredll.dll")]
private static extern IntPtr ShowWindow(IntPtr hWnd, int visible);

ShowWindow(FindWindow("HHTaskBar", null), 0); //0=hide, 1=show
BR


Fabien Decret
Windows Embedded Consultant


ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/






On 5 fév, 03:54, Brett Ryan <Brett R...(a)discussions.microsoft.com>
wrote:
> I'm wondering how to disable the start menu on the Pocket PC, this used to be
> done through setting the registry key
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
> "DisableCtrlEsc"=dword:00000001
>
> Though does not seem to work in Windows Mobile 5.0
>
> Is there a way to do this programmatically?


From: The PocketTV Team on
this mere hides the navbar, it does not disable it.

some applications, if they get activated for whatever reason, may cause the
navbar to re-appear (typically applications like video players that have a
fullscreen mode will do that when they exit the fullscreen mode).

the correct way to really disable the navbar is to use a kiok application.

-t


"Fabien" <fab_00_2002(a)msn.com> wrote in message
news:1170664592.612870.223550(a)m58g2000cwm.googlegroups.com...
Hi,

If you want to disable the taskbar and the start menu, you can dos
this in C# :
[DllImport("coredll.dll")]
private static extern IntPtr FindWindow(string lpClassName, string
lpWindowName);

[DllImport("coredll.dll")]
private static extern IntPtr ShowWindow(IntPtr hWnd, int visible);

ShowWindow(FindWindow("HHTaskBar", null), 0); //0=hide, 1=show
BR


Fabien Decret
Windows Embedded Consultant


ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/






On 5 f�v, 03:54, Brett Ryan <Brett R...(a)discussions.microsoft.com>
wrote:
> I'm wondering how to disable the start menu on the Pocket PC, this used to
> be
> done through setting the registry key
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
> "DisableCtrlEsc"=dword:00000001
>
> Though does not seem to work in Windows Mobile 5.0
>
> Is there a way to do this programmatically?



From: Brett Ryan on
So how would I go about disabling this in code, by potentially creating a
kiosk application. We are using an FSA application based on the Dexterra
environment, we wish to restrict the device to only use this software.

"The PocketTV Team" wrote:

> this mere hides the navbar, it does not disable it.
>
> some applications, if they get activated for whatever reason, may cause the
> navbar to re-appear (typically applications like video players that have a
> fullscreen mode will do that when they exit the fullscreen mode).
>
> the correct way to really disable the navbar is to use a kiok application.
>
> -t
>
>
> "Fabien" <fab_00_2002(a)msn.com> wrote in message
> news:1170664592.612870.223550(a)m58g2000cwm.googlegroups.com...
> Hi,
>
> If you want to disable the taskbar and the start menu, you can dos
> this in C# :
> [DllImport("coredll.dll")]
> private static extern IntPtr FindWindow(string lpClassName, string
> lpWindowName);
>
> [DllImport("coredll.dll")]
> private static extern IntPtr ShowWindow(IntPtr hWnd, int visible);
>
> ShowWindow(FindWindow("HHTaskBar", null), 0); //0=hide, 1=show
> BR
>
>
> Fabien Decret
> Windows Embedded Consultant
>
>
> ADENEO (ADESET)
> http://www.adeneo.adetelgroup.com/
>
>
>
>
>
>
> On 5 fév, 03:54, Brett Ryan <Brett R...(a)discussions.microsoft.com>
> wrote:
> > I'm wondering how to disable the start menu on the Pocket PC, this used to
> > be
> > done through setting the registry key
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
> > "DisableCtrlEsc"=dword:00000001
> >
> > Though does not seem to work in Windows Mobile 5.0
> >
> > Is there a way to do this programmatically?
>
>
>
>
From: r_z_aret on
On Tue, 6 Feb 2007 18:09:22 -0800, "The PocketTV Team"
<support(a)pockettv.com> wrote:

>this mere hides the navbar, it does not disable it.
>
>some applications, if they get activated for whatever reason, may cause the
>navbar to re-appear (typically applications like video players that have a
>fullscreen mode will do that when they exit the fullscreen mode).
>
>the correct way to really disable the navbar is to use a kiok application.

And a very effect, not very correct way is to hide it:

HWND hTaskBar = ::FindWindow( _T( "HHTaskBar" ), NULL );

if (hTaskBar != NULL)
{
::ShowWindow( hTaskBar, SW_HIDE )
}

But make sure you unhide the taskbar when your program is done.


>
>-t
>
>
>"Fabien" <fab_00_2002(a)msn.com> wrote in message
>news:1170664592.612870.223550(a)m58g2000cwm.googlegroups.com...
>Hi,
>
>If you want to disable the taskbar and the start menu, you can dos
>this in C# :
>[DllImport("coredll.dll")]
>private static extern IntPtr FindWindow(string lpClassName, string
>lpWindowName);
>
>[DllImport("coredll.dll")]
>private static extern IntPtr ShowWindow(IntPtr hWnd, int visible);
>
>ShowWindow(FindWindow("HHTaskBar", null), 0); //0=hide, 1=show
>BR
>
>
>Fabien Decret
>Windows Embedded Consultant
>
>
>ADENEO (ADESET)
>http://www.adeneo.adetelgroup.com/
>
>
>
>
>
>
>On 5 f�v, 03:54, Brett Ryan <Brett R...(a)discussions.microsoft.com>
>wrote:
>> I'm wondering how to disable the start menu on the Pocket PC, this used to
>> be
>> done through setting the registry key
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
>> "DisableCtrlEsc"=dword:00000001
>>
>> Though does not seem to work in Windows Mobile 5.0
>>
>> Is there a way to do this programmatically?
>
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com