--- In [email protected], "pf_moore" <[EMAIL PROTECTED]> wrote: > > I don't *think* PowerPro can do this, but I'd love to be proved wrong.
You are right. > handler for the "draw background" message. Hooking wm_erasebkgd (sp?) may help with some programs. Maybe that is how Window Blinds works (if it even does this). But other programs, like PowerPro for its bars, actually draw the background in wm_paint. And I don't think you can override that without breaking the program's functionality. PowerPro does this sort of > thing already (it's behind a lot of the *Window commands) Most of the window stuff is a lot simpler. The Windows api lets you move/resize etc other processes's windows. The PowerPro dll ppro.dll is injected by Windows global hook processing, and PowerPro does do some sneaky things using this injection, such as accessing the current directory of a program, by calling the windows api from within that process through the injected dll (the call to get currect directly of a process only works from within that process AFAIK). But the *window stuff does not rely on the this. Of course, it cannot repaint backgrounds either! >
