Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem with COLOURREF Pin
Cedric Moonen23-Aug-06 2:40
Cedric Moonen23-Aug-06 2:40 
GeneralRe: Problem with COLOURREF Pin
Matt Godbolt23-Aug-06 2:47
Matt Godbolt23-Aug-06 2:47 
GeneralRe: Problem with COLOURREF Pin
Cedric Moonen23-Aug-06 2:52
Cedric Moonen23-Aug-06 2:52 
GeneralRe: Problem with COLOURREF Pin
Hamid_RT23-Aug-06 2:35
Hamid_RT23-Aug-06 2:35 
GeneralRe: Problem with COLOURREF Pin
Cedric Moonen23-Aug-06 2:49
Cedric Moonen23-Aug-06 2:49 
GeneralRe: Problem with COLOURREF Pin
ramanand_bulusu23-Aug-06 3:12
ramanand_bulusu23-Aug-06 3:12 
GeneralRe: Problem with COLOURREF Pin
Hamid_RT24-Aug-06 7:52
Hamid_RT24-Aug-06 7:52 
AnswerRe: Problem with COLOURREF Pin
Cedric Moonen23-Aug-06 2:22
Cedric Moonen23-Aug-06 2:22 
The colourref is code this way: the last significant byte is for red, the middle byte is for green, and so on.
So it is logical that you get these values:

Red:0x0000FFif you translate that in decimal it makes 255.
Green: 0x00FE00 equal to 65024 in decimal
Blue: 0xFE0000 equal to 16646144 in decimal

What did you expect as a result ??


Cédric Moonen
Software developer

Charting control [Updated - v1.1]

QuestionProblem with COLOURREF Pin
ramanand_bulusu23-Aug-06 2:28
ramanand_bulusu23-Aug-06 2:28 
AnswerRe: Problem with COLOURREF Pin
David Crow23-Aug-06 3:03
David Crow23-Aug-06 3:03 
GeneralRe: Problem with COLOURREF Pin
ramanand_bulusu23-Aug-06 3:09
ramanand_bulusu23-Aug-06 3:09 
GeneralRe: Problem with COLOURREF Pin
Cedric Moonen23-Aug-06 3:18
Cedric Moonen23-Aug-06 3:18 
AnswerRe: Problem with COLOURREF Pin
benjymous23-Aug-06 4:22
benjymous23-Aug-06 4:22 
AnswerRe: Problem with COLOURREF Pin
jk chan23-Aug-06 15:05
jk chan23-Aug-06 15:05 
QuestionHow to initialize a variable in class Pin
9ine23-Aug-06 0:54
9ine23-Aug-06 0:54 
AnswerRe: How to initialize a variable in class Pin
prasad_som23-Aug-06 1:21
prasad_som23-Aug-06 1:21 
AnswerRe: How to initialize a variable in class Pin
toxcct23-Aug-06 1:54
toxcct23-Aug-06 1:54 
AnswerRe: How to initialize a variable in class Pin
Hamid_RT23-Aug-06 2:10
Hamid_RT23-Aug-06 2:10 
AnswerRe: How to initialize a variable in class Pin
Zac Howland23-Aug-06 4:18
Zac Howland23-Aug-06 4:18 
QuestionCFileDialog Filter option Pin
chands23-Aug-06 0:30
chands23-Aug-06 0:30 
AnswerRe: CFileDialog Filter option Pin
Rage23-Aug-06 1:33
professionalRage23-Aug-06 1:33 
GeneralRe: CFileDialog Filter option Pin
chands23-Aug-06 1:43
chands23-Aug-06 1:43 
QuestionRe: CFileDialog Filter option Pin
Hamid_RT23-Aug-06 1:51
Hamid_RT23-Aug-06 1:51 
GeneralRe: CFileDialog Filter option Pin
Rage23-Aug-06 3:14
professionalRage23-Aug-06 3:14 
AnswerRe: CFileDialog Filter option Pin
_AnsHUMAN_ 23-Aug-06 1:36
_AnsHUMAN_ 23-Aug-06 1:36 

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.