DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 16 Aug 2007 14:53:40 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    Jerod Houghtelling
          2    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
          3    Jerod Houghtelling
                 4    dbgrick


Another Start Menu / Taskbar lock down question   
Hi all,

Sorry in advance if this is extremely easy. I have been searching
around on several newsgroups today and haven't found an elegant way to
handle this situation.

I'm trying to create a menu program that will startup when the device
turns on. The program has been placed in \Windows\Startup to achieve
this action. The menu program will show a list of programs that I have
also created. I would like to lock down the taskbar so the user can
not navigate away from my custom program stream. In my first attempt I
called SHFullScreen from my menu program with 0x0020. This works fine
in the menu program, but as soon as I launch a secondary program the
start icon returns.

Does anybody know of a way to remove the start icon for all programs
while my menu program is still running in the background?

Thanks in advance,
Jerod
Date:Thu, 16 Aug 2007 14:53:40 -0700   Author:  

Re: Another Start Menu / Taskbar lock down question   
You can disable and hide the task bar.  Since you don't say what device type 
you're running on, I'm not 100% sure that this is correct for you, but if 
you FindWindow( L"HHTaskBar", NULL ) to get a window handle to the task bar, 
then do a suitable ShowWindow() and EnableWindow() to hide and disable the 
taskbar, I think you'll get what you want.  Of course, you have to P/Invoke 
these calls...

Paul T.

"Jerod Houghtelling"  wrote in message 
news:1187301220.499998.56800@e9g2000prf.googlegroups.com...

> Hi all,
>
> Sorry in advance if this is extremely easy. I have been searching
> around on several newsgroups today and haven't found an elegant way to
> handle this situation.
>
> I'm trying to create a menu program that will startup when the device
> turns on. The program has been placed in \Windows\Startup to achieve
> this action. The menu program will show a list of programs that I have
> also created. I would like to lock down the taskbar so the user can
> not navigate away from my custom program stream. In my first attempt I
> called SHFullScreen from my menu program with 0x0020. This works fine
> in the menu program, but as soon as I launch a secondary program the
> start icon returns.
>
> Does anybody know of a way to remove the start icon for all programs
> while my menu program is still running in the background?
>
> Thanks in advance,
> Jerod
> 
Date:Thu, 16 Aug 2007 15:02:28 -0700   Author:  

Re: Another Start Menu / Taskbar lock down question   
On Aug 16, 4:02 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:

> You can disable and hide the task bar.  Since you don't say what device type
> you're running on, I'm not 100% sure that this is correct for you, but if
> you FindWindow( L"HHTaskBar", NULL ) to get a window handle to the task bar,
> then do a suitable ShowWindow() and EnableWindow() to hide and disable the
> taskbar, I think you'll get what you want.  Of course, you have to P/Invoke
> these calls...
>
> Paul T.
>
> "Jerod Houghtelling"  wrote in message
>
> news:1187301220.499998.56800@e9g2000prf.googlegroups.com...
>
> > Hi all,
>
> > Sorry in advance if this is extremely easy. I have been searching
> > around on several newsgroups today and haven't found an elegant way to
> > handle this situation.
>
> > I'm trying to create a menu program that will startup when the device
> > turns on. The program has been placed in \Windows\Startup to achieve
> > this action. The menu program will show a list of programs that I have
> > also created. I would like to lock down the taskbar so the user can
> > not navigate away from my custom program stream. In my first attempt I
> > called SHFullScreen from my menu program with 0x0020. This works fine
> > in the menu program, but as soon as I launch a secondary program the
> > start icon returns.
>
> > Does anybody know of a way to remove the start icon for all programs
> > while my menu program is still running in the background?
>
> > Thanks in advance,
> > Jerod


Paul,

This is almost what I need. However I'm more concerned about just
disabling the start menu drop down. If I disable the entire task bar
then you will not be able to exit programs that have the default
control box. The point of disabling the start menu for me is so they
can't navigate way from my approved programs. I'm using PPC 2003 SE
and coding in C#. I know there has to be a way of doing this because
you can setup HHP's EzMenu system to accomplish this task.

Thanks Again.
Jerod
Date:Fri, 17 Aug 2007 07:08:17 -0700   Author:  

Re: Another Start Menu / Taskbar lock down question   
If you just want to prevent the user from running some applications, then you 
can disable the applications from running.  At one point Rabi Sater had a 
good article on his blog about disabling applications from running. It was in 
his Kiosk section.  I'd start there and then do a search for disabling run of 
applications on Windows Mobile.

Rick D.
Contractor

"Jerod Houghtelling" wrote:


> On Aug 16, 4:02 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
> no instrument no spam DOT com> wrote:
> > You can disable and hide the task bar.  Since you don't say what device type
> > you're running on, I'm not 100% sure that this is correct for you, but if
> > you FindWindow( L"HHTaskBar", NULL ) to get a window handle to the task bar,
> > then do a suitable ShowWindow() and EnableWindow() to hide and disable the
> > taskbar, I think you'll get what you want.  Of course, you have to P/Invoke
> > these calls...
> >
> > Paul T.
> >
> > "Jerod Houghtelling"  wrote in message
> >
> > news:1187301220.499998.56800@e9g2000prf.googlegroups.com...
> >
> > > Hi all,
> >
> > > Sorry in advance if this is extremely easy. I have been searching
> > > around on several newsgroups today and haven't found an elegant way to
> > > handle this situation.
> >
> > > I'm trying to create a menu program that will startup when the device
> > > turns on. The program has been placed in \Windows\Startup to achieve
> > > this action. The menu program will show a list of programs that I have
> > > also created. I would like to lock down the taskbar so the user can
> > > not navigate away from my custom program stream. In my first attempt I
> > > called SHFullScreen from my menu program with 0x0020. This works fine
> > > in the menu program, but as soon as I launch a secondary program the
> > > start icon returns.
> >
> > > Does anybody know of a way to remove the start icon for all programs
> > > while my menu program is still running in the background?
> >
> > > Thanks in advance,
> > > Jerod
> 
> Paul,
> 
> This is almost what I need. However I'm more concerned about just
> disabling the start menu drop down. If I disable the entire task bar
> then you will not be able to exit programs that have the default
> control box. The point of disabling the start menu for me is so they
> can't navigate way from my approved programs. I'm using PPC 2003 SE
> and coding in C#. I know there has to be a way of doing this because
> you can setup HHP's EzMenu system to accomplish this task.
> 
> Thanks Again.
> Jerod
> 
> 
Date:Fri, 17 Aug 2007 07:52:04 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us