Link to home
Start Free TrialLog in
Avatar of yetech
yetech

asked on

How to disable start menu in windows ce

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
Avatar of Mikal613
Mikal613
Flag of United States of America image

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);
}
Here, is the website Mikal613 is referring to:

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

Might get other ideas


Thanks
fordraiders
what other ideas?
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.
just a good site. That is all.
Avatar of yetech
yetech

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Mikal613
Mikal613
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of yetech

ASKER

No not with any PDA; we are focusing on iPAQ2210.
why the C ???