What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [REQ/HELP] Display Picture as Window Icon

[REQ/HELP] Display Picture as Window Icon
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [REQ/HELP] Display Picture as Window Icon
quote:
Originally posted by Matti
That doesn't work since GdipCreateHICONFromBitmap requires Bitmap to be a GDI+ Bitmap and not a HBITMAP.

However, I managed to get this working by using the code in matty's reply to [REQ/HELP] Display Picture as Window Icon. The only real thing that needed changing was that the hIcon had to be read from the DataBloc before being passed to WM_SETICON or DestroyIcon since those normal Win32 functions use the handle as a regular DWORD. Oh, and of course you made some typos. :P
Typos?

And oops... forgot about the DataBloc... as stated untest as I am at work.

This is going to sound like an excuse... however my keyboard has been acting funny. It causes me to return to the previous page, or overwrite previous typed text, or highlight the last letter typed... its fucked. But its intermittent.

This post was edited on 10-05-2009 at 05:38 PM by matty.
10-05-2009 05:31 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[REQ/HELP] Display Picture as Window Icon - by NoWhereMan on 10-04-2009 at 02:57 PM
RE: [REQ/HELP] Display Picture as Window Icon - by matty on 10-05-2009 at 02:05 PM
RE: [REQ/HELP] Display Picture as Window Icon - by NoWhereMan on 10-05-2009 at 03:48 PM
RE: [REQ/HELP] Display Picture as Window Icon - by NoWhereMan on 10-05-2009 at 04:46 PM
RE: [REQ/HELP] Display Picture as Window Icon - by Matti on 10-05-2009 at 05:26 PM
RE: [REQ/HELP] Display Picture as Window Icon - by matty on 10-05-2009 at 05:31 PM
RE: [REQ/HELP] Display Picture as Window Icon - by NoWhereMan on 10-05-2009 at 05:47 PM
RE: [REQ/HELP] Display Picture as Window Icon - by ryxdp on 10-06-2009 at 01:35 AM
RE: [REQ/HELP] Display Picture as Window Icon - by NoWhereMan on 10-06-2009 at 06:26 AM
RE: RE: [REQ/HELP] Display Picture as Window Icon - by ryxdp on 10-06-2009 at 07:19 AM
RE: [REQ/HELP] Display Picture as Window Icon - by Matti on 10-06-2009 at 02:55 PM
RE: [REQ/HELP] Display Picture as Window Icon - by NoWhereMan on 10-06-2009 at 03:26 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