Hooking the taskbar
-
I want to make an app that write some text on the taskbar. But everytime WM_PAINT is handled I have to re paint it. My question is how I can hook the taskbar and get notified when WM_PAINT is handled. Rickard Andersson Here is my card, contact me later! UIN: 50302279 Sonork: 37318
-
I want to make an app that write some text on the taskbar. But everytime WM_PAINT is handled I have to re paint it. My question is how I can hook the taskbar and get notified when WM_PAINT is handled. Rickard Andersson Here is my card, contact me later! UIN: 50302279 Sonork: 37318
Put the app in a DLL that also contains a basic COM object. Use the
SHLoadInProc()
function to cause the DLL to be loaded into explorer's address space and an instance of the COM object to be created. In the initialisation of this object, you can subclass the taskbar and handle whatever messages you need. Use spyxx to find the window structure so you can find the taskbar at runtime. Hope this helps,Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
Put the app in a DLL that also contains a basic COM object. Use the
SHLoadInProc()
function to cause the DLL to be loaded into explorer's address space and an instance of the COM object to be created. In the initialisation of this object, you can subclass the taskbar and handle whatever messages you need. Use spyxx to find the window structure so you can find the taskbar at runtime. Hope this helps,Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
Ryan Binns wrote: Hope this helps Yeah god damnit! I just have to learn hom to create a COM object... :~ Rickard Andersson Here is my card, contact me later! UIN: 50302279 Sonork: 37318