Sha256: 2b047dbbc6263fdab4257f24091e11e70200f7ab7c3dfd9bfc9fe4a878e66ddc

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

# Reopen module and supply missing constants and
# functions from windows-pr gem
#
# TODO: Fork and send pull request for Windows::Window module, be sure to lock bundle before sending request
#
module Windows
  module Window

    SC_CLOSE = 0xF060

    API.auto_namespace = 'Windows::Window'
    API.auto_constant  = true
    API.auto_method    = true
    API.auto_unicode   = false

    API.new('IsWindow', 'L', 'I', 'user32')
    API.new('SetForegroundWindow', 'L', 'I', 'user32')
    API.new('SendMessageA', 'LIIP', 'I', 'user32')
    API.new('IsWindowVisible', 'L', 'I', 'user32')
    API.new('GetDlgCtrlID', 'L', 'I', 'user32')

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
win32-autogui-0.5.3 lib/win32/autogui/windows/window.rb
win32-autogui-0.5.2 lib/win32/autogui/windows/window.rb