comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Embedding applications into widgets.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Embedding applications into widgets. [message #31024] Thu, 06 June 2002 08:30 Go to next message
lucianor is currently offline  lucianor
Messages: 12
Registered: June 2002
Junior Member
Hello,
I have maybe a dummy question, hope someone can help:
I would like to know how can I embed an external application window
(for example 'iexplore.exe') into my IDL base widget. By this I mean
that this application should appear at a predefined position inside my
widget, close itself when I destroy the widget, etc. I can open the
application without problem with the 'Spawn' command, but of course it
appears in its own space, outside from the widget and does not close
itself when I destroy the widget. Maybe I can use something like the
widget hierarchy to tell this application that its parent is my base
widget, but I don't know how to do that or if it's even possible.
Thank you.

Luciano.
Re: Embedding applications into widgets. [message #31161 is a reply to message #31024] Fri, 07 June 2002 08:02 Go to previous message
nobody@nowhere.com (S is currently offline  nobody@nowhere.com (S
Messages: 55
Registered: July 2001
Member
On Fri, 07 Jun 2002 12:28:16 GMT, ronn kling <ronn@rlkling.com> wrote:
> in article 902633c3.0206060730.29344abb@posting.google.com, Luciano at
> lucianor@sinectis.com.ar wrote on 6/6/02 11:30 AM:
>
>> Hello,
>> I have maybe a dummy question, hope someone can help:
>> I would like to know how can I embed an external application window
>> (for example 'iexplore.exe') into my IDL base widget. By this I mean
>> that this application should appear at a predefined position inside my
>> widget, close itself when I destroy the widget, etc. I can open the
>> application without problem with the 'Spawn' command, but of course it
>> appears in its own space, outside from the widget and does not close
>> itself when I destroy the widget. Maybe I can use something like the
>> widget hierarchy to tell this application that its parent is my base
>> widget, but I don't know how to do that or if it's even possible.
>> Thank you.
>>
>> Luciano.
> Hi Luciano,
>
> You would need to use the new WIDGET_ACTIVEX function in IDL5.5. I have
> used it a few times with great success.
>
> If you don't have 5.5 then I don't think it is possible...
>
> -Ronn
>
>
> --
> Ronn Kling
> KRS, inc.
> email: ronn@rlkling.com
> "Application Development with IDL"� programming book updated for IDL5.5!
> "Calling C from IDL, Using DLM's to extend your IDL code"
> http://www.rlkling.com/
>
>

I almost commented on this, but wasn't sure of the status of ActiveX in the
latest IDL (I'm still at 5.2). Doesn't the original posters question also
depend on what procedures/methods are exposed by iexplorer via ActiveX?

--
Steve S.

steve @ NOSPAM mailaps dot org
remove spaces, NOSPAM and replace dot for . before replying
Re: Embedding applications into widgets. [message #31165 is a reply to message #31024] Fri, 07 June 2002 05:28 Go to previous message
ronn is currently offline  ronn
Messages: 123
Registered: April 1999
Senior Member
in article 902633c3.0206060730.29344abb@posting.google.com, Luciano at
lucianor@sinectis.com.ar wrote on 6/6/02 11:30 AM:

> Hello,
> I have maybe a dummy question, hope someone can help:
> I would like to know how can I embed an external application window
> (for example 'iexplore.exe') into my IDL base widget. By this I mean
> that this application should appear at a predefined position inside my
> widget, close itself when I destroy the widget, etc. I can open the
> application without problem with the 'Spawn' command, but of course it
> appears in its own space, outside from the widget and does not close
> itself when I destroy the widget. Maybe I can use something like the
> widget hierarchy to tell this application that its parent is my base
> widget, but I don't know how to do that or if it's even possible.
> Thank you.
>
> Luciano.
Hi Luciano,

You would need to use the new WIDGET_ACTIVEX function in IDL5.5. I have
used it a few times with great success.

If you don't have 5.5 then I don't think it is possible...

-Ronn


--
Ronn Kling
KRS, inc.
email: ronn@rlkling.com
"Application Development with IDL"� programming book updated for IDL5.5!
"Calling C from IDL, Using DLM's to extend your IDL code"
http://www.rlkling.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: draw widget + keyboard events
Next Topic: Re: FOR LOOP problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:17:25 PDT 2025

Total time taken to generate the page: 0.00624 seconds