Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to access the Windows Explorer ( right hand pane ) in Windows 7 Pin
SujayG16-Nov-09 17:13
SujayG16-Nov-09 17:13 
QuestionTIming Pin
Anthony Appleyard16-Nov-09 6:24
Anthony Appleyard16-Nov-09 6:24 
AnswerRe: TIming Pin
Iain Clarke, Warrior Programmer16-Nov-09 6:32
Iain Clarke, Warrior Programmer16-Nov-09 6:32 
GeneralOT-Hey Warrior! Pin
CPallini16-Nov-09 9:36
mveCPallini16-Nov-09 9:36 
GeneralRe: OT-Hey Warrior! Pin
Iain Clarke, Warrior Programmer16-Nov-09 21:43
Iain Clarke, Warrior Programmer16-Nov-09 21:43 
AnswerRe: TIming Pin
Chris Losinger16-Nov-09 7:09
professionalChris Losinger16-Nov-09 7:09 
AnswerRe: TIming Pin
Jeff Archer16-Nov-09 17:11
Jeff Archer16-Nov-09 17:11 
GeneralRe: TIming Pin
Anthony Appleyard16-Nov-09 23:34
Anthony Appleyard16-Nov-09 23:34 
This "event setting" sounds complicated, like trapping errors. My program uses this method, and it seems to work:
NEXTFRAME: t=GetTickCount();
            InvalidateRect(wn,0,0); RedrawWindow(wn,0,0,RDW_UPDATENOW);
            for(j=0;j<4;j++) {if(!isdigit(MFN[i+j])) goto DEF; FN[j]=MFN[i+j];}
            fn=(FN[0]-'0')*1000+(FN[1]-'0')*100+(FN[2]-'0')*10+FN[3]-'0'+1;
            if(fn>9999) goto DEF;     
     FN[3]++; if(FN[3]>'9') {FN[3]='0'; FN[2]++;}
            if(FN[2]>'9') {FN[2]='0'; FN[1]++;}
            if(FN[1]>'9') {FN[1]='0'; FN[0]++;}
     MFN[i]=FN[0]; MFN[i+1]=FN[1]; MFN[i+2]=FN[2]; MFN[i+3]=FN[3];
     if(!readfile(I,MFN,wn)) goto DEF; // read from file MFN to image I, running under Windows window wn.
            do {} while(GetTickCount()-t<33); goto NEXTFRAME;}
;

but the loop in the last line looks like it ties up the computer until time comes to display the next frame, instead of letting aniother process run.
GeneralRe: TIming Pin
Anthony Appleyard16-Nov-09 23:41
Anthony Appleyard16-Nov-09 23:41 
GeneralRe: TIming Pin
Jeff Archer17-Nov-09 2:34
Jeff Archer17-Nov-09 2:34 
GeneralRe: Timing Pin
Anthony Appleyard17-Nov-09 19:09
Anthony Appleyard17-Nov-09 19:09 
QuestionHow to add a dual interface to a non-ATL, non-MFC Application [closed] Pin
jmen@moc16-Nov-09 2:15
jmen@moc16-Nov-09 2:15 
AnswerRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
Richard MacCutchan16-Nov-09 3:05
mveRichard MacCutchan16-Nov-09 3:05 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
jmen@moc16-Nov-09 3:57
jmen@moc16-Nov-09 3:57 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
Richard MacCutchan16-Nov-09 4:14
mveRichard MacCutchan16-Nov-09 4:14 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
jmen@moc16-Nov-09 4:22
jmen@moc16-Nov-09 4:22 
AnswerRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
CPallini16-Nov-09 5:42
mveCPallini16-Nov-09 5:42 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
jmen@moc16-Nov-09 5:54
jmen@moc16-Nov-09 5:54 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
CPallini16-Nov-09 6:13
mveCPallini16-Nov-09 6:13 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
Nemanja Trifunovic16-Nov-09 7:05
Nemanja Trifunovic16-Nov-09 7:05 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
CPallini16-Nov-09 8:36
mveCPallini16-Nov-09 8:36 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
jmen@moc16-Nov-09 8:38
jmen@moc16-Nov-09 8:38 
GeneralRe: How to add a dual interface to a non-ATL, non-MFC Application Pin
CPallini16-Nov-09 9:38
mveCPallini16-Nov-09 9:38 
GeneralRe: Off topic Pin
Richard MacCutchan16-Nov-09 7:34
mveRichard MacCutchan16-Nov-09 7:34 
GeneralRe: Off topic Pin
CPallini16-Nov-09 9:22
mveCPallini16-Nov-09 9:22 

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.