How to get a Window handle from another app?

Ellis, Peter
Mon, 14 Jan 2008 22:53:53 -0000

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





_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org