Loading a JPEG dynamically into a dialog
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Loading a JPEG dynamically into a dialog

  1. #1
    Join Date
    Aug 2009
    Posts
    11

    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
    Location
    Voronezh, Russia
    Posts
    5,990

    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,
    Igor

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

This is a CodeGuru survey question.


Featured


HTML5 Development Center