July 16th, 2009, 08:22 AM
[RESOLVED] Get Filename from Initialized Object
I'm afraid I already know the answer to this question, but hey, it never hurts to ask right?
I have an application where several images are loaded as properties of control(s) at design time and / or at runtime. Ones that are loaded at runtime are loaded via Commondialog and the filename is stored in an parallel array to the image object array so I can keep the file names for subsequent loads, however if the image is loaded at design time via the property panel I can't programatically get the filename. The long pointer of course does me no good once the instance of the object expires.
I was hoping there was an API call that would retrieve the filename and possibly other file information from the initialized Picture Object. Anyone have any 'pointers' (No pun intended)
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.