Method: WinUser32Ruby#post_message

Defined in:
lib/user32/user32_system.rb

#post_message(hwnd, message, w_param, l_param) ⇒ Object

Wrapper for PostMessage.

hwnd

Handle to the window we’re sending the message to

message

message to send

w_param

message specific information

l_param

more message specific information



42
43
44
45
# File 'lib/user32/user32_system.rb', line 42

def post_message(hwnd, message, w_param, l_param)
  pm = user32 'PostMessage', 'LLLL', 'L'
  pm.call hwnd, message, w_param, l_param
end