module Fzeet::EditMethods
Public Instance Methods
clear()
click to toggle source
# File lib/fzeet/windows/user/Control/Edit.rb, line 73 def clear; self.text = ''; self end
hideBalloontip()
click to toggle source
# File lib/fzeet/windows/user/Control/Edit.rb, line 94 def hideBalloontip; sendmsg(:hideBalloontip); self end
select(s = 0, e = -1)
click to toggle source
# File lib/fzeet/windows/user/Control/Edit.rb, line 75 def select(s = 0, e = -1) sendmsg(:setsel, s, e); self end
showBalloontip(text, title = '', icon = 1)
click to toggle source
# File lib/fzeet/windows/user/Control/Edit.rb, line 79 def showBalloontip(text, title = '', icon = 1) Windows.LPWSTR(text) { |ptext| Windows.LPWSTR(title) { |ptitle| ebt = Windows::EDITBALLOONTIP.new ebt[:cbStruct] = ebt.size ebt[:pszTitle] = ptitle ebt[:pszText] = ptext ebt[:ttiIcon] = Fzeet.constant(icon, :tti_) sendmsg(:showBalloontip, 0, ebt.pointer) }} self end