Click here to Skip to main content
15,908,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do I gray out a radio button? Pin
tpbzdw15-Oct-04 5:13
tpbzdw15-Oct-04 5:13 
AnswerRe: How do I gray out a radio button? Pin
David Crow15-Oct-04 5:38
David Crow15-Oct-04 5:38 
GeneralRe: How do I gray out a radio button? Pin
tpbzdw15-Oct-04 5:41
tpbzdw15-Oct-04 5:41 
AnswerRe: How do I gray out a radio button? Pin
mtzlplyk15-Oct-04 6:04
mtzlplyk15-Oct-04 6:04 
GeneralRe: How do I gray out a radio button? Pin
tpbzdw15-Oct-04 11:35
tpbzdw15-Oct-04 11:35 
GeneralPicking in Opengl Pin
rage98915-Oct-04 5:06
rage98915-Oct-04 5:06 
GeneralDifferent techniques to handle license control Pin
anderslundsgard15-Oct-04 4:55
anderslundsgard15-Oct-04 4:55 
GeneralPlease help - individual chars in a CString Pin
...---...15-Oct-04 4:53
...---...15-Oct-04 4:53 
I have written an MFC App that will display a hard coded menu item CString to the DC (the screen) in 3 diffetrnt RGB values using 'Set' and 'Get' functions to randomize the color. I have a random number generator that passes the value to a switch statement with RGB colors.
I now want to change the code to rendomize the color of EACH INDIVIDUAL CHARACTER in the string, as opposed to having the whole string the same color.
If some one could send a code fragment to access each character in s CString.

I'm using DrawText to display.

- thanks for your help
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 5:39
David Crow15-Oct-04 5:39 
GeneralRe: Please help - individual chars in a CString Pin
...---...15-Oct-04 6:23
...---...15-Oct-04 6:23 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 6:37
David Crow15-Oct-04 6:37 
GeneralRe: Please help - individual chars in a CString Pin
...---...15-Oct-04 9:30
...---...15-Oct-04 9:30 
GeneralRe: Please help - individual chars in a CString Pin
David Crow15-Oct-04 9:37
David Crow15-Oct-04 9:37 
GeneralRe: Please help - individual chars in a CString Pin
BlackDice15-Oct-04 8:46
BlackDice15-Oct-04 8:46 
GeneralReceiving Messsage from ActiveX Control Pin
Manoj Singh K.15-Oct-04 4:30
Manoj Singh K.15-Oct-04 4:30 
GeneralCOM: Get Interface from one process to another Pin
peterchen15-Oct-04 3:43
peterchen15-Oct-04 3:43 
GeneralRe: COM: Get Interface from one process to another Pin
mtzlplyk15-Oct-04 5:34
mtzlplyk15-Oct-04 5:34 
GeneralRe: COM: Get Interface from one process to another Pin
peterchen15-Oct-04 6:02
peterchen15-Oct-04 6:02 
QuestionWhere is wrong when I try to get the recordset? Pin
chocm15-Oct-04 3:42
chocm15-Oct-04 3:42 
AnswerRe: Where is wrong when I try to get the recordset? Pin
David Crow15-Oct-04 4:39
David Crow15-Oct-04 4:39 
AnswerRe: Where is wrong when I try to get the recordset? Pin
Andrzej Markowski15-Oct-04 18:33
Andrzej Markowski15-Oct-04 18:33 
GeneralProblem Parsing Pictures from Rich-Text (RTF) File Pin
Popeye Doyle Murray15-Oct-04 2:48
Popeye Doyle Murray15-Oct-04 2:48 
GeneralRe: Problem Parsing Pictures from Rich-Text (RTF) File Pin
Henry miller15-Oct-04 7:01
Henry miller15-Oct-04 7:01 
GeneralRe: Problem Parsing Pictures from Rich-Text (RTF) File Pin
Joel Lucsy15-Oct-04 12:01
Joel Lucsy15-Oct-04 12:01 
GeneralParse Filenames for extracting Tags Pin
Summi15-Oct-04 2:42
Summi15-Oct-04 2:42 

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.