EventDropImage()
语法
Result = EventDropImage(#Image [, Depth])概要
After a #PB_Event_GadgetDrop or #PB_Event_WindowDrop is received by WaitWindowEvent() or WindowEvent() with a format (can be get with EventDropType()) of #PB_Drop_Image, this function can be used to retrieve the dropped image.
参数
#Image The number for the new image to create. #PB_Any can be used to auto-generate this number. Depth (optional) The color depth for the new image. Supported values are 24 and 32-bit. 24-bit is the default.
返回值
Returns nonzero if the image was successfully created and zero if not. If #PB_Any was used for the #Image parameter then the generated number is returned on success.
参阅
EnableGadgetDrop(), EnableWindowDrop(), EventDropType(), EventDropAction(), EventDropX(), EventDropY()
已支持操作系统
所有