Hyper links & .JPEG

This is a discussion on Hyper links & .JPEG within the Windows Programming forums, part of the Platform Specific Boards category; I have two questions. 1.) How do I make link to a internet site in my program 2.) I know ...

  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 03: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: 51
    Last Post: 12-30-2012, 07:55 PM
  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, 04: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21