Method: WinWindow#click!
- Defined in:
- lib/winwindow.rb
#click! ⇒ Object
tries to click on this Window (using PostMessage sending BM_CLICK message).
Clicking might not always work! Especially if the window is not focused (frontmost application). The BM_CLICK message might just be ignored, or maybe it will just focus the hwnd but not really click.
855 856 857 |
# File 'lib/winwindow.rb', line 855 def click! WinUser.PostMessageA(hwnd, BM_CLICK, 0, nil) end |