Solved

How to disable start menu in windows ce

Posted on 2004-09-28
10
6,338 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the most popular question in our Windows Mobile Programming zone is about the backlight - we all want to keep it on when our application is running. Few years ago the function SystemIdleTimerReset() did this job. On our side we had to detec…
Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator (https://www.appcelerator.com/). This article presumes a wor…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 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

15 Experts available now in Live!

Get 1:1 Help Now