Colors come up wrong in OwnerDraw Menu 
Author Message
 Colors come up wrong in OwnerDraw Menu

I have an ownerdrawn menu that displays a circle (Red,Green,Yellow) and a
line of text for each entry. When this menu is displayed on our IBM 300GLs
(Cirrus Logic graph card) in any resolution and 16 bit color the colors come
up all wrong. Red shows up as Blue, Green shows up as white and Yellow comes
up amber. I am using:
Red 255,0,0
Green 0,255,0
Yellow 255,255,0 for the colors.

If I switch the color depth the 256 the colors show up correctly, then if I
switch back to 16 bit the colors show up correctly. I have tried other
programs with similar color situations and none of them have this incorrect
color problem. The circle is created using the ellipse function. I have
written dummy programs to display ownerdrawn menus and none of them have the
problem.

I have tried to create a palette with just those 3 colors and use it, I have
realized the palette and nothing has corrected this problem.

Using 1.52 running Win95.

Any ideas?
TIA
Josh Orfanakis



Fri, 09 Jun 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Wrong OwnerDrawn combo text after selection is made

2. Colors are wrong are 256 color splash screen??

3. when is color printing for source coming out?

4. OwnerDraw List Control background color problem

5. Ownerdraw context menu fails.

6. WTL - OwnerDrawn menus

7. OwnerDraw menu problems on Win95

8. Ownerdrawn Menu

9. Drawing the check mark etc for OwnerDraw menu

10. OwnerDraw menus

11. Help with ownerdraw menu!

12. Please help me with a ownerdraw menu problem!

 

 
Powered by phpBB® Forum Software