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

Home » Public Forums » archive » Variable No. of Windows with Phase of Moon
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Variable No. of Windows with Phase of Moon [message #60925] Tue, 24 June 2008 15:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Hi Folks,

Anyone seen this. I'm running a program on a Windows machine.
I want to know if a particular pixmap window is still open.
The window index number is something like 75. To check
whether it is still open or not, I get the window "state"
like this:

DEVICE, WINDOW_STATE=theState

This is suppose to be "an array containing one element
for each possible window". If it has a 1 in the right
slot, the window is open and available.

windowIsOpen = theState[75]

All well and good, but when I run my program, theState
variable changes from a 139-element array to a 65-element
array within seconds of running the exact same code!

I've done this many times, and I can find no pattern in
the output. Oh wait!! It is apparently Morse code. Let's
see...

S-W-I-T-C-H T-O M-A-T-L-A ...

Oh, never mind. I could have guessed that. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Variable No. of Windows with Phase of Moon
Next Topic: problem with evf name

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

Current Time: Fri Oct 10 13:45:59 PDT 2025

Total time taken to generate the page: 0.32414 seconds