Previous Up Next

_CBtextDropFile
Define a callback on drop file event. Text control should have been created with ET_DRAGDROP flag.

ObjText _CBtextDropFile (
ObjText _text_
fun [ObjText u0 I I [P r1]] u1 _callback_
u0 _user_
)
Parameters

_text_
any text control
_callback_
callback on drop file event (supplemental parameters are x,y coordinates and list of files)
_user_
user parameter
Return value

same text control