Method: WinWindow#owner
- Defined in:
- lib/winwindow.rb
#owner ⇒ Object
The retrieved handle identifies the specified window’s owner window, if any.
431 432 433 434 |
# File 'lib/winwindow.rb', line 431 def owner owner_hwnd=WinUser.GetWindow(hwnd, GW_OWNER) @owner= owner_hwnd > 0 ? self.class.new(owner_hwnd) : nil end |