LVectorWindow::OnFileDropped

#include "ltwrappr.h"

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

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

Parameters

L_TCHAR * pszFile

Character string that contains the name of the dropped file.

L_UINT uFileNumber

The number of the dropped file.

L_UINT uFilesCount

The total number of dropped files.

Returns

Value Meaning
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 LVectorWindow 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

See Also

Functions

Example

For an example, refer to LVectorWindow::MsgProcCallBack.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.