[Solved]Removing the Task Bar on Win CE 5.0
Hey guys,
I'm working on this again and I'm pretty sure I'm doing something similar to what Erel was trying to do in the Kiosk thread to help me.
I'm using the DZHW library on the device and running
Dzhw.New1
hwndtaskbar = Dzhw.GetWindowHandle("HHTaskBar","")
Dzhw.ShowWindow(hwndtaskbar, SW_MINIMIZE)
This gets rid of the task bar at the bottom of the screen, but I'm left with with taskbar-sized hole at the bottom of my screen and I can't figure out how to get my b4P form to take up that spot.
also - I can't seem to get the taskbar back when I close the form.
Any ideas?
EDIT: the goal is to get rid of the task bar - I'm not married to the method I'm trying above. I've had a couple other possible solutions with problems too though:
1) Editing the registry and turning off 'Always on top' for the taskbar. I found the setting to turn off 'Always on Top' but even if I change the dword to 0 - the task bar remains on top, unless you go into the taskbar settings and check and uncheck the box... any idea why this happens or how to fix it?
2) Moving the taskbar. I read somewhere else online that others have accomplished this by moving the taskbar off screen. This would be a good solution - but I can't figure out how to do it inside B4P.
Hey guys,
I'm working on this again and I'm pretty sure I'm doing something similar to what Erel was trying to do in the Kiosk thread to help me.
I'm using the DZHW library on the device and running
Dzhw.New1
hwndtaskbar = Dzhw.GetWindowHandle("HHTaskBar","")
Dzhw.ShowWindow(hwndtaskbar, SW_MINIMIZE)
This gets rid of the task bar at the bottom of the screen, but I'm left with with taskbar-sized hole at the bottom of my screen and I can't figure out how to get my b4P form to take up that spot.
also - I can't seem to get the taskbar back when I close the form.
Any ideas?
EDIT: the goal is to get rid of the task bar - I'm not married to the method I'm trying above. I've had a couple other possible solutions with problems too though:
1) Editing the registry and turning off 'Always on top' for the taskbar. I found the setting to turn off 'Always on Top' but even if I change the dword to 0 - the task bar remains on top, unless you go into the taskbar settings and check and uncheck the box... any idea why this happens or how to fix it?
2) Moving the taskbar. I read somewhere else online that others have accomplished this by moving the taskbar off screen. This would be a good solution - but I can't figure out how to do it inside B4P.
Last edited: