Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: cannot display BMP when resolution is 0 Pin
John M. Drescher9-Jul-03 17:17
John M. Drescher9-Jul-03 17:17 
GeneralRe: cannot display BMP when resolution is 0 Pin
Satyaki9-Jul-03 22:14
Satyaki9-Jul-03 22:14 
GeneralRe: cannot display BMP when resolution is 0 Pin
John M. Drescher10-Jul-03 3:36
John M. Drescher10-Jul-03 3:36 
GeneralWindows media format 9 Pin
Emiliano9-Jul-03 7:03
Emiliano9-Jul-03 7:03 
GeneralRe: Windows media format 9 Pin
Led9-Jul-03 11:30
Led9-Jul-03 11:30 
GeneralWindows Media Format sdk :confused: Pin
Anonymous9-Jul-03 7:01
Anonymous9-Jul-03 7:01 
GeneralRe: Windows Media Format sdk :confused: Pin
David Crow9-Jul-03 9:02
David Crow9-Jul-03 9:02 
GeneralExtracting RGB values from a color Pin
IGeorgeI9-Jul-03 6:44
IGeorgeI9-Jul-03 6:44 
I am receiving an RGB color in a method.

1) I want to strip the color into it's fundamental components.
2) I want to store these values as integers within the method.

Ex. the method gets the color RGB (55, 155, 255)
I want to extract the numbers into variables.

int red = 55;
int green = 155;
int blue = 255;
======================================================

Any suggestions on how to strip the color into it's seperate RGB values????

I've done this before but I can't remember.



George W

Software Developer
www.zsystems.ca
GeneralRe: Extracting RGB values from a color Pin
Keith D9-Jul-03 6:51
Keith D9-Jul-03 6:51 
GeneralRe: Extracting RGB values from a color Pin
Magnus Westin9-Jul-03 7:00
Magnus Westin9-Jul-03 7:00 
GeneralRe: Extracting RGB values from a color Pin
IGeorgeI9-Jul-03 8:23
IGeorgeI9-Jul-03 8:23 
QuestionLZW anybody?? Pin
keb9-Jul-03 6:31
keb9-Jul-03 6:31 
AnswerRe: LZW anybody?? Pin
Larry Antram9-Jul-03 7:33
Larry Antram9-Jul-03 7:33 
GeneralRe: LZW anybody?? Pin
keb9-Jul-03 7:40
keb9-Jul-03 7:40 
GeneralRe: LZW anybody?? Pin
Larry Antram9-Jul-03 7:45
Larry Antram9-Jul-03 7:45 
GeneralRe: LZW anybody?? Pin
John M. Drescher9-Jul-03 8:13
John M. Drescher9-Jul-03 8:13 
GeneralRe: LZW anybody?? Pin
peterchen9-Jul-03 9:51
peterchen9-Jul-03 9:51 
AnswerRe: LZW anybody?? Pin
perlmunger9-Jul-03 7:45
perlmunger9-Jul-03 7:45 
Generalwincrypt.h Pin
Tili9-Jul-03 6:24
Tili9-Jul-03 6:24 
GeneralRe: wincrypt.h Pin
Tili9-Jul-03 6:36
Tili9-Jul-03 6:36 
Generalinserting text into a rich edit view Pin
crapfacejoe9-Jul-03 6:12
crapfacejoe9-Jul-03 6:12 
GeneralRe: inserting text into a rich edit view Pin
Ryan Binns9-Jul-03 15:27
Ryan Binns9-Jul-03 15:27 
GeneralBit operation Pin
Anonymous9-Jul-03 6:08
Anonymous9-Jul-03 6:08 
GeneralRe: Bit operation Pin
John M. Drescher9-Jul-03 6:18
John M. Drescher9-Jul-03 6:18 
GeneralRe: Bit operation Pin
David Chamberlain9-Jul-03 7:07
David Chamberlain9-Jul-03 7:07 

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.