Another Start Menu / Taskbar lock down question

J

Jerod Houghtelling

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
 
P

Paul G. Tobey [eMVP]

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.
 
J

Jerod Houghtelling

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.

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top