CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009

    Loading a JPEG dynamically into a dialog

    I need to dynamically load some thumbnail size jpegs into a Dialog in my MFC app - the jpegs change occaisionally too in realtime.
    Has anyone any example code of how to load them into a CPicture and display onscreen?
    I'm not married to a CPicture tho, any any other suggestions would be appreciated.
    I've trawled the web, but the msdn site only yields links to code that are returning 404 !

  2. #2
    Join Date
    Nov 2000
    Voronezh, Russia

    Re: Loading a JPEG dynamically into a dialog

    I'm not married to a CPicture
    Great, then give a try (in order of preference) to CImage or IPicture.
    Last edited by Igor Vartanov; September 12th, 2009 at 01:46 AM.
    Best regards,

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.