Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: define script variable in Visual Studio Pin
Jack Puppy19-Nov-04 0:38
Jack Puppy19-Nov-04 0:38 
GeneralIabt Floating Keyboard Pin
Tripura.K18-Nov-04 22:27
Tripura.K18-Nov-04 22:27 
GeneralListbox - How to keep an index Pin
Kreatief18-Nov-04 22:08
Kreatief18-Nov-04 22:08 
GeneralRe: Listbox - How to keep an index Pin
22491718-Nov-04 23:10
22491718-Nov-04 23:10 
GeneralRe: Listbox - How to keep an index Pin
Kreatief19-Nov-04 0:32
Kreatief19-Nov-04 0:32 
GeneralRe: Listbox - How to keep an index Pin
22491719-Nov-04 0:48
22491719-Nov-04 0:48 
GeneralRe: Listbox - How to keep an index Pin
Kreatief19-Nov-04 0:58
Kreatief19-Nov-04 0:58 
GeneralRe: Listbox - How to keep an index Pin
BlackDice19-Nov-04 2:48
BlackDice19-Nov-04 2:48 
what I do is create each structure on the heap, and store its pointer for the itemdata. I also put the pointers in a vector container. this way, I can cast the itemdata of an item back to a pointer of my type of struct or class, and delete items whenever I need to. The only thing is making sure that you have some type of cleanup routine in the class that's using the vector, to iterate through the collection and call 'delete' on each element.



If I write code in my sleep, does that make me brilliant, or just a lazy programmer?

My articles

www.stillwaterexpress.com

BlackDice - the programmer formerly known as bdiamond
GeneralRe: Listbox - How to keep an index Pin
David Crow19-Nov-04 3:49
David Crow19-Nov-04 3:49 
GeneralRe: Listbox - How to keep an index Pin
Maximilien19-Nov-04 2:42
Maximilien19-Nov-04 2:42 
GeneralRe: Listbox - How to keep an index Pin
Kreatief19-Nov-04 3:49
Kreatief19-Nov-04 3:49 
Generalquery in rs232 programming in turbo c Pin
narasimhavarmap18-Nov-04 21:39
narasimhavarmap18-Nov-04 21:39 
GeneralRe: query in rs232 programming in turbo c Pin
Roger CS18-Nov-04 22:31
Roger CS18-Nov-04 22:31 
GeneralRe: query in rs232 programming in turbo c Pin
Anonymous19-Nov-04 18:39
Anonymous19-Nov-04 18:39 
GeneralRe: query in rs232 programming in turbo c Pin
Roger CS25-Nov-04 6:49
Roger CS25-Nov-04 6:49 
GeneralLine Caps Pin
S.DARWIN PAUL RAJ18-Nov-04 20:39
S.DARWIN PAUL RAJ18-Nov-04 20:39 
GeneralRe: Line End Style Pin
S.DARWIN PAUL RAJ20-Nov-04 21:00
S.DARWIN PAUL RAJ20-Nov-04 21:00 
GeneralRe: Line Caps Pin
P. Gnana Prakash21-Nov-04 1:14
P. Gnana Prakash21-Nov-04 1:14 
GeneralBisection Method Root Finding...little details Pin
shorty02br18-Nov-04 19:46
shorty02br18-Nov-04 19:46 
GeneralRe: Bisection Method Root Finding...little details Pin
Joaquín M López Muñoz18-Nov-04 20:29
Joaquín M López Muñoz18-Nov-04 20:29 
GeneralRe: Bisection Method Root Finding...little details Pin
shorty02br19-Nov-04 6:02
shorty02br19-Nov-04 6:02 
GeneralRegister of ActiveX controls in common Location Pin
voonnalk18-Nov-04 18:25
voonnalk18-Nov-04 18:25 
GeneralRe: Register of ActiveX controls in common Location Pin
bryce18-Nov-04 18:41
bryce18-Nov-04 18:41 
GeneralIStorage::CreateStorage() help... Pin
RYU^^18-Nov-04 18:02
RYU^^18-Nov-04 18:02 
QuestionHow we can monitor wether the system time is changed manualy? Pin
Ranjish18-Nov-04 17:24
Ranjish18-Nov-04 17:24 

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.