Click to See Complete Forum and Search --> : Display Icon from bytes array


Tyler007
June 19th, 2001, 01:37 PM
I have the bitmap for an Icon (variant()) and I want to send it through TCP/IP using the winsock control so the client can display it. I don't want to write it to a file. I want the client to catch the bitmap, store it again in an array (or any kind of variable that does the trick) and then, display it at the appropriate time.

How can I send it, catch it correctly and then display it in some kind of picture container ?

Tower
June 19th, 2001, 07:11 PM
You can use two API function CreateCursor and DestroyCursor. Sorry, but read about this function into MSDN