Sha256: 062162e332eb9f426f8b318c0decc6c9449c6c34e3c28e9065ff017e74dc635a

Contents?: true

Size: 566 Bytes

Versions: 3

Compression:

Stored size: 566 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')

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
win32-autogui-0.4.3 lib/win32/autogui/windows/window.rb
win32-autogui-0.4.2 lib/win32/autogui/windows/window.rb
win32-autogui-0.4.1 lib/win32/autogui/windows/window.rb