What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help getting handle of an element.

help getting handle of an element.
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: help getting handle of an element.
Instead of using GetDC() (which implies GDI), try getting the data into a Bitmap object (which is in the far better GDI+).

Using the GDI+ API will allow you to render text easily, and quickly save the file in one of a number of formats.

Even if you have to get a DC, it should be possible to use a GetHandle-type call on the element with the ID of 'Avatar', and then copy the data from that DC to the Bitmap.

If you like, I'll post more information later when I've had a chance to fully research it.
[Image: spartaafk.png]
08-09-2006 02:38 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
help getting handle of an element. - by Ash_ on 08-09-2006 at 11:06 AM
RE: help getting handle of an element. - by RaceProUK on 08-09-2006 at 02:38 PM


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