Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / February 2005

Tip: Looking for answers? Try searching our database.

Skin pocket pc, disable hardware buttons, disable start button

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tizio Incognito - 03 Feb 2005 08:50 GMT
Hello folks,
I'm going to write an application that works as a "skin" on pocket pc.
It needs to run at startup, then it have to cover everything on the
screen, hiding most of functionalities. The user can access only some
programs, from links inside the application, but not everything in the
handheld: for example, he mustn't be able to access control panel,
add/remove and so on.

To do this, I have to be sure that:
- hardware buttons are disabled (intercepting click and running a sort
of cancel?)
- start button is hidden/disabled
- close (top-right) button is hidden/disabled

Finally, I need to:
- add a sort of "shell" command to run certain applications (maybe
listed in a configuration file)

Do you folks think it is feasible? Am I going to choose the right way,
or maybe there are other ways (like working on the registry, if there is
one! I'm a newbie on handhelds)?

Thanks in advance, Claudio
Peter Foot [MVP] - 03 Feb 2005 09:13 GMT
You have a number of options ranging from a commercial product which will
make any application run in "kiosk" mode:-
http://www.spbsoftwarehouse.com/products/kioskengine/?en

You can also manually remove the start menu and handle the hardware keys by
using a bit of Platform Invoke
The SHFullScreen method will allow you to enable/disable the Start Menu,
Input Panel button or Taskbar. This will remove access to other
applications.
Hardware keys can be registered to your application. see this thread for a
couple of implementations:-
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=283

you can start other applications either by P/Invoking the CreateProcess or
ShellExecuteEx API methods, or use the Process class in the OpenNETCF
framework (www.opennetcf.org/sdf/) which works just like the full framework
Process class.

Peter

Signature

Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

> Hello folks,
> I'm going to write an application that works as a "skin" on pocket pc. It
[quoted text clipped - 18 lines]
>
> Thanks in advance, Claudio

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.