Std_Net
Std_Net

Reputation: 1096

My own taskbar for Win CE

I've created WinCE 6.0 image without taskbar. So all app's maximized to full screen. I want create my own app like taskbar. I want add only few buttons to this taskbar. But I want That other app in their maximized mode don't hide this task bar. And I don't want make my all top most, because they hide some part of other app. How can I make my app like task bar?

Upvotes: 2

Views: 836

Answers (2)

Damon8or
Damon8or

Reputation: 527

The approach I've taken and works is to write a custom kiosk shell based on the explorer.exe code built in visual studio. You could use platform builder as well, kind of the same tool now a days. Looking back I'd say it was a bit heavy handed and it took a little bit of refactoring to CTaskBar and explorer to subclass CTaskBar to our needs, but it produced a shell that we could lock and unlock with complete explorer capabilities. Perhaps a lighterweight approach would be to register your app's window as the taskbar (sorry the system call escapes me) and handle the taskbar specific messages in your winproc?

Upvotes: 1

ctacke
ctacke

Reputation: 67168

You could modify the existing taskbar in the current Explore shell (source at %WINCEROOT%\PUBLIC\SHELL\OAK\HPC\EXPLORER\TASKBAR\taskbar.cpp or is that's not flexible enough, you could create your own Shell and create your own "taskbar-like" behavior however you'd like.

In either case, remember to clone the code to your own BSP tree! Don't modify the public tree.

Upvotes: 1

Related Questions