> Would this mean that a PowerPro plugin could subclass an application > window, on the back of the existing injection scheme, or would it > need to do its own injection? > > I'm still not sure I'm up to coding it, but if the infrastructure's > there for me, it might be worth a try :-)
I would say yes, you should be able to do this in a plugin, since it is just a dll. You may not even have to subclass; it may be enough to use a windows hook (system or input messages, I think). http://msdn.microsoft.com/library/default.asp?url=/library/en- us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookf unctions/setwindowshookex.asp If you have to subclass, then you have to be in the process space (I htink). ppro.dll does this by establishing a hook like the above (from within ppro.dll), then sending a message to the hooked window which causes some subclassing code in another routine in ppro.dll to run. I have to admit I missed the Consoles reference when I first read your message. It may not work for Console windows. I'd try it on notepad first, just to get the hooking part right.
