🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.teamsource
1 messages
1 total messages Started by diego correos Wed, 31 Dec 2003 19:54
windows palettes - 32bit color problem
#170
Author: diego correos
Date: Wed, 31 Dec 2003 19:54
39 lines
2026 bytes
hello. first all, happy new year for everyone


i'm developing a specific app that embeds a thirdparty vrml renderizer.

i have detected that in 16bit video card configuration, the palette-color of
my
app and the vrml ocx palette are the same, so there is no problem.

testing my app, i set my video card to 32bits and when i executed the app,
this happended:

1) my app colors were ok, black were black, blue were blue
2) the black of the vrml appears to be black, but if i "spy" it with
"palspy.exe" or
"color-matic", i get another RGB color.

i didnt understand why this is happening, and after hours thinking i suppose
i can fix this
problem doing:

(conceptual)
1) before application.initialize, setting application.globalpalette to 16
bits
or
2) before application.initialize, reasigning windows 32bit system palette to
my application 16bits
palette

my problem is that i have no idea how to do this.

does someony of you have any code to try ? or knows anyone that can helps me
?
i dont have too much money, but if there is any company that can provide to
me a solution,
or a favor, or something, i will make effors to pay.

thanks in advance
diego
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads