Method: WinWindow#enabled_popup
- Defined in:
- lib/winwindow.rb
#enabled_popup ⇒ Object
The retrieved handle identifies the enabled popup window owned by the specified window (the search uses the first such window found using GW_HWNDNEXT); otherwise, if there are no enabled popup windows, nil is returned.
423 424 425 426 |
# File 'lib/winwindow.rb', line 423 def enabled_popup popup_hwnd=WinUser.GetWindow(hwnd, GW_ENABLEDPOPUP) @enabled_popup= popup_hwnd > 0 && popup_hwnd != self.hwnd ? self.class.new(popup_hwnd) : nil end |