CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 1999
    Posts
    2

    Showing Pictures

    Hello People. I´m developing a program and i just would like to show some saved pictures from the hard disk? How do I do that? Shall i transform it to a bitmap? Help.

    David


  2. #2
    Join Date
    Jun 1999
    Location
    SLC, Utah
    Posts
    155

    Re: Showing Pictures

    Yes, I would load the images, convert them to bitmap and display - or if you have an API which would display the images in their current format, that would be okay too.


  3. #3
    Join Date
    Jun 1999
    Posts
    24

    Re: Showing Pictures

    im working on a simple program that requires me to replace bitmaps in one static control with other ones. like SEVEN to CHERRY. whats a good way to go about this? oh and they be in the resources.


  4. #4
    Join Date
    Feb 2000
    Location
    Rennes, France
    Posts
    624

    Re: Showing Pictures

    Ok but we have to write the API, then, haven't we?

    I have a gif picture with transparent backgroung. A friend told me that bitmaps can't have transparent background.

    Then when I manage to have a stisfactory bitmap, I store it in the res directory? Add the file to the project? and it will appear in the Image dropdown box of the Properties dialog box of the control????

    Marina

    Please go vote for your country!

  5. #5
    Join Date
    Nov 1999
    Location
    Dresden / Germoney
    Posts
    1,402

  6. #6
    Join Date
    Nov 1999
    Location
    Dresden / Germoney
    Posts
    1,402

    Re: Showing Pictures

    Hi,
    as long as they are bitmaps, it's already in windows, and since it gets asked often, I wrote a small MFC control (http://buerger.metropolis.de/bitbuck...ls/wndimg.html (third time today - it's bitmaps again?)

    For others, like GIF and JPEG, some free libraries are out there. however, I haven't found one yet I could heartily suggest...

    Good luck
    Peter


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