[wxruby-users] How to get a Window handle from another app?

Ellis, Peter Peter_Ellis at nrel.gov
Mon Jan 14 17:53:53 EST 2008


Hello,

 

I would like to get a window handle from another app outside of wxRuby
and convert it into a wxRuby Window handle so that I can use it as the
parent Window for several wxRuby child windows.  Basically I want to use
the FRAME_FLOAT_ON_PARENT window style so that my wxRuby windows become
associated with the outside app kind of like toolbars, e.g., they don't
show up in the taskbar and are always floating on top of my target app.


 

Going through the archives I found a related question here, but I think
it's the opposite of what I want to do:

http://rubyforge.org/pipermail/wxruby-users/2007-December/003485.html

 

I already have wxRuby and my target app talking to each other pretty
well, it would just make for a cleaner interface to make the target app
into the parent window somehow.

 

Oh, and did I mention?, I'm looking for a cross-platform solution for
Windows and OSX!  Or I'll just settle for Windows-only if I have to.

 

Any ideas?

 

Thanks,

P

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20080114/4c894028/attachment-0001.html 


More information about the wxruby-users mailing list