Solved

How to disable start menu in windows ce

Posted on 2004-09-28
10
6,332 Views
Last Modified: 2013-12-27
Hi all,

Our objective is to restrict the user of the PDA from running any other application except ours; for that it seems that the start menu should be disabled; but we are unable to find a way to do that. Any help is welcome;any other solution which might restrict the user from accessing other application are also welcome.
We are using C# under visual studio 2003 for developing the application.

Thank a lot

Best Regards,
YE
0
Comment
Question by:yetech
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 48

Expert Comment

by:Mikal613
ID: 12170036
const uint SHFS_SHOWTASKBAR = 0x0001;
const uint SHFS_HIDETASKBAR = 0x0002;
const uint SHFS_SHOWSIPBUTTON = 0x0004;
const uint SHFS_HIDESIPBUTTON = 0x0008;
const uint SHFS_SHOWSTARTICON = 0x0010;
const uint SHFS_HIDESTARTICON = 0x0020;

[DllImport("aygshell.dll")]
static extern uint SHFullScreen(IntPtr hwndRequester, uint dwState);

[DllImport("coredll.dll")]
public static extern IntPtr GetCapture();

private void Form1_Load(object sender, System.EventArgs e)
{
    Capture = true;
    IntPtr hwnd = GetCapture();
    Capture = false;
    SHFullScreen(hwnd, SHFS_HIDESTARTICON);
}
0
 
LVL 3

Expert Comment

by:fordraiders
ID: 12174238
Here, is the website Mikal613 is referring to:

http://wiki.opennetcf.org/ow.asp?CompactFrameworkFAQ%2FHidingTheStartIcon

Might get other ideas


Thanks
fordraiders
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12174337
what other ideas?
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12174345
const uint SHFS_SHOWTASKBAR = 0x0001;
const uint SHFS_HIDETASKBAR = 0x0002;
const uint SHFS_SHOWSIPBUTTON = 0x0004;
const uint SHFS_HIDESIPBUTTON = 0x0008;
const uint SHFS_SHOWSTARTICON = 0x0010;
const uint SHFS_HIDESTARTICON = 0x0020;
 

I gave all the information.
0
 
LVL 3

Expert Comment

by:fordraiders
ID: 12174407
just a good site. That is all.
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:yetech
ID: 12176876
sorry guys we already considered this before, but it only HIDES the Start Menu NOT DISABLES it;
What we want to achieve is the disabling of the Startmenu in the windows CE, so that even when our application is not runnning the user cannnot run any other application
0
 
LVL 48

Accepted Solution

by:
Mikal613 earned 500 total points
ID: 12179086
you cant
0
 
LVL 23

Expert Comment

by:chensu
ID: 12184636
You can do that by building your own CE OS using the Platform Builder. But it looks like you want to do it with any PDA.
0
 

Author Comment

by:yetech
ID: 12187184
No not with any PDA; we are focusing on iPAQ2210.
0
 
LVL 48

Expert Comment

by:Mikal613
ID: 12267473
why the C ???
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

When I was a beginner in Windows Mobile programming, even for small test I used to create a single MFC dialog-based application with one button, and put my test code in the OnLButtonDown method. For Pocket PC it worked fine, on some Windows CE d…
A short article about problems I had with the new location API and permissions in Marshmallow
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now