What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Image Objects

Pages: (2): « First « 1 [ 2 ] Last »
Image Objects
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Image Objects
If an invisible control can be clicked/manipulated by the user I actually consider this as a bug!

Any any other language I know (and in Windows in general) an invisble control shouldn't be able to be manipulated by the user.

So, I wouldn't use that method (if it works at all, didn't tested it) as that might not be possible anymore in the future when this is fixed.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-08-2006 05:40 PM
Profile PM Find Quote Report
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: RE: Image Objects
quote:
Originally posted by CookieRevised
If an invisible control can be clicked/manipulated by the user I actually consider this as a bug!

Any any other language I know (and in Windows in general) an invisble control shouldn't be able to be manipulated by the user.

So, I wouldn't use that method (if it works at all, didn't tested it) as that might not be possible anymore in the future when this is fixed.

:o

But then the second part of the easter egg wouldn't work. :P
09-08-2006 05:57 PM
Profile E-Mail PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Image Objects
quote:
Originally posted by CookieRevised
If an invisible control can be clicked/manipulated by the user I actually consider this as a bug!

Any any other language I know (and in Windows in general) an invisble control shouldn't be able to be manipulated by the user.

So, I wouldn't use that method (if it works at all, didn't tested it) as that might not be possible anymore in the future when this is fixed.

its not so much an invisible control, as a control with an image that is 100% transparent :P
09-08-2006 06:01 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Image Objects
quote:
Originally posted by alexp2_ad
But then the second part of the easter egg wouldn't work. :P
why not? It is perfectly possible that the control which is responsible for the second part is actually the image itself, you don't need a special button. It only requires to check the mouse positions to perform or not perform the second part when the user does to the image what he needs todo.

quote:
Originally posted by Eljay
its not so much an invisible control, as a control with an image that is 100% transparent :P
well that's something different then... in that case the control is still visible in the true sense (property 'visible' is true), so it is controleable also... yep.

But if the property 'visible' of a control is false, it can't be (shouldn't be able to be) controlled.

PS: if you are refering to the second part of the easter egg, there is no control with a transparent image for that only (see code). It is most likely done as explained above to alexp2_ad.

code:
<Elements>
    <Element xsi:type="ImageElement" Id="ImgPic">
        <Position Top="2" Left="3">
            <Units>PosPixels</Units>
        </Position>
        <Image>
            <Name>Papc</Name>
            <Format>JPEG</Format>
        </Image>
    </Element>
</Elements>
<Controls>
    <Control xsi:type="ButtonControl" Id="BtnClose">
        <Position Top="355" Width="75" Left="451">
            <Units>AllPixels</Units>
        </Position>
    </Control>
</Controls>

This post was edited on 09-09-2006 at 03:43 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-09-2006 03:29 AM
Profile PM Find Quote Report
AberNStein
Full Member
***


Posts: 132
Reputation: 2
Joined: Jul 2006
RE: Image Objects
why not just use buttons with images on them?
[Image: gybouserbar6hc.gif]
09-09-2006 03:37 AM
Profile PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Image Objects
because it is hard to get the right part of the image and also there is the boarder on the buttons

and hasnt this been dicussed before??
09-09-2006 03:39 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Image Objects
quote:
Originally posted by Jay_Jay
because it is hard to get the right part of the image and also there is the boarder on the buttons
control buttons can be made with a custom look, see scripting documentation.
.-= A 'frrrrrrrituurrr' for Wacky =-.
09-09-2006 03:46 AM
Profile PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Image Objects
quote:
Originally posted by CookieRevised
quote:
Originally posted by Jay_Jay
because it is hard to get the right part of the image and also there is the boarder on the buttons
control buttons can be made with a custom look, see scripting documentation.
For example radial controls have had their image changed in the plus preferences, screenshot sender, messenger enhancer and the UI that Jay_Jay made radient.  Jay_Jay surely you would have realised it was possible with that (unless you just copy and pasted the xml [Image: msn_tongue.gif]).  These are all good exapmles of where images have been used instead of the normal looking control (radial in this case, though it can be adapted).
[Image: markee.png]
09-09-2006 07:07 AM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Image Objects
Use a RadioControl with a custom look. You can add an image into the control making it clickable. Take a look at the XML for Screenshot Sender 4 (WndPref.xml). You will see what I am refering to.

code:
            <Control xsi:type="RadioControl" Id="RadGeneral">
                <Position Top="0" Width="96" Left="0" Height="17"/>
                <Attributes><IsNewGroup>false</IsNewGroup></Attributes>
                <CustomLook>
                    <FocusRect><Left>1</Left><Top>1</Top><Right>1</Right><Bottom>1</Bottom></FocusRect>
                    <Base/>
                    <Normal>
                        <Checked>
                            <Element xsi:type="ImageElement" Id="ImgArrow">
                                <Position Top="0" Left="0"/>
                                <Image><Name>myimage</Name></Image>
                            </Element>
                        </Checked>
                    </Normal>
                </CustomLook>
            </Control>

Here is a small example.

This post was edited on 09-09-2006 at 03:00 PM by matty.
09-09-2006 02:53 PM
Profile E-Mail PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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