CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Building Interactive UIs with ASP.NET Ajax: Rebinding Client-Side Events After a Partial Page Postback
  • Speed Up Repetitive Insert, Update, and Delete Query Statements
  • Binding Data to Silverlight 4.0 Controls Using ASP.NET MVC Framework 2.0
  • ADO.NET Data Services in the .NET Framework

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old September 11th, 2009, 02:56 PM
    MJBritton25 MJBritton25 is offline
    Junior Member
     
    Join Date: Aug 2009
    Posts: 11
    MJBritton25 is an unknown quantity at this point (<10)
    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 !
    Reply With Quote
      #2    
    Old September 12th, 2009, 01:43 AM
    Igor Vartanov's Avatar
    Igor Vartanov Igor Vartanov is online now
    Elite Member
     
    Join Date: Nov 2000
    Location: Voronezh, Russia
    Posts: 3,704
    Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)Igor Vartanov has a brilliant future (2000+)
    Re: Loading a JPEG dynamically into a dialog

    Quote:
    I'm not married to a CPicture
    Great, then give a try (in order of preference) to CImage or IPicture.
    __________________
    Respectfully,
    Igor

    Last edited by Igor Vartanov; September 12th, 2009 at 01:46 AM.
    Reply With Quote
    Reply

    Bookmarks

    Tags
    jpeg, jpg, mfc
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:35 AM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.