Sent to a column, data field, multiline field, list box, combo box, picture, custom control. Only sends this message to windows that have enabled file dropping. It is sent when the user drops a file or files from Explorer or File Manager on the object. Call the SalDropFilesQueryFiles function to get the names of the files dropped on the object. SalDropFilesQueryFiles returns the number of files that were dropped or 0 if the function fails. You can only call SalDropFilesQueryFiles during SAM_DropFiles message processing. Call the SalDropFilesQueryPoint function to get the location of the mouse in the window where the user dropped the file or files. By default, file dropping is enabled for editable picture objects. To avoid this default processing, execute a Return statement in the SAM_DropFiles message processing for a picture object and do not perform any other processing. For example, when a user drops on a picture, you can call SalDropFilesQueryFiles or SalDropFilesQuer

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_DropFiles

See Also