Method: WinWindow#send_close!

Defined in:
lib/winwindow.rb

#send_close!Object

sends notification that the window should close. returns nil (we get no indication of success or failure).

msdn.microsoft.com/en-us/library/ms632617%28VS.85%29.aspx



843
844
845
846
847
848
# File 'lib/winwindow.rb', line 843

def send_close!
  buff_size=0
  buff=""
  len=WinUser.SendMessageA(hwnd, WM_CLOSE, buff_size, buff)
  nil
end