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

C / C++ / MFC

 
GeneralRe: CDialog and tab key Pin
Brian van der Beek10-Nov-03 21:07
Brian van der Beek10-Nov-03 21:07 
GeneralRe: CDialog and tab key Pin
BaldwinMartin10-Nov-03 21:12
BaldwinMartin10-Nov-03 21:12 
GeneralRe: CDialog and tab key Pin
Brian van der Beek10-Nov-03 21:15
Brian van der Beek10-Nov-03 21:15 
GeneralRe: CDialog and tab key Pin
BaldwinMartin10-Nov-03 21:14
BaldwinMartin10-Nov-03 21:14 
GeneralRe: CDialog and tab key Pin
BaldwinMartin10-Nov-03 21:24
BaldwinMartin10-Nov-03 21:24 
GeneralRe: CDialog and tab key Pin
Brian van der Beek10-Nov-03 21:35
Brian van der Beek10-Nov-03 21:35 
GeneralRe: CDialog and tab key Pin
BaldwinMartin10-Nov-03 21:47
BaldwinMartin10-Nov-03 21:47 
GeneralCListCtrl Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
BaldwinMartin10-Nov-03 20:57
BaldwinMartin10-Nov-03 20:57 
So here is the deal! This app looks for virus infected files system wide. I don't understand MFC at all so please help me. I am sure it is a logic error but I don't know enogh MFC to fix.
The code hit the first listing of an infected file maked YES in the list and then does not delete all the entries that are not infected.

long nCnt = m_List.GetItemCount();
long lcounter = 0;
CString tmp;
for(long i = 0;i<=nCnt;i++)
{
if(m_List.GetItemText(0,1) != "YES"){
m_List.DeleteItem(lcounter);
}else{
lcounter++;
tmp.Format("%d",lcounter);
AfxMessageBox(tmp);
}

}

Best Wishes,
ez_way
GeneralRe: CListCtrl Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Roger Allen11-Nov-03 0:28
Roger Allen11-Nov-03 0:28 
GeneralRe: CListCtrl Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Pin
Debs11-Nov-03 0:33
Debs11-Nov-03 0:33 
General(Sync) Timing question... Pin
Roland_198010-Nov-03 20:55
Roland_198010-Nov-03 20:55 
QuestionHow to get key of the system administrator in windows registry Pin
w_yufeng10-Nov-03 20:29
w_yufeng10-Nov-03 20:29 
AnswerRe: How to get key of the system administrator in windows registry Pin
David Crow11-Nov-03 2:58
David Crow11-Nov-03 2:58 
GeneralRe: How to get key of the system administrator in windows registry Pin
w_yufeng11-Nov-03 17:51
w_yufeng11-Nov-03 17:51 
GeneralRe: How to get key of the system administrator in windows registry Pin
David Crow12-Nov-03 3:02
David Crow12-Nov-03 3:02 
GeneralCListCtrl HELP! Pin
BaldwinMartin10-Nov-03 20:03
BaldwinMartin10-Nov-03 20:03 
GeneralRe: CListCtrl HELP! Pin
Michael Dunn10-Nov-03 20:27
sitebuilderMichael Dunn10-Nov-03 20:27 
GeneralRe: CListCtrl HELP! Pin
BaldwinMartin10-Nov-03 20:37
BaldwinMartin10-Nov-03 20:37 
GeneralRe: CListCtrl HELP! Pin
ilinov10-Nov-03 20:33
ilinov10-Nov-03 20:33 
GeneralRe: CListCtrl HELP! Pin
BaldwinMartin10-Nov-03 20:41
BaldwinMartin10-Nov-03 20:41 
GeneralRe: CListCtrl HELP! Pin
Abin10-Nov-03 21:45
Abin10-Nov-03 21:45 
GeneralRe: CListCtrl HELP! Pin
BaldwinMartin10-Nov-03 21:49
BaldwinMartin10-Nov-03 21:49 
Generalphp and VC++ compatible encryption algorithm???help please Pin
xxhimanshu10-Nov-03 20:02
xxhimanshu10-Nov-03 20:02 
GeneralRe: php and VC++ compatible encryption algorithm???help please Pin
BaldwinMartin10-Nov-03 20:44
BaldwinMartin10-Nov-03 20:44 
GeneralRe: php and VC++ compatible encryption algorithm???help please Pin
geo_m11-Nov-03 8:03
geo_m11-Nov-03 8: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.