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

Home » Public Forums » archive » Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) SOLVED
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: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) SOLVED [message #29261] Fri, 08 February 2002 03:00
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Reimar Bauer (r.bauer@fz-juelich.de) writes:

> My result is that it is forbidden to ask for the visual_depth!!!
>
> If I exclude this line and set myself depth to 24 all is good, but how
> will I determine now between 16bit and 24 bit ?

This is not surprising. If you ask the display
what it's visual depth is, it obviously has to
establish a connection to a visual class to find out.
If you do this *before* you have selected a visual
class, then it gets the default visual class (I.e,
Direct Color) and all subsequent attempts to define
a different visual class fail, since a visual class
has already been established.

The procedure is simple. Establish a visual class
FIRST. Then open windows, inquire what its properties
are, etc. AFTER.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: Re: ARG! Direct Color problem IDL 5.5/Linux (decomposed doesn't help) SOLVED
Next Topic: Problems with CONVOL and 3D data

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

Current Time: Wed Oct 08 18:52:49 PDT 2025

Total time taken to generate the page: 0.00447 seconds