Method: WinWindow#parent
- Defined in:
- lib/winwindow.rb
#parent ⇒ Object
retrieves a handle to this window’s parent or owner
481 482 483 484 |
# File 'lib/winwindow.rb', line 481 def parent parent_hwnd=WinUser.GetParent(hwnd) @parent= parent_hwnd > 0 ? self.class.new(parent_hwnd) : nil end |