Click here to Skip to main content
15,914,014 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Last item in the combo box not getting deleted. Pin
Preethi_12323-Sep-08 18:48
Preethi_12323-Sep-08 18:48 
GeneralRe: Last item in the combo box not getting deleted. Pin
Steve Echols23-Sep-08 18:52
Steve Echols23-Sep-08 18:52 
GeneralRe: Last item in the combo box not getting deleted. Pin
Preethi_12323-Sep-08 19:07
Preethi_12323-Sep-08 19:07 
GeneralRe: Last item in the combo box not getting deleted. Pin
SandipG 23-Sep-08 19:20
SandipG 23-Sep-08 19:20 
GeneralRe: Last item in the combo box not getting deleted. Pin
Steve Echols23-Sep-08 19:38
Steve Echols23-Sep-08 19:38 
QuestionRe: Last item in the combo box not getting deleted. Pin
David Crow24-Sep-08 4:17
David Crow24-Sep-08 4:17 
GeneralRe: Last item in the combo box not getting deleted. Pin
mrcdsix23-Oct-08 10:50
mrcdsix23-Oct-08 10:50 
GeneralRe: Last item in the combo box not getting deleted. Pin
Steve Echols23-Oct-08 10:54
Steve Echols23-Oct-08 10:54 
The ItemData is just a DWORD associated with each item. The combo box doesn't use it in anyway, so it's up to you to clean up any memory you allocate.

You could loop through all your items and delete the pointers, then call ResetContent.


- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!

GeneralRe: Last item in the combo box not getting deleted. Pin
mrcdsix23-Oct-08 10:58
mrcdsix23-Oct-08 10:58 
QuestionHow to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
nhatvhm23-Sep-08 17:45
nhatvhm23-Sep-08 17:45 
AnswerRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
Steve Echols23-Sep-08 17:55
Steve Echols23-Sep-08 17:55 
GeneralRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
nhatvhm23-Sep-08 18:12
nhatvhm23-Sep-08 18:12 
GeneralRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
Steve Echols23-Sep-08 18:23
Steve Echols23-Sep-08 18:23 
AnswerRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
Mahesh Kulkarni23-Sep-08 20:09
Mahesh Kulkarni23-Sep-08 20:09 
AnswerRe: How to convert "D:\Documents\delay.txt" to "D:\\Documents\\delay.txt"? Pin
toxcct23-Sep-08 21:30
toxcct23-Sep-08 21:30 
QuestionIs this corrent. Pin
Member 409922223-Sep-08 16:33
Member 409922223-Sep-08 16:33 
AnswerRe: Is this corrent. Pin
fzhsheng23-Sep-08 17:35
fzhsheng23-Sep-08 17:35 
GeneralRe: Is this corrent. Pin
Member 409922223-Sep-08 18:08
Member 409922223-Sep-08 18:08 
GeneralRe: Is this corrent. Pin
David Crow24-Sep-08 4:20
David Crow24-Sep-08 4:20 
GeneralRe: Is this corrent. Pin
Member 409922224-Sep-08 16:35
Member 409922224-Sep-08 16:35 
GeneralRe: Is this corrent. Pin
David Crow24-Sep-08 17:24
David Crow24-Sep-08 17:24 
GeneralRe: Is this corrent. Pin
Member 409922224-Sep-08 20:32
Member 409922224-Sep-08 20:32 
QuestionRe: Is this corrent. Pin
David Crow25-Sep-08 3:36
David Crow25-Sep-08 3:36 
AnswerRe: Is this corrent. Pin
George L. Jackson23-Sep-08 17:44
George L. Jackson23-Sep-08 17:44 
GeneralRe: Is this corrent. Pin
Member 409922223-Sep-08 20:44
Member 409922223-Sep-08 20:44 

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.