Keep one instance in PPC

  • Thread starter Thread starter Guest
  • Start date Start date
..NETCF automatically enforces a single instance of your application if
running under Pocket PC. To stop other applications from running you can
disable the start menu to stop the user from launching other apps. You can
P/Invoke SHFullScreen to do this. You can also capture the hardware buttons
to avoid them launching built in applications, there are a couple of
solutions for this, there should be and example in this article:-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PInvokeLib.asp

Peter

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

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Thank you very much.

Peter Foot said:
..NETCF automatically enforces a single instance of your application if
running under Pocket PC. To stop other applications from running you can
disable the start menu to stop the user from launching other apps. You can
P/Invoke SHFullScreen to do this. You can also capture the hardware buttons
to avoid them launching built in applications, there are a couple of
solutions for this, there should be and example in this article:-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/PInvokeLib.asp

Peter

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

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Back
Top