Sunday, October 08, 2006

Taskbar and hardware buttons on Windows Mobile devices

I have a new observation about the relationship between state of taskbar on a Window Mobile 5.0 device and the hardware buttons (atleast on Dell Axim x51). I have found that if taskbar is disabled by calling EnableWindow() or is hidden by ShowWindow(,SW_HIDE), the hardware buttons stop working. They don't launch their assigned applications.

Solution:
If there is a need to hide taskbar window, get its window handle and call MoveWindow() to change the location and size of taskbar window out of the viewable area.

Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?