Click here to Skip to main content
16,008,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Docking Windows Pin
Masaaki Onishi25-Nov-01 18:14
Masaaki Onishi25-Nov-01 18:14 
Generalradiobutton/checkbutton query Pin
Bill Gates Antimatter Particle25-Nov-01 11:13
Bill Gates Antimatter Particle25-Nov-01 11:13 
GeneralRe: radiobutton/checkbutton query Pin
Michael Dunn25-Nov-01 17:33
sitebuilderMichael Dunn25-Nov-01 17:33 
GeneralRe: radiobutton/checkbutton query Pin
Nish Nishant25-Nov-01 17:51
sitebuilderNish Nishant25-Nov-01 17:51 
QuestionCan we pass reference to a vector as an argument to a function? Pin
25-Nov-01 10:06
suss25-Nov-01 10:06 
AnswerRe: Can we pass reference to a vector as an argument to a function? Pin
Christian Graus25-Nov-01 10:11
protectorChristian Graus25-Nov-01 10:11 
QuestionDo you know the GradientFill function? Pin
jin sok cho25-Nov-01 6:02
jin sok cho25-Nov-01 6:02 
AnswerRe: Do you know the GradientFill function? Pin
Christian Graus25-Nov-01 10:16
protectorChristian Graus25-Nov-01 10:16 
1. I dunno, but I'd imagine it's just the obvious one.

2. Green = 00ff00 because 0xFF = 255, so it's just a case of 0 Red, 255 Green, 0 Blue = Green. COLORREFs are created with the RGB macro which just shifts the values passed in to create the DWORD that holds it ( COLORREF is a typedef for DWORD ). To get the red/green/blue values out of a COLORREF ( which .xff00 is, just stated in hex ), just use the GetRValue/GetGValue/GetBValue macros.


Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: Do you know the GradientFill function? Pin
jin sok cho25-Nov-01 21:03
jin sok cho25-Nov-01 21:03 
GeneralRe: Do you know the GradientFill function? Pin
Christian Graus26-Nov-01 1:06
protectorChristian Graus26-Nov-01 1:06 
GeneralRe: Do you know the GradientFill function? Pin
jin sok cho26-Nov-01 2:16
jin sok cho26-Nov-01 2:16 
GeneralRe: Do you know the GradientFill function? Pin
Christian Graus26-Nov-01 10:25
protectorChristian Graus26-Nov-01 10:25 
GeneralRe: Do you know the GradientFill function? Pin
Christian Graus26-Nov-01 12:27
protectorChristian Graus26-Nov-01 12:27 
GeneralVS installer Pin
XP25-Nov-01 5:38
XP25-Nov-01 5:38 
GeneralRe: VS installer Pin
Christian Graus25-Nov-01 10:22
protectorChristian Graus25-Nov-01 10:22 
Questiona question about StrechBlt()???? Pin
Leesen25-Nov-01 5:28
Leesen25-Nov-01 5:28 
AnswerRe: a question about StrechBlt()???? Pin
Christian Graus25-Nov-01 10:18
protectorChristian Graus25-Nov-01 10:18 
GeneralRe: a question about StrechBlt()???? Pin
Leesen25-Nov-01 17:40
Leesen25-Nov-01 17:40 
GeneralRe: a question about StrechBlt()???? Pin
Leesen25-Nov-01 22:32
Leesen25-Nov-01 22:32 
GeneralCStatusBar in a CDialog Pin
r2d2rigo25-Nov-01 4:50
r2d2rigo25-Nov-01 4:50 
GeneralRe: CStatusBar in a CDialog Pin
Nish Nishant25-Nov-01 5:32
sitebuilderNish Nishant25-Nov-01 5:32 
QuestionWhat type of view is VC++'s output window? Pin
hierro25-Nov-01 4:04
hierro25-Nov-01 4:04 
AnswerRe: What type of view is VC++'s output window? Pin
Nish Nishant25-Nov-01 5:31
sitebuilderNish Nishant25-Nov-01 5:31 
AnswerRe: What type of view is VC++'s output window? Pin
Stephane Routelous25-Nov-01 16:34
Stephane Routelous25-Nov-01 16:34 
QuestionFree Source Code? Pin
Lizp25-Nov-01 2:46
Lizp25-Nov-01 2:46 

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.