From: Lyle Johnson Date: 2009-12-17T23:01:46+09:00 Subject: Re: Excel and FxRuby windows On Wed, Dec 16, 2009 at 10:50 PM, djlewis wrote: > I have a ruby app on Windows, with an FxRuby UI that opens up Excel > using Win32OLE.  The Excel window obscures the UI at one point.  How > can I programmatically send the Excel window to the back and/or bring > the FxRuby UI to the front. I know I can just not display the the > Excel window at all, but I'd like to leave it open, just behind the > UI, as if the user clicked on the ruby app's tray icon (which they can > always do manually, if necessary). See if calling raiseWindow() on your FXRuby app's main window brings it to the front.