Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Methods in linking C source code with C++ code Pin
Waldermort3-Oct-06 9:05
Waldermort3-Oct-06 9:05 
QuestionRe: Winsock2 problem Pin
searcher083-Oct-06 17:49
searcher083-Oct-06 17:49 
AnswerRe: Winsock2 problem Pin
Hamid_RT3-Oct-06 18:48
Hamid_RT3-Oct-06 18:48 
QuestionOne class with Multiple IDDs (is this possible) Pin
kitty53-Oct-06 6:35
kitty53-Oct-06 6:35 
AnswerRe: One class with Multiple IDDs (is this possible) Pin
cje3-Oct-06 10:30
cje3-Oct-06 10:30 
AnswerRe: One class with Multiple IDDs (is this possible) Pin
David Crow3-Oct-06 11:14
David Crow3-Oct-06 11:14 
QuestionWorking with colors Pin
shoelace3-Oct-06 5:32
shoelace3-Oct-06 5:32 
AnswerRe: Working with colors Pin
Chris Losinger3-Oct-06 8:04
professionalChris Losinger3-Oct-06 8:04 
shoelace wrote:
Blend two or more colors together to get resulting color from combining 'n' colors


average the values for each component. res = RGB(R1+R1+...Rn / n, G1+G2+...Gn / n, B1+B2+...Bn / n)

shoelace wrote:
Lighten a color so that it looks equivalent to a light source


add a constant to each RGB component. RGB(R + c, G + c, B + c). or, convert RGB to HSL/HSV, increase the L or V parameters, then go back to RGB.

shoelace wrote:
Blend a light source with an object's color to get an approximate color of what the colored object would look like under that light source.


i'd start by simply averaging them.


QuestionHow to get en exe default icon Pin
Kharfax3-Oct-06 4:45
Kharfax3-Oct-06 4:45 
QuestionRe: How to get en exe default icon Pin
David Crow3-Oct-06 4:48
David Crow3-Oct-06 4:48 
AnswerRe: How to get en exe default icon Pin
Kharfax3-Oct-06 4:53
Kharfax3-Oct-06 4:53 
AnswerRe: How to get en exe default icon, more problems :S Pin
Kharfax3-Oct-06 5:34
Kharfax3-Oct-06 5:34 
QuestionRe: How to get en exe default icon, more problems :S Pin
David Crow3-Oct-06 5:54
David Crow3-Oct-06 5:54 
AnswerRe: How to get en exe default icon, more problems :S Pin
Kharfax3-Oct-06 6:18
Kharfax3-Oct-06 6:18 
AnswerRe: How to get en exe default icon, more problems Pin
James R. Twine3-Oct-06 6:44
James R. Twine3-Oct-06 6:44 
GeneralRe: How to get en exe default icon, more problems Pin
toxcct3-Oct-06 6:59
toxcct3-Oct-06 6:59 
GeneralRe: How to get en exe default icon, more problems :S Pin
David Crow3-Oct-06 6:59
David Crow3-Oct-06 6:59 
GeneralRe: How to get en exe default icon, more problems :S Pin
Kharfax3-Oct-06 7:13
Kharfax3-Oct-06 7:13 
GeneralSemi Solved Pin
Kharfax3-Oct-06 7:59
Kharfax3-Oct-06 7:59 
QuestionRe: Semi Solved Pin
David Crow3-Oct-06 8:44
David Crow3-Oct-06 8:44 
AnswerRe: Semi Solved Pin
Kharfax3-Oct-06 8:53
Kharfax3-Oct-06 8:53 
GeneralRe: Semi Solved Pin
Hamid_RT4-Oct-06 7:56
Hamid_RT4-Oct-06 7:56 
GeneralRe: Semi Solved Pin
Kharfax4-Oct-06 8:00
Kharfax4-Oct-06 8:00 
AnswerRe: How to get en exe default icon Pin
Nisamudheen3-Oct-06 20:26
Nisamudheen3-Oct-06 20:26 
GeneralRe: How to get en exe default icon Pin
Kharfax4-Oct-06 8:04
Kharfax4-Oct-06 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.