BrowseDir example for C++ 5.0 and later
m_pRasterThumbnail->PutEnableMethodErrors(FALSE);
m_pRasterThumbnail->PutStopOnError(FALSE);
m_pRasterThumbnail->PutFilter("*.*"); //search for all files
m_pRasterThumbnail->PutThumbnailWidth(150);
m_pRasterThumbnail->PutThumbnailHeight(150);
m_pRasterThumbnail->PutThumbnailBitsPerPixel(0);
m_pRasterThumbnail->PutMaintainAspect(TRUE);
m_pRasterThumbnail->PutForceSize(TRUE);
m_pRasterThumbnail->PutThumbnailBackgroundColor(RGB(0, 255, 0));
m_pRasterThumbnail->PutLoadStamp(TRUE);
m_pRasterThumbnail->PutResample(TRUE);
m_pRasterThumbnail->PutIncludeSubDirectories(FALSE);
m_pRasterThumbnail->PutExpandMultipage(FALSE);
m_pRasterThumbnail->PutMaxSizeDisk(0); //no filesize limit
m_pRasterThumbnail->PutMaxSizeMem(0); //no image size limit
m_pRasterThumbnail->PutDitherFlags(THMB_CRD_STUCKIDITHERING);
m_pRasterThumbnail->PutPaletteFlags(THMB_CRP_FIXEDPALETTE);
m_pRasterThumbnail->BrowseDir("g:\\images");