Re: Weird colors

"Fer" <[email protected]>
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>

> I do have the same problem. This must be a Windows 7 issue. The colours on WindowsXP and Windows 7 are different.
> 
> One place where one can see it easily is with owner drawn list views. When I run the program from the gui then it is not that bad, but if I make an executable (also bundled) then the selected column is so dark on Windows 7 that one cannot see any information. I therefore have to use the LVcolours gui to change every thing to a very light colour, usually white.
> 
> I think I just mention this to you except if I am missing something.


Hi Frans,


That's one more problem caused by the difference in system colors
of Win7 and XP. The best you can do is defining the lv colors in 
the gui itself using LV Color r/g/b and not using #... system 
colors. But you pointed me into the right direction of the system
colors for the textbox problem.


Note for Dimitris

I've been digging a little more into attr color and found that
not only textboxes are involved but also Xradio, Xtextin, Xedbox, 
Xtrackbar and Xcheckbox. It's remarkable to see that only colors
with a Red-value of 35 are affected and that the second number
(the Green-value) defines a system color that is shown.
E.g. if you want an edbox with background 35/13/150 (dark blue)
you will get a background of medium blue (system color 13)
And 35 is the number for the hash symbol in the ascii table!!
Maybe this will help.


Frans, thanks for your input en vriendelijke groeten

Fer






------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gui4cli/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/gui4cli/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.