From: csjuko@... (csjuko) Date: 2003-05-09T18:38:18+09:00 Subject: SendMessage Win32API function Hi, Has anyone used SendMessage API call successfully with Ruby? Any information would be useful! I've tried the following: require "Win32API" WM_SETTEXT=0xC wnd = Win32API.new("user32", "FindWindow", ['P','P'], 'L') snd = Win32API.new("user32", "SendMessage", ['L','L','L','L'], 'L') snd.call(wnd.call(0,"TestAppTitle"), WM_SETTEXT, ... and then what? I'm trying to fill some text boxes automatically on a dialog (whose title is "TestAppTitle") Thanks a lot! csjuko