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

Home » Public Forums » archive » Re: VTK + IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: VTK + IDL [message #40657 is a reply to message #40656] Wed, 25 August 2004 09:48 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Karl Schultz wrote:


> You would need two things for this -
>
> 1) A way to get an OS-level window ID for the window that IDL created in a
> WIDGET_DRAW widget.
> 2) A way to pass this window ID to VTK and tell it to use that instead of
> creating its own.
>
> I am pretty sure that (1) does not exist, and the VTK docs would indicate if
> (2) is possible.


I'll join the chorus in saying that IDL can probably do all you need it
to do and that I would think you would be crazy to write an IDL->VTK
.dlm. But then again, I know I have made my share of questionable
project design decisions because I couldn't resist a challenge :)

To Karl's point, (1) exists in the win32 api. The GetActiveWindow()
function will return (you guessed it) a handle to the active window. If
you write your IDL code such that you call this function in your .dlm
right after the window is realized then you're pretty safe. I use this
in my directInput .dlm.

Good luck. If you get something working you'll surely post the code,
right? ;)

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: save an IDLanROI to file? (newbie question)
Next Topic: TVimage and PlotS

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

Current Time: Sat Oct 11 12:57:10 PDT 2025

Total time taken to generate the page: 0.79978 seconds