What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Transparent background in scripted Plus windows

Transparent background in scripted Plus windows
Author: Message:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. Transparent background in scripted Plus windows
Well, for some reason, I'd like to create a Plus Window in a script that has a completely transparent background. That is, not the opacity level of the window in total, but only the background should be visible through (maybe also clickable through in the areas shining through, though the controls in the window should remain useable).

I experimented with some code like this:
code:
        <WindowTmpl>
            <Corners Shape="Rectangular">
            </Corners>
            <Borders Type="None"></Borders>
            <BackgroundColor>
                <Red>0</Red>
                <Green>0</Green>
                <Blue>0</Blue>
                <Alpha>0</Alpha>
            </BackgroundColor>
        </WindowTmpl>

Actually it doesn't seem to work.

If there's no way to accomplish this directly in Plus's XML, maybe there's a way to use a Windows API call to tell the corresponding window to make it's background color let the things under it (e.g. desktop) shine through.
(For clickability, is there a need to catch the clicks and forward them to the operating system, and yes, how to do in Plus JScript?). Last question: what about anti-aliasing for the Controls in windows with transparent back?

Thanks in advance for help.
Enclosed is the current look, and an edited image to give you an idea of what it should look like (merged into 1 attachment).

.png File Attachment: transparent-background-color-current.png (25.76 KB)
This file has been downloaded 142 time(s).

This post was edited on 11-08-2007 at 07:59 AM by mynetx.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
11-08-2007 07:58 AM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: Transparent background in scripted Plus windows
It would be great if we could use
DwmExtendFrameIntoClientArea
but :( because theres no window frame to extend it doesn't work
[Image: dt2.0v2.png]      Happy Birthday, WDZ
11-08-2007 08:08 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


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