This section covers, in detail, the functions available with the BITHUMBNAIL.DLL.
This dialog component supports browsing in directories and showing image files as a thumbnail. It cannot display all pages of multipage images (If you want to display multipage images you can use the low level functions). This dialog supports deleting and copying files with the drag & drop technique. Thumbnail allows single and multi selection modes; sorting by name, type, date and size and selection for image types and it also supports modal and modeless displaying of the dialog. Additionally, getting image and file information can also be done easily.
Note:The Thumbnail Dialog displays maximum 1500 files per directory.
BiThumbnailDlg
#include "BIThumbnail.h"
BiThumbnailDlg(HWND parentWnd = NULL,
UINT menuStyle = MS_ALL,
UINT controlStyle = CS_ALL,
UINT windowStyle = WS_ENABLE_ALL)
Description
This is the constructor of BiThumbnailDlg class.
Parameters
|
HWND |
parentWnd |
Pointer to parent window. |
|
UINT |
menuStyle |
Set menu style. |
|
UINT |
controlStyle |
Set control style. |
|
UINT |
windowStyle |
Set window style. |
Programming notes
Legal values of menuStyle:
MS_EMPTY does not show any items
MS_ALL show all menu items
MS_FILE show file menu
MS_VIEW show view menu
MS_OPTIONS show options menu
MS_HELP show help menu
MS_FILE_OPEN show file/open menu
MS_FILE_DELETE show file/delete menu
MS_FILE_BROWSE show file/browse... menu
MS_FILE_EXIT show file/exit menu
MS_VIEW_STATUSBAR show view/statusbar menu
MS_OPTIONS_DISPLAY show options/display menu
MS_OPTIONS_SELECTION show options/selection menu
MS_HELP_ABOUT show help/about... menu
User can apply binary OR operation on these constants.
Legal values of controlStyle:
CS_EMPTY show just thumbnail control
CS_ALL show all of controls
CS_DIRECTORY_COMBOBOX show directory combo
CS_TREECONTROL show tree control
CS_CANCEL_BUTTON show cancel button
CS_OPEN_BUTTON show open button
CS_STATUSBAR show statusbar
User can apply binary OR operation on these constants.
Legal values of windowStyle:
WS_ENABLE_ALL all these styles are enabled
WS_DISABLE_CAPTION disable the caption bar
WS_DISABLE_RESIZE disable the resizability
WS_DISABLE_MINIMIZE_BUTTON disable the minimize button
WS_DISABLE_MAXIMIZE_BUTTON disable the maximize button
WS_DISABLE_SYSMENU disable system menu
WS_DISABLE_BORDER disable border
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