How to implement the "Find Dialog" by reading/comparing the values in STL LIST
-
I had designed a dialog box which is a "Find dialog"(what we generally see when we press "ctrl+f").. Now in my application when i enter any " name" or "value" in the 'find dialog box',the focus should shift to that particular place(name/value)..All the "name" & "values" are stored in the 'STL list'..I have to search those values/names and find out whether the matching was found or not for the entered name/value in the 'find dialog'.. But the program is not responding properly..when i debug,the error shown is "Object Reference not set to an instance of an object" for the "for loop" implemented.. for(iterator = member.begin(); iterator != member.end();iterator++) Plz Help Me.. Thanks!!
-
I had designed a dialog box which is a "Find dialog"(what we generally see when we press "ctrl+f").. Now in my application when i enter any " name" or "value" in the 'find dialog box',the focus should shift to that particular place(name/value)..All the "name" & "values" are stored in the 'STL list'..I have to search those values/names and find out whether the matching was found or not for the entered name/value in the 'find dialog'.. But the program is not responding properly..when i debug,the error shown is "Object Reference not set to an instance of an object" for the "for loop" implemented.. for(iterator = member.begin(); iterator != member.end();iterator++) Plz Help Me.. Thanks!!