Module: Fzeet::UpDownMethods

Included in:
UpDown
Defined in:
lib/fzeet/Control/UpDown.rb

Instance Method Summary collapse

Instance Method Details

#buddy=(buddy) ⇒ Object



5
# File 'lib/fzeet/Control/UpDown.rb', line 5

def buddy=(buddy) sendmsg(:setbuddy, buddy.handle) end

#position=(position) ⇒ Object



9
# File 'lib/fzeet/Control/UpDown.rb', line 9

def position=(position) sendmsg(:setpos32, 0, position) end

#range=(range) ⇒ Object



7
# File 'lib/fzeet/Control/UpDown.rb', line 7

def range=(range) sendmsg(:setrange, 0, Windows.MAKELONG(*range.reverse)) end