Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
3.50/5 (4 votes)
See more:
I'm creating a custom windows shell and I'm looking for code examples on replacing the taskbar. If you kill the Windows shell (explorer.exe), then running applications that become minimized are placed along the bottom of the screen. I need to be able to override this default behavior and manage the mimimized applications in a custom toolbar. I am looking for a way to tell Windows to notify my toolbar when applications are minimized and let me handle how they are displayed and not use Windows default location.
Posted

1 solution

1.) Use the function EnumDesktopWindows to examine all top-level windows.
2.) Call the function SetWindowsHookEx with WH_SHELL parameter.
3.) The hook has to be inside a dll for a system wide hook.
Good luck.
btw: the windows shell has too many function you can't replace in your lifetime. for instance: tray windows and so on.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900