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

Home » Public Forums » archive » Re: XLOADCT under Windows 95 vs. Windows NT 4.0
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: XLOADCT under Windows 95 vs. Windows NT 4.0 [message #7182 is a reply to message #7167] Sun, 06 October 1996 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Imad Jureidini <imad@mit.edu> writes:

> I'm having this strange problem using XLOADCT on our Windows 95
> machine. If I load up XLOADCT, the color table gets refreshed neither
> on the color band on the top, nor on the image I want to change the
> color table for. This even happens in the demo! On our Windows NT
> 4.0 machine on the other hand, XLOADCT behaves perfectly normally,
> from the prompt or in the demo.
>
> Does anybody have any ideas? Thanks a lot!

This is the classic symptom of running your Windows 95 machine in
either 16-bit or 24-bit color mode. In either of these modes you have
to redisplay your graphic window to see the effect of the color changes.

For example, like this:

; Load a gray-scale color table and display the image.

LOADCT, 0
TVSCL, DIST(300,400)

; Load a red-temperature color table and re-display the image.

LOADCT, 3
TVSCL, DIST(300,400)

To restore your Windows NT behavior, use your monitor control panel to
configure your monitor for 8-bit (256 color) mode.

David

--
David Fanning, Ph.D.
Phone: 970-221-0438
Fax: 970-221-4728
E-Mail: davidf@fortnet.org
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: controlling font size within a title
Next Topic: Re: help: !p.multi switched off?

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

Current Time: Fri Oct 10 23:02:46 PDT 2025

Total time taken to generate the page: 1.19901 seconds