Module: Fzeet::UpDownMethods

Included in:
UpDown
Defined in:
lib/fzeet/windows/comctl/UpDown.rb

Instance Method Summary collapse

Instance Method Details

#buddy=(buddy) ⇒ Object



64
# File 'lib/fzeet/windows/comctl/UpDown.rb', line 64

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

#position=(position) ⇒ Object



68
# File 'lib/fzeet/windows/comctl/UpDown.rb', line 68

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

#range=(range) ⇒ Object



66
# File 'lib/fzeet/windows/comctl/UpDown.rb', line 66

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