Previous Up Next

_CBbuttonDropFile
Define a callback on drop file event. Button should have been created with PB_DRAGDROP flag.

ObjButton _CBbuttonDropFile (
ObjButton _button_
fun [ObjButton u0 I I [P r1]] u1 _callback_
u0 _user_
)
Parameters

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

same button