Thread: Hyper links & .JPEG

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    109

    Hyper links & .JPEG

    I have two questions.

    1.) How do I make link to a internet site in my program

    2.) I know you can display .BMP in a program but can you display a .JPEG?

    Thanks
    Granger9

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    1. ShellExecute is easiest (do a search on this board as it has been discussed before).

    2. Yes. OleLoadPicture (but forget it if you use MinGW, although it may be worth a trot over to MinGW cvs to check out the latest headers). Use google to find heaps of examples of this one.

    2b. Using GDI+ (GDIPlus) yes, very easily but definitely forget it if you are using MinGW. If you search this board with 'gdiplus' you should get a link to the ms download for the dll(if required; xp has it already) + sdk(you will need this). There are clear examples with the ms download for accomplishing this with jpeg,png,gif,tiff,bmp formats.

    Hope that helps.
    Last edited by Ken Fitlike; 09-07-2002 at 02:07 PM.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Game Programming Links
    By RoD in forum Game Programming
    Replies: 54
    Last Post: 01-31-2022, 02:50 AM
  2. Magnet Links
    By anirban in forum Tech Board
    Replies: 3
    Last Post: 12-08-2007, 08:07 AM
  3. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM