Shoutbox

ImageElement from image hDC - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: ImageElement from image hDC (/showthread.php?tid=63972)

ImageElement from image hDC by Dempsey on 07-25-2006 at 12:12 PM

I'm asking before Ive really tried much, but is it actually possible to change the image in an ImageElement to an image in memory?  Via a hdc, rather than specifying an image to load from a file?

Even if its via SendMessage or something to update it and not via plus! scripting?

If its not could it be added Patchou ?  :P


RE: ImageElement from image hDC by RaceProUK on 07-25-2006 at 02:41 PM

Why use an HDC when you can use a GDI+ Bitmap? The code will be cleaner, you can do more fancy stuff easier, and it has stronger type safety. Plus Bitmap supports BMP, GIF, PNG, JPG etc.