Module: Fzeet::UpDownMethods

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

Instance Method Summary collapse

Instance Method Details

#buddy=(buddy) ⇒ Object



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

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

#position=(position) ⇒ Object



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

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

#range=(range) ⇒ Object



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

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