Addshadow

Originally posted by jef@Jul 31 2003, 05:40 PM

I tried working with "Y" to see if he could implement the same logic that stardock did so that the technique used to force shadows in WindowFX would work in Y'z shadow.  Unfortunately I think the language barrier got in the way.  If anyone wants to give it a try, here's how it works.

All windows in MS Windows have what are called windows "Properties".  There can be any number of user defined properties assigned to a window.  The SetProp() API is used to assign a property to a window.  GetProp() is the API to read the properties assigned to a window.  Neil Banfield at Stardock modified the WindowFX program to look for an "ADDSHADOW" property on a window.  If the property exists, WindowFX will put a shadow on the window.  If Y'z shadow program was modified to look for the same attribute, then my AddShadow program would work for both WindowFX and Y'z Shadow.  Here is how I implement the property setting in VB:

Declare Function SetProp Lib "user32" Alias "SetPropA" (ByVal hWnd As Long, ByVal lpString As String, ByVal hData as Long) As Log

SetProp MyWindow.hWnd, "ADDSHADOW", 1

Hope this helps.

-jef

What's the value of the define ADDSHADOW ?

#44610

Originally posted by jef@Aug 3 2003, 06:30 PM

About the exclusion thing...I guess what is being asked for is for AddShadow to add the shadow property to ALL windows except those listed in the INI file?  That's seems excessive but I can give it a try.

Oh...about the memory usage...you can thank VB for that.  It's as simple a program you can make in VB...no forms or classes...just a base module and that's it...and yet it still uses 45 GDI objects and 5MB of RAM...

-jef

Be carefull of the non visible windows (WS_VISIBLE).

Also, write your prog with C++, you'll get a VERY small memory usage (espetially if it's not MFC).

Hope this help :)

#44611

Originally posted by siwu+Aug 3 2003, 11:33 AM-->
QUOTE(siwu @ Aug 3 2003, 11:33 AM)

#44616

Originally posted by jef@Aug 3 2003, 06:56 PM

ADDSHADOW is a string

And yes...I know C++ is much more efficient...I'm just lazy.

Oooops, I thougt you were talking about the SetWindowLong() API :)

#44632

Thanks jet!Wonderful Work!!Cheers!

#45125

Add Shadow updating soon?

Hopefully done in C++ and instant shadow add.

#46233

Originally posted by pack@Aug 1 2003, 08:57 PM

ok guys I wrote a little .cmd script file (nt script)

just put this in your qcdplayer directory and link it from your dock.

It opens both qcdplayer and addshadow.exe.  The shadow gets registered, then the script shuts down addshadow.exe.  You must have addshadow.exe addshadow.ini and this script all in the root directory of qcd 3

Works great for me milage may very.  you will get a quick dos cmd pop up that flashes when you launch the bat file of course.  basically I have the bat file with and itunes icon. 

and I'm all set now :)  You may need to reset your default folders in qcd options when launching this the first time.

get it here

Thank you god pack :) :bow:

#46399

Originally posted by jef@Jul 31 2003, 02:28 PM

If you want a shadow on the taskbar, add this to your INI:

Class=Shell_TrayWnd

-jef

Tried this and I can not get the taskbar to shadow :rant: any suggestions? :rolleyes:

#48120

Ok nevermind the last post I got it working no idea how :blink: but it works :rolleyes:

#48338

Hey InTrIgue,

Not sure what was wrong...but I just wanted to note that the class/caption names are CaSe SeNsItIve.

-jef

#48346

Great proggy. Am I missing something? How do you get Rainlendar to shadow??

Thanks

#48455

hey, just wondering how to shadow my buddy list for trillian. i have the iChat skin for trillian pro and when i send an IM there is a shadow on the conversation window, but on the buddy list itself, there is no shadow!! how do i shadow the list itself? thank you all.

#51950

Originally posted by nuggetbolt@Aug 30 2003, 06:06 PM

hey, just wondering how to shadow my buddy list for trillian.  i have the iChat skin for trillian pro and when i send an IM there is a shadow on the conversation window, but on the buddy list itself, there is no shadow!!  how do i shadow the list itself?  thank you all.

add trillian-skin to the list, thats what i did.

#51953

Originally posted by jarget@Aug 19 2003, 08:39 PM

Great proggy.  Am I missing something?  How do you get Rainlendar to shadow??

Thanks

just add Class=Rainlendar

#51974

Thanks... it make the qcd looks better, but I also encounter the slow down explorer problem... >.< can anyone help???

#52971

hey i downloaded winspy and found out the class to the trillian buddy list and set it and it shadowed wonderfully, however when i exited trillian and opened it back up again, the shadow was no longer there, does anyone here know how to get the buddy list shadowed permanently? thank you!

#61700

guess I am a little late here... but I tried download from the first link, but it won't let me? what the nut?

#71628

How to do get Windows Media Player with shins to shadow?

:(:(

#71638

Originally posted by pack@Aug 1 2003, 08:57 PM

ok guys I wrote a little .cmd script file (nt script)

just put this in your qcdplayer directory and link it from your dock.

It opens both qcdplayer and addshadow.exe.  The shadow gets registered, then the script shuts down addshadow.exe.  You must have addshadow.exe addshadow.ini and this script all in the root directory of qcd 3

Works great for me milage may very.  you will get a quick dos cmd pop up that flashes when you launch the bat file of course.  basically I have the bat file with and itunes icon. 

and I'm all set now :)  You may need to reset your default folders in qcd options when launching this the first time.

get it here

The link is dead.

where can download again :(:( ?

#71639

Look back in this thread. There is a link to an app called Winspy. It lets you find out the class of each and every window. Then just add that class to the AddShadow.ini file.

Syntax: Class="Class Name"

#71646

please someone reattach addshadow?

#71791

Seeing as the add a shadow to Savanna using Yz thread has been fruitless for over 4 months, yet keeps getting asked. I am making an open plea for the creator of add a shadow for winfx, to try his hand at Yz.

#71908

Originally posted by Three Drives@Nov 1 2003, 12:35 AM

Seeing as the add a shadow to Savanna using Yz thread has been fruitless for over 4 months, yet keeps getting asked. I am making an open plea for the creator of add a shadow for winfx, to try his hand at Yz.

I second that!

#72011

Originally posted by Three Drives@Oct 31 2003, 07:35 PM

Seeing as the add a shadow to Savanna using Yz thread has been fruitless for over 4 months, yet keeps getting asked. I am making an open plea for the creator of add a shadow for winfx, to try his hand at Yz.

TD please read my reply in that thread.

#72018

For those requesting a link to AddShadow. I don't have Jef's originally zipped versions so I put together both old and newer ones including my ini file so it's up to you guys which app you want to use.

Some of the programs in my ini include QCD Player, Felix, Trillian, ASticky, iTunes, Windows Media Player, About This Mac (Panther) and the Windows Taskbar.

Get it right here.

#72116