Every now and then a question pops up about how to place a custom icon in the task bar. Doing so is against the "Made for Windows Mobile" guidelines. But if you have no concerned with meeting those guidelines you can place a custom icon in the task barby creating a windows and making the task tray the window's parent. Ofcourse you will need to get the handle to the task tray. A call to the native function FindWindow("HHTaskBar",NULL) will return that handle.
Tags: