What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » PSM--> Normal invisible and MouseOver visible?

PSM--> Normal invisible and MouseOver visible?
Author: Message:
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. PSM--> Normal invisible and MouseOver visible?
Hay! I'm looking for a way to hide and show the Personal Message element in the contact list.
This is what I would like to see:
Normal state: personal message not visible
mouse over state: personal message visible

So basicly, when I hover my mouse over the psm area, it gets visible.

I tried setting a 2nd, [MouseFocused] tag to the existing part of code of the 923 style, but that results in messenger crashing all together when hovering the mouse over the psm.

code:

code:
}
labelrichedit[id=atom(idPSMText)][class="PSM"]
{
contentalign:endellipsis;
enabled:false;
Alpha:0;
}

labelrichedit[id=atom(idPSMText)][class="PSM"][MouseFocused]
{
contentalign:endellipsis;
enabled:false;
}

The above code doesn't work. Is there an alternate method of dynamic hiding, or am I doing something wrong?
11-04-2008 04:24 PM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: PSM--> Normal invisible and MouseOver visible?
visible:false?

That's what I guess..

Or try altering the alpha..
11-04-2008 06:49 PM
Profile PM Find Quote Report
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
RE: PSM--> Normal invisible and MouseOver visible?
It should work if you add Alpha: 255; to the [mousefocused] state, because DirectUI elements inherit properties from its previous state. For example, if you had an element with normal, mousefocused and pressed states, and you only specified the image file in the normal state, it would stay that way, but if you specified different images for each, the element would visibly change. This applies to all properties and states, as far as I know. The WLM team don't exactly follow this much, it'd probably save a heap of space, but oh well.

Hope this helps :)
11-05-2008 06:05 AM
Profile PM Find Quote Report
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. RE: PSM--> Normal invisible and MouseOver visible?
Ok, so I tried setting both elements to the same "language". both have a specified alpha.
But, this crashed messenger altogether, and not just when hovering over the psm.
it might has something to do with the wrong style file, or the wrong element, so I'm gonna look in other styles too.
ill get back to this.

Edit: I thought of an alternate method.
Wrapping a blank element over an excisting one, and giving it a certain button state, that when the button is pressed, the element appears or dissapears (preferably with dissapeared as default). would this be possible?

This post was edited on 11-05-2008 at 01:48 PM by DennisMartijn.
11-05-2008 01:47 PM
Profile E-Mail PM Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
RE: PSM--> Normal invisible and MouseOver visible?
I'm not sure.. It's rather "omslachtig" (I suppose you're Dutch, as Dennis and Martijn are Dutch names? :P ).
Also, a blank element is "white", or the user's colour scheme. A transparent (see-through) element won't work. You'll see the element behind it (because it's transparent).
11-05-2008 03:18 PM
Profile PM Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: PSM--> Normal invisible and MouseOver visible?
If i'm understanding you correctly, you made the "labelrichedit[id=atom(idPSMText)][class="PSM"][MouseFocused]" element up?

In which case I'm pretty sure this won't work, messenger doesn't execute this code, it's just a reference. (AFAIK)

Adding [MouseFocused] to a element won't do anything because messenger doesn't know what that is. Reason it's crashing is probably due to a null reference error of some kind.




This is all based on how I believe messenger works, I've not actually looked into this so ;p
[Image: jumbled.png]
11-05-2008 03:33 PM
Profile PM Find Quote Report
DennisMartijn
Full Member
***


Posts: 119
Joined: Jul 2006
O.P. RE: RE: PSM--> Normal invisible and MouseOver visible?
quote:
Originally posted by vaccination
If i'm understanding you correctly, you made the "labelrichedit[id=atom(idPSMText)][class="PSM"][MouseFocused]" element up?

In which case I'm pretty sure this won't work, messenger doesn't execute this code, it's just a reference. (AFAIK)

Adding [MouseFocused] to a element won't do anything because messenger doesn't know what that is. Reason it's crashing is probably due to a null reference error of some kind.




This is all based on how I believe messenger works, I've not actually looked into this so ;p

Hm, ok. So I can scrap that from the list.. wich brings me to nothing.

Isn't there any other way of hiding such elements, but let them reappear with the click of a button or a mouseover? The chat window has a similair button, the one next to the dp's that can hide them. I can't find the code for that though?
11-05-2008 08:50 PM
Profile E-Mail PM Find Quote Report
Basilis
Veteran Member
*****

Avatar
Olympiacos CFP

Posts: 1366
Reputation: 46
30 / Male / Flag
Joined: Dec 2007
RE: PSM--> Normal invisible and MouseOver visible?
Try searching for the image id (the button that hides the DPs) in the style file. Then, you will find which element it is (e.g. ai412) and you will be able to find it in the definition file. :)
[Image: logo1nu1.png]
11-05-2008 08:58 PM
Profile PM Find Quote Report
vaccination
Veteran Member
*****

Avatar

Posts: 2513
Reputation: 43
32 / Male / –
Joined: Apr 2005
RE: PSM--> Normal invisible and MouseOver visible?
you can't do it, it's simply not possible.

You can't make something do something it's not programmed to do.
[Image: jumbled.png]
11-05-2008 10:37 PM
Profile PM Find Quote Report
Willz
Senior Member
****

Avatar

Posts: 953
Reputation: 52
36 / Male / Flag
Joined: Jul 2006
RE: RE: PSM--> Normal invisible and MouseOver visible?
quote:
Originally posted by Basilis
Try searching for the image id (the button that hides the DPs) in the style file. Then, you will find which element it is (e.g. ai412) and you will be able to find it in the definition file.

That won't work.

quote:
Originally posted by vaccination
you can't do it, it's simply not possible.

You can't make something do something it's not programmed to do.

Vax is right. You can't take something like the show/hide dp cmdid and then make it hide something else.

All of the cmdid are specifically programmed to do a certain action. They call on certain elements with a certain class, id, content and element type. You can't change that since its all hard coded into Messenger itself.

quote:
Originally posted by SmokingCookie
Also, a blank element is "white", or the user's colour scheme.

A blank element is just blank. It has no formatting applied to it so yeah.

This post was edited on 11-05-2008 at 11:09 PM by Willz.
11-05-2008 11:06 PM
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