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

Home » Public Forums » archive » cgSnaphot doesn't detect currently open windows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
cgSnaphot doesn't detect currently open windows [message #76910] Sun, 17 July 2011 21:50
JP is currently offline  JP
Messages: 55
Registered: April 2008
Member
Hi there,
I'm having a similar problem to what was reported here:
https://groups.google.com/d/topic/comp.lang.idl-pvwave/6NZ7D ekqqCI/discussion

when I call cgSnapShot I get a message "no currently open windows. Returning"

However, I am following David's suggestion. My code reads like:

cgIMAGE, array, /order, /KEEP_ASPECT, /WINDOW
wid = cgQuery(/Current)
snapshot=cgSNAPSHOT(filename=Output_file_PNG, /PNG, /NODIALOG, WID=wid)

Am I still doing anything wrong?

thanks

JP
[Message index]
 
Read Message
Previous Topic: GDL
Next Topic: Filling array in loop

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

Current Time: Wed Oct 08 15:53:37 PDT 2025

Total time taken to generate the page: 0.00370 seconds