Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get the string deep inside the Windows registry Pin
David Crow24-Jun-05 2:52
David Crow24-Jun-05 2:52 
GeneralDatabound Combobox Problems Pin
Skinzy23-Jun-05 15:46
Skinzy23-Jun-05 15:46 
GeneralBoost Libraries in VS.NET 2005 Pin
Martin Marvinski23-Jun-05 13:58
Martin Marvinski23-Jun-05 13:58 
GeneralCListBox::CompareItem() Pin
gokings23-Jun-05 13:51
gokings23-Jun-05 13:51 
GeneralRe: CListBox::CompareItem() Pin
Jose Lamas Rios23-Jun-05 15:27
Jose Lamas Rios23-Jun-05 15:27 
Generalsetting text in multiline edit control Pin
Ann6623-Jun-05 12:58
sussAnn6623-Jun-05 12:58 
GeneralRe: setting text in multiline edit control Pin
Jack Puppy23-Jun-05 13:58
Jack Puppy23-Jun-05 13:58 
GeneralEditing a member of a CList Pin
Wheatbread23-Jun-05 10:20
Wheatbread23-Jun-05 10:20 
I have a CList variable. I need to modify the contents of the objects within the CList. I iterate through it as follows:
CList <cpumpinfo, cpumpinfo&=""> mPumpList;
CPumpInfo currPump;

POSITION pos = mPumpList.GetHeadPosition();
for (int index=0; index < mPumpList.GetCount(); index++)
{
currPump = mPumpList.GetNext(pos);
currPump.SetState(PUMP_STOP_STATE);
}

For some reason, when I call SetState on the object in the list, the value isnt saved.

I want to know why any changes to the object within the list arent saved? Any ideas? Thanks.
GeneralRe: Editing a member of a CList Pin
David Crow23-Jun-05 10:38
David Crow23-Jun-05 10:38 
GeneralRe: Editing a member of a CList Pin
Wheatbread23-Jun-05 11:16
Wheatbread23-Jun-05 11:16 
GeneralRe: Editing a member of a CList Pin
Jose Lamas Rios23-Jun-05 10:46
Jose Lamas Rios23-Jun-05 10:46 
GeneralRe: Is it possible to pass a char into string?? Pin
David Crow23-Jun-05 9:45
David Crow23-Jun-05 9:45 
GeneralAccess Controls in Other Apps Pin
c121hains23-Jun-05 9:03
c121hains23-Jun-05 9:03 
GeneralRe: Access Controls in Other Apps Pin
David Crow23-Jun-05 9:25
David Crow23-Jun-05 9:25 
GeneralRe: Access Controls in Other Apps Pin
c121hains23-Jun-05 10:12
c121hains23-Jun-05 10:12 
GeneralRe: Access Controls in Other Apps Pin
c121hains23-Jun-05 10:26
c121hains23-Jun-05 10:26 
GeneralRe: Access Controls in Other Apps Pin
David Crow23-Jun-05 10:36
David Crow23-Jun-05 10:36 
GeneralRe: Access Controls in Other Apps Pin
BlackDice23-Jun-05 10:47
BlackDice23-Jun-05 10:47 
GeneralRe: Access Controls in Other Apps Pin
c121hains23-Jun-05 11:02
c121hains23-Jun-05 11:02 
GeneralRe: Access Controls in Other Apps Pin
c121hains23-Jun-05 14:22
c121hains23-Jun-05 14:22 
GeneralRe: Access Controls in Other Apps Pin
David Crow23-Jun-05 16:48
David Crow23-Jun-05 16:48 
GeneralRe: Access Controls in Other Apps Pin
c121hains23-Jun-05 17:18
c121hains23-Jun-05 17:18 
GeneralRe: Access Controls in Other Apps Pin
David Crow24-Jun-05 2:41
David Crow24-Jun-05 2:41 
GeneralRe: Access Controls in Other Apps Pin
c121hains24-Jun-05 15:46
c121hains24-Jun-05 15:46 
GeneralRe: Access Controls in Other Apps Pin
David Crow24-Jun-05 16:27
David Crow24-Jun-05 16:27 

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.