CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    216

    API to display image on a window

    I have the handle of a window. I also have the name(with path) of a file, which contains an image.
    I want to use API(s) to display that image in that window. The image should resize so that it covers whole of the window.

    How do I do this? Thanks.

  2. #2
    Join Date
    Dec 2003
    Location
    Syracuse, NY
    Posts
    400

    Re: API to display image on a window

    What type of image is it?

    If its a BMP image you can just use Win32 to display it.
    "Windows programming is like going to the dentist: You know it's good for you, but no one likes doing it."
    - Andre LaMothe

    DLL For Beginners(UPDATED)
    Please use CODE tags
    Rate me if I've helped.

  3. #3
    Join Date
    Jan 2008
    Posts
    48

    Re: API to display image on a window

    You can guess it's a win32 FAQ for ages
    Always search on google gr.
    http://groups.google.com/group/comp....2/topics?pli=1

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