Method: AutoItX3::Window#close
- Defined in:
- lib/AutoItX3/window.rb
#close ⇒ Object
Sends WM_CLOSE to self. WM_CLOSE may be processed by the window, it could, for example, ask to save or the like. If you want to kill a window without giving the ability to process your message, use the #kill method.
143 144 145 146 147 |
# File 'lib/AutoItX3/window.rb', line 143 def close Window.functions[__method__] ||= AU3_Function.new("WinClose", 'SS', 'L') Window.functions[__method__].call(@title.wide, @text.wide) nil end |