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

Image Element Handle
Author: Message:
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
O.P. Image Element Handle
Is it possible to get an Image Element's handle or hide it in any way?

I'm using the Plus! png's and not any external image

Thanks in advance

Edit : I know the ShowWindow method but it requires the handle.

This post was edited on 11-03-2006 at 06:15 PM by Felu.
11-03-2006 05:59 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Image Element Handle
quote:
Originally posted by -!Felu!-
Is it possible to get an Image Element's handle or hide it in any way?

Thanks in advance

Edit : I know the ShowWindow method but it requires the handle.
No because the GetControlHandle only works for Controls not for Elements. To hide the picture you can simply set the image to nothing that would be your best bet.
11-03-2006 06:10 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
O.P. RE: Image Element Handle
quote:
Originally posted by Matty
quote:
Originally posted by -!Felu!-
Is it possible to get an Image Element's handle or hide it in any way?

Thanks in advance

Edit : I know the ShowWindow method but it requires the handle.
No because the GetControlHandle only works for Controls not for Elements. To hide the picture you can simply set the image to nothing that would be your best bet.
I forgot to tell but i'm using the plus! png's and not any external image so how would i set it to nothing in that case?
11-03-2006 06:14 PM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Image Element Handle
This should work:
code:
pPlusWnd.ImageElmt_SetImageFile('imgImage', '');
11-03-2006 06:31 PM
Profile E-Mail PM Find Quote Report
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
O.P. RE: Image Element Handle
quote:
Originally posted by Matty
This should work:
code:
pPlusWnd.ImageElmt_SetImageFile('imgImage', '');

Thanks it works [Image: xso_cheesy.gif] 
Another question. Is there a way to set the plus! png back other than reloading the window?
code:
pPlusWnd.ImageElmt_SetImageFile('imgImage', 'icon-floppy');
doesn't do the trick [Image: msn_sad.gif].
11-04-2006 04:31 AM
Profile E-Mail 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