From: Roger Pack Date: 2009-05-07T04:21:19+09:00 Subject: Re: calling winapi for EnumDisplayMonitors Phil Smy wrote: > I am trying to write a desktop application in Ruby. We need to find out > what monitors are attached to the XP machine this will run on. > I looked at how SWT does this and it is accomplished via calling > EnumDisplayMonitors (windows api). Ruby wmi is also quite nice (dunno if it helps here though). http://betterlogic.com/roger/?p=1291 -- Posted via http://www.ruby-forum.com/.