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).
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 |