E
Erwin Burgstaller
Playing around with having a kiosk mode application on Pocket-PC, I always
end up with the task bar doesn't hide and is always on top.
I'm working with Visual Studio 8, C# and .NET 2.0. For testing I have a
Symbol PT-8800 and the emulated Pocket PC 2003.
First I've tried to maximize my form with code like this:
private void Form1_Load(object sender, System.EventArgs e)
{
// menu = null;
FormBorderStyle = FormBorderStyle.None;
WindowState = FormWindowState.Maximized;
}
Maximize does work, but the taskbar is not covered. It's hiding the top of
my form.
Next I've found that example code which is working with SHFullScreen().
Which hides the start icon with SHFS_HIDESTARTICON for some time, but
SHFS_HIDETASKBAR doesn't work. The input options menu on the right bottom
disappears too but only when SHFS_HIDETASKBAR is set, on the other hand
SHFS_HIDESIPBUTTON is ignored too. But anyway SHFullScreen is not the
solution I'm looking for, first it's not .NET (so far as I understand) and
second it will not work on CE Clients. Latter I cannot verify, 'cause "CE
4.2" will not work with .NET 2.0 and I don't have a "CE 5" emulation, but
that's another story.
So, how do I get a kiosk mode application in pure .NET and C#?
Erwin
end up with the task bar doesn't hide and is always on top.
I'm working with Visual Studio 8, C# and .NET 2.0. For testing I have a
Symbol PT-8800 and the emulated Pocket PC 2003.
First I've tried to maximize my form with code like this:
private void Form1_Load(object sender, System.EventArgs e)
{
// menu = null;
FormBorderStyle = FormBorderStyle.None;
WindowState = FormWindowState.Maximized;
}
Maximize does work, but the taskbar is not covered. It's hiding the top of
my form.
Next I've found that example code which is working with SHFullScreen().
Which hides the start icon with SHFS_HIDESTARTICON for some time, but
SHFS_HIDETASKBAR doesn't work. The input options menu on the right bottom
disappears too but only when SHFS_HIDETASKBAR is set, on the other hand
SHFS_HIDESIPBUTTON is ignored too. But anyway SHFullScreen is not the
solution I'm looking for, first it's not .NET (so far as I understand) and
second it will not work on CE Clients. Latter I cannot verify, 'cause "CE
4.2" will not work with .NET 2.0 and I don't have a "CE 5" emulation, but
that's another story.
So, how do I get a kiosk mode application in pure .NET and C#?
Erwin