What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Shadows on PlusWnds

[?] Shadows on PlusWnds
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [?] Shadows on PlusWnds
CS_DROPSHADOW is a class style (hence "CS_") and can be applied using SetClassLong. However, it will affect all Plus! windows as they share the same class.

Also, it only affects windows created after it is called, even though it requires a window handle. So to affect only one window you need to do something very illogical like:
  • Create an invisible window
  • Use SetClassLong on invisible window to enable shadows for the Plus! class
  • Close invisible window
  • Create your window (which will now have a shadow)
  • Put the original class back so other windows aren't affected

I would code it up, but I would feel dirty doing so :P
08-12-2010 05:54 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Shadows on PlusWnds - by roflmao456 on 08-06-2010 at 08:46 PM
RE: [?] Shadows on PlusWnds - by matty on 08-06-2010 at 11:45 PM
RE: [?] Shadows on PlusWnds - by roflmao456 on 08-07-2010 at 12:44 AM
RE: [?] Shadows on PlusWnds - by matty on 08-07-2010 at 04:19 AM
RE: [?] Shadows on PlusWnds - by matty on 08-12-2010 at 01:54 PM
RE: [?] Shadows on PlusWnds - by whiz on 08-12-2010 at 04:03 PM
RE: [?] Shadows on PlusWnds - by Eljay on 08-12-2010 at 05:54 PM
RE: [?] Shadows on PlusWnds - by roflmao456 on 08-14-2010 at 05:01 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On