Method: VRDragDropSource#dragStart

Defined in:
lib/vr/vrddrop.rb

#dragStartObject



112
113
114
115
116
117
118
119
# File 'lib/vr/vrddrop.rb', line 112

def dragStart()
  GetCursorPos.call(@_vr_pointbuffer)
  if DragDetect.call(self.hWnd,@_vr_pointbuffer)!=0 then
    @_vr_dragging=true
    @screen.application.setCursor @_vr_dragging_cursor
    setCapture
  end
end