Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapWindow::OnFileDropped

Show in webframe

#include "ltwrappr.h"

virtual L_BOOL LBitmapWindow::OnFileDropped(pszFile, uFileNumber, uFilesCount)

L_TCHAR * pszFile;

/* dropped file name */

L_UINT uFileNumber;

/* dropped file number */

L_UINT uFilesCount;

/* total number of dropped files */

This function is called for every file that is dropped on the LBitmapWindow object's window.

Parameter

Description

pszFile

The name of the dropped file.

uFileNumber

The number of the dropped file.

uFilesCount

The total number of dropped files.

Returns

TRUE

Continue processing.

FALSE

Stop processing.

Comments

This function will be called repeatedly as a result of a file drag/drop operations. The function will be called for every file that is dropped on the LBitmapWindow object's window. Override this function if you want to handle the dropped files. The default implementation will attempt to load the image file and display the image.

If more than one file is dropped, then this function will be called for every dropped file, as long as you continue to return TRUE from this function. If you return FALSE, the enumeration process will be terminated.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

For an example, refer to LBitmapWindow::CreatePanWnd.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.