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

Home » Public Forums » archive » Re: Colors and Virtual Machine
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: Colors and Virtual Machine [message #49152 is a reply to message #49148] Sun, 02 July 2006 05:33 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip Bitzer writes:

> OK, IDL gurus, here's another question for you.
>
> I have created (with help from this news group and a couple of David
> Fanning's procedures) a GUI for a program that maps out data on map
> projection. It works great if I run it from IDL; nice color pic and the
> such.
>
> Problem I encounter is when I save it with IDL's save procedure, and
> run the program in IDL VM. I get a black and white pic. That is, until
> I mouse over a widget_draw widget. Then I get colors all over the
> place; the correct colors are in the draw widget, but I also get a
> skewing of colors elsewhere on the monitor.
>
> I'm sure I didn't include quite enough info, but I'm hoping this is a
> (somewhat) common problem that somebody has encountered before with
> some fix that I've overlooked.
>
> Any ideas?

I'm on a stolen Internet connection, so I have to be brief,
but I would try inserting a:

Device, True_Color=24

command as the very FIRST command in your program. I suspect
the virtual machine is getting a DirectColor visual, which
is NOT what you want! :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Thinning image morphological operator
Next Topic: Colors and Virtual Machine

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

Current Time: Fri Oct 10 13:39:53 PDT 2025

Total time taken to generate the page: 1.11677 seconds