Create a new form with the size 48x48, borderless and without
controlbox. Paste the code below in the load event. It will done topmost
window and move it to center of a touchscreen.
Rectangle screen = Screen.PrimaryScreen.Bounds;
this.Location = new Point((screen.Width - this.Width) / 2,
(screen.Height - this.Height ) / 2);
this.Capture = true;
IntPtr hwnd = OpenNETCF.Win32.Win32Window.GetCapture();
this.Capture = false;
OpenNETCF.Win32.Win32Window.SetWindowPos(hwnd,
Win32Window.SetWindowPosZOrder.HWND_TOP, this.Location.X,
this.Location.Y, this.Width, this.Height, 0);
You may implement this window as a singleton and show/hide when it will
be needed. How to implement a singleton follow this link:
http://msdn.microsoft.com/library/d...n-us/dnpatterns/html/ImpSingletonInCsharp.asp
OpenNETCF library is available here:
http://www.opennetcf.org/CategoryView.aspx?category=Home
Hope this help,
Sergey Bogdanov
http://www.sergeybogdanov.com