CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2001
    Location
    Jonquière, Québec, Canada
    Posts
    73

    Display Icon from bytes array

    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 ?


  2. #2
    Join Date
    May 2001
    Location
    Russia
    Posts
    200

    Re: Display Icon from bytes array

    You can use two API function CreateCursor and DestroyCursor. Sorry, but read about this function into MSDN

    Andy Tower

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured