I made a simple form, which has enough childs.
I imagine that there are two ways to avoid troubles in 256-colors mode.
1) To use GetNearestColor
2) To set a palette.
I prefer last, but, as I understand, it's necessary to do this for each hDC
(possible, but not very interesting - it's not a bitmap).
Guys, what are you doing in similar situations ? (when it's enough to add 3-4 own colors into system palette ?).
------------------
E-MAIL: [email protected]
I imagine that there are two ways to avoid troubles in 256-colors mode.
1) To use GetNearestColor
2) To set a palette.
I prefer last, but, as I understand, it's necessary to do this for each hDC
(possible, but not very interesting - it's not a bitmap).
Guys, what are you doing in similar situations ? (when it's enough to add 3-4 own colors into system palette ?).
------------------
E-MAIL: [email protected]
Comment