Click here to Skip to main content
15,891,204 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMFC Remote Drive Access Pin
missnazar29-Oct-04 5:38
missnazar29-Oct-04 5:38 
GeneralRe: MFC Remote Drive Access Pin
David Crow29-Oct-04 5:59
David Crow29-Oct-04 5:59 
GeneralRe: MFC Remote Drive Access Pin
missnazar29-Oct-04 6:05
missnazar29-Oct-04 6:05 
GeneralRe: MFC Remote Drive Access Pin
David Crow29-Oct-04 7:17
David Crow29-Oct-04 7:17 
GeneralRe: MFC Remote Drive Access Pin
John M. Drescher29-Oct-04 6:16
John M. Drescher29-Oct-04 6:16 
Generalrandom colored letters from a CString Pin
...---...29-Oct-04 4:52
...---...29-Oct-04 4:52 
GeneralRe: random colored letters from a CString Pin
Antony M Kancidrowski29-Oct-04 5:32
Antony M Kancidrowski29-Oct-04 5:32 
GeneralRe: random colored letters from a CString Pin
David Crow29-Oct-04 5:33
David Crow29-Oct-04 5:33 
SkunkedWorks wrote:
This about the 10th time I've posted this and still haven't gotten any definitive answer.

I guess it helps to ask the right question.

CString     strText = "Hello World";
COLORREF    color = 0;
 
pDC->SetTextAlign(TA_UPDATECP);
 
for (int x = 0; x < strText.GetLength(); x++)
{
    pDC->SetTextColor(color);
    color += 1525201; // you'll need to pick your own randomizer
 
    pDC->TextOut(0, 0, strText.Mid(x, 1));
}



"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow


GeneralRe: random colored letters from a CString Pin
LeeeNN29-Oct-04 10:58
LeeeNN29-Oct-04 10:58 
GeneralRe: random colored letters from a CString Pin
David Crow29-Oct-04 17:30
David Crow29-Oct-04 17:30 
QuestionGetting Mouse Co-ords ?? Pin
AbinThomas29-Oct-04 4:19
AbinThomas29-Oct-04 4:19 
AnswerRe: Getting Mouse Co-ords ?? Pin
Alexander M.,29-Oct-04 4:28
Alexander M.,29-Oct-04 4:28 
AnswerRe: Getting Mouse Co-ords ?? Pin
Blake Miller29-Oct-04 4:42
Blake Miller29-Oct-04 4:42 
AnswerRe: Getting Mouse Co-ords ?? Pin
GKarRacer29-Oct-04 7:08
GKarRacer29-Oct-04 7:08 
GeneralRe: Getting Mouse Co-ords ?? Pin
AbinThomas29-Oct-04 19:00
AbinThomas29-Oct-04 19:00 
Generalprevent window closing Pin
Arrun29-Oct-04 1:37
Arrun29-Oct-04 1:37 
GeneralRe: prevent window closing Pin
Monty229-Oct-04 1:49
Monty229-Oct-04 1:49 
GeneralRe: prevent window closing Pin
Cedric Moonen29-Oct-04 1:59
Cedric Moonen29-Oct-04 1:59 
GeneralRe: prevent window closing Pin
Antony M Kancidrowski29-Oct-04 2:04
Antony M Kancidrowski29-Oct-04 2:04 
GeneralUser previleges to create files in &quot;C:\ProgramFiles&quot; Pin
tgprakash29-Oct-04 0:50
tgprakash29-Oct-04 0:50 
GeneralRe: User previleges to create files in &quot;C:\ProgramFiles&quot; Pin
ThatsAlok29-Oct-04 1:52
ThatsAlok29-Oct-04 1:52 
GeneralRe: User previleges to create files in &quot;C:\ProgramFiles&quot; Pin
Andrew Peace31-Oct-04 3:32
Andrew Peace31-Oct-04 3:32 
GeneralRe: User previleges to create files in &quot;C:\ProgramFiles&quot; Pin
Michael Dunn29-Oct-04 7:02
sitebuilderMichael Dunn29-Oct-04 7:02 
GeneralRe: User previleges to create files in &quot;C:\ProgramFiles&quot; Pin
tgprakash29-Oct-04 19:48
tgprakash29-Oct-04 19:48 
GeneralHebrew Localisation Pin
Sitaram Sukumar29-Oct-04 0:03
Sitaram Sukumar29-Oct-04 0:03 

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.