Take a look at the panel tree view sample - if I remember correctly that can display a preview of a disk file in its panel. Not sure it can handle a pict.
I have to add a image on a dialog, I am able to add a image on Windows by associating a image resource ID with image path in .rc file. But not able to do the same on mac. How can we associate image resource ID with image path on MAC?
Thanks in advance.
You may need to have similar resource file called 'yourProj.fr.rsrc' file on Mac to store your pictures and use some tools such as Resorcerer to edit it and change all resource id to match with your Window resource ids, then you could do the similar runtime display the pictures etc, even use same code in your window version.