Click here to Skip to main content
15,922,007 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with SetWindowPos function Pin
Cris20-May-02 7:40
Cris20-May-02 7:40 
GeneralRe: Problems with SetWindowPos function Pin
jafrazee20-May-02 8:17
jafrazee20-May-02 8:17 
GeneralProbelm in Views Pin
SamirSood20-May-02 3:07
SamirSood20-May-02 3:07 
Generalmultiple rows were updated Pin
jafrazee20-May-02 3:05
jafrazee20-May-02 3:05 
GeneralRe: multiple rows were updated Pin
Bill Wilson20-May-02 8:43
Bill Wilson20-May-02 8:43 
GeneralRe: multiple rows were updated Pin
jafrazee21-May-02 2:23
jafrazee21-May-02 2:23 
GeneralRe: multiple rows were updated Pin
Bill Wilson21-May-02 5:38
Bill Wilson21-May-02 5:38 
GeneralRe: multiple rows were updated Pin
jafrazee21-May-02 6:21
jafrazee21-May-02 6:21 
i have a list box that allows the user to mark items to be deleted.
on exit of the application i check the listbox and delete the records.
i have double checked and none of my records are duplicated. but i do have some logs that have duplicate core data(all but 3 fields the same). the error occurs on the delete function. i have tried a try/catch around the delete function and it will trap the error and exit me out of my loop, but that is not what i need. again i do not have a sort set on the records, my list box takes care of and sorting.


thank you

do{
retval = pCtrl->GetItemState(ckrec,LVIS_STATEIMAGEMASK);
if(retval == LVIS_SELECTED && !m_pSet->IsEOF()){
UpdateData(true);
m_pSet->SetAbsolutePosition(ckrec+1);
DeleteFile(Buffer);
m_pSet->Delete();
}
ckrec++;
}while(ckrec <= pCtrl->GetItemCount());
GeneralRead CD-ROM data problem Pin
chen20-May-02 2:50
chen20-May-02 2:50 
GeneralRe: Read CD-ROM data problem Pin
Mike Nordell20-May-02 5:27
Mike Nordell20-May-02 5:27 
GeneralRe: Read CD-ROM data problem Pin
chen20-May-02 14:36
chen20-May-02 14:36 
GeneralRe: Read CD-ROM data problem Pin
Mike Nordell21-May-02 5:28
Mike Nordell21-May-02 5:28 
Generaldisable start menu button Pin
slah20-May-02 2:32
slah20-May-02 2:32 
GeneralRe: disable start menu button Pin
Nish Nishant20-May-02 5:44
sitebuilderNish Nishant20-May-02 5:44 
GeneralRe: disable start menu button Pin
Bill Wilson20-May-02 8:47
Bill Wilson20-May-02 8:47 
GeneralVBScript object Pin
Hans Ruck20-May-02 2:23
Hans Ruck20-May-02 2:23 
GeneralRe: VBScript object Pin
Michael P Butler20-May-02 4:50
Michael P Butler20-May-02 4:50 
QuestionWinInet bug ? Pin
20-May-02 2:25
suss20-May-02 2:25 
GeneralPrint Preview functionality in SDK application Pin
20-May-02 2:09
suss20-May-02 2:09 
GeneralPrint Preview functionality in SDK application Pin
20-May-02 2:09
suss20-May-02 2:09 
GeneralURL recognition for websites Pin
20-May-02 1:48
suss20-May-02 1:48 
GeneralRe: URL recognition for websites Pin
20-May-02 11:57
suss20-May-02 11:57 
GeneralAfxWinInit () in a dll.. Pin
Neha20-May-02 0:16
Neha20-May-02 0:16 
GeneralRe: AfxWinInit () in a dll.. Pin
Joaquín M López Muñoz20-May-02 0:24
Joaquín M López Muñoz20-May-02 0:24 
GeneralChange the caption of dialog Pin
Mazdak20-May-02 0:05
Mazdak20-May-02 0:05 

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.