hja@rhi.hi.is (Hjalti Kristgeirsson) (05/28/91)
Hi there, I am writing an WDEF that needs to fill the title rectangle with a dark gray color RGB(17479,17479,17479). The WDEF checks for color and set the port to color port if color is present and fills in the necessary fields (pen, text fields). Then when I set the RGBBackColor to the gray color and call EraseRect on the title rectangle I get funny green color that I don't want. The window is created with NewCWindow so it uses the default color table for windows. The question is: How to I get this gray color right. Thanks in advange.......