Ok kids...just what you asked for. I've got the hooks in place to catch the new windows as they are created and so AddShadow will now instantly add the shadow the minute you start up a new program.
However, in my experience the shadow doesn't always show up immediately. I'm working with Stardock to see if Neil can tell me how to get WindowFX to recognize the fact that I've added the shadow property to the newly created window.
Here is what I think is happening:
1. New program is started.
2. WindowFX sees the new window but determines it shouldn't get a shadow.
3. AddShadow sets the appropriate property so WindowFX will add a shadow to the window.
4. Since WindowFX has already interrogated the properties of the window before AddShadow did it's thing, the shadow still doens't appear.
5. Clicking on the window, or moving it, causes the shadow to appear because that action has caused WindowFX to re-evaluate the properties of the window.
So....what I need is a way I can send some sort of message (via API) to the window that brings it to the attention of WindowFX so it will see that the shadow property has been set and draws the shadow.
It's a similar problem that is encountered when you first start up WindowFX. Any windows that were open before WindowFX was started typically don't get the shadow until you click on the window. At least, that is my experience.
Oh...and by the way... I need someone to create a nice icon for me.
Anyway..here it is:
Aqua-Soft Forums