issues with scrollwindow [message #67995] |
Mon, 14 September 2009 02:16 |
anand
Messages: 11 Registered: December 2008
|
Junior Member |
|
|
Hi,
i am using the program, SCROLLWINDOW, for some time now to create
windows that are larger than my screen size. Typically, i use it as:
scrollwindow, 1024, 1024, wid=w1
where, w1 can act as an input as well as output parameter. If w1 is
not defined, index of the window created is returned in it. If w1 is
defined, then a window with that index is created, if possible.
Apparently, when w1 id defined, the window is created only if no
window exists with that particular index. Therein lies my problem. If
i have a program which contains the above command (with w1 defined
before calling scrollwindow), i would be having 10 different windows
(with different indices) open on running the program 10 times. Is it
possible to avoid this?
e.g. if you call the system procedure, WINDOW, with a particular
index, say 15 times, you don't end up getting 15 different windows.
I took a peep inside scrollwindow, and found that the wid is returned
in the Get_Value keyword of routine WIDGET_CONTROL, and thus couldn't
go much beyond that point.
I am running IDL 6.3 on Win XP, and while calling scrollwindow, i am
not passing the free or pixmap keywords.
Anand.
|
|
|