Description This method initializes a thumbnail control.
Usage RetVal = [BiThumbnail.] InitThumbnail parentWnd menuStyle controlStyle windowStyle
Remarks RetVal LONG Thumbnail handler.
parentWnd LONG Handler of parent window
menuStyle LONG Code of menu style.
controlStyle LONG Code of control style.
windowStyle LONG Code of window style.
Available menu style codes (user can add these constants):
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.
Available control style codes (user can add these constants):
CS_EMPTY Show just thumbnail control
CS_ALL Show all of controls
CS_DIRECTORY_COMBOBOX Show directoty combo
CS_TREECONTROL Show tree control
CS_CANCEL_BUTTON Show cancel button
CS_OPEN_BUTTON Show open button
CS_STATUSBAR Show statusbar
Available window style codes (user can add these constants):
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
See Also DeleteThumbnail Method