SetLegalSelectionTypes

#include "BIThumbnail.h"

 

void SetLegalSelectionTypes(UINT legalSelectionTypes)

Description

Set code of the legal selection types. If selection option is set to SO_ALLIMAGEFILES, the Thumbnail dialog displays just these type of images. In the menu Options/Selection… Show special image files is where these types will be shown.

Parameters

UINT

legalSelectionTypes

Code of the legal selection types.

Programming notes

Legal values of legalSelectionTypes:

SO_ALLIMAGEFILES         Display all of image files

SO_TIFF_FILE                      Display tiff files

SO_PCX_FILE                      Display pcx files

SO_DCX_FILE                     Display dcx files

SO_GIF_FILE                       Display gif files

SO_BMP_FILE                      Display bmp files

SO_CLP_FILE                       Display clp files

SO_WMF_FILE                     Display wmf files

SO_EMF_FILE                      Display emf files

SO_FAX_FILE                      Display fax files

SO_TGA_FILE                      Display tga files

SO_JPEG_FILE                     Display jpeg files

SO_CALS_FILE                    Display cals files

SO_PNG_FILE                      Display png files

SO_PDF_FILE                       Display pdf files

User can apply binary OR operation on these constants.

Requirements

Header :     Declared in BiThumbnail.h; include BiThumbnail.h

Library :    Use BiThumbnail.lib

DLLs :       BiThumbnail.dll