File Preview Dialog Class
Many times you may want to allow your users to see a preview of the file that they are about to open. CPreviewFileDialog does just that.
The only work that you will have to do is to write a class derived from CAbstractPreview .