Wie kann ich mit dem Compact Framework die Taskleiste am oberen Bildschirmrand unter Windows Mobile 2003 deaktivieren, so dass sie nicht mehr sichtbar ist?
Announcement
Collapse
No announcement yet.
Windows Mobile Taskleiste
Collapse
X
-
Hallo,
es gibt die Möglichkeit die Taskbar unter CE 5.0 zu deaktivieren. Dafür muss man aber aus der coredll.dll über P/Invoke paar Funktionen aufrufen.
Code:[DllImport("coredll.dll", CharSet = CharSet.Auto)] public static extern int FindWindow(string lpClassName, string lpWindowName); [DllImport("coredll.dll", CharSet = CharSet.Auto)] private static extern bool ShowWindow(int hwnd, int nCmdShow); [DllImport("coredll.dll", CharSet = CharSet.Auto)] private static extern bool SetWindowPos(int hwnd, int hwnd_after, int x, int y, int cx, int cy, uint uflags); [DllImport("aygshell.dll", CharSet = CharSet.Auto)] private static extern bool SHFullScreen(int hwnd, int state); [DllImport("coredll.dll", CharSet = CharSet.Auto)] internal static extern bool SetForegroundWindow(int hWnd);
Grüße
Rafael
Comment