Displaying An Icon - Starting Points

Discussion in 'Mac Programming' started by EvilGuru, Nov 20, 2006.

  1. EvilGuru macrumors newbie

    Nov 20, 2006
    Hi. I am new to Carbon development (and am quite enjoying it) and thought that it might be fun to create an application whereby the user supplies a file and it then gets the icon for that file (GetIconRefFromFile) and then displays it.

    I have managed to get the code done for up to getting the icon reference, however I am not sure what to do know when it comes to rendering the icon on the screen. Would it be possible to display it in an HIImageView after converting it to the correct format? Or is there a better way to do it.

    Regards, Freddie.
  2. kainjow Moderator emeritus


    Jun 15, 2000
    Sorry I don't have an answer, but I'm curious as to why you're starting off learning Carbon instead of Cocoa?

Share This Page