Benjamin,

The ImageGallery example just looks at a folder and builds an array of filenames to handle. Your logic would need to set the pPictureNames property of the cImageGallery object. This can be done fully by your code or by sending a method like ReadPictureNames as in the example.