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

Home » Public Forums » archive » iTools and WSET
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
iTools and WSET [message #46985] Thu, 12 January 2006 13:51
James Everton is currently offline  James Everton
Messages: 19
Registered: November 2005
Junior Member
Hi everybody,

I've created an iTool that's inherited from iImage except it has an
extra panel on the right side that has a list of thumbnail images. When
I initialize the panel, I use WSET to move from draw widget to draw
widget and then use TV to output the images to the draw widget. That
all seems to work fine.

However, I would like to be able to go to the command prompt, WHILE my
iTool is open, and be able to use TV there and have an image pop up in
a new window. Right now, it uses the last draw widget that I wrote to
as the current window.

I tried calling WSET, 0 after I finished drawing the images to the draw
widgets, but that obnoxiously opened up a blank window on top of my
iTool.
I also attempted at setting the !D.WINDOW (which holds the current
window id) to -1, which indicates that there is no current window open,
so that when I call TV from the IDL prompt, it opens a new window.
Unfortunately, I was hit with the error that !D is a read-only
variable.

Can anyone think of a way that I can set !D.WINDOW to -1 in order to
use the IDL prompt how I would like?

Thanks a lot for your time.

Sincerely,

- James
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Web Page Update
Next Topic: Re: Autorotate for iTools?

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

Current Time: Wed Oct 08 17:44:18 PDT 2025

Total time taken to generate the page: 0.00548 seconds