Click here to Skip to main content
15,926,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inline function causing unresolved symbols. Pin
73Zeppelin25-Jul-03 2:41
73Zeppelin25-Jul-03 2:41 
QuestionHow to pass an "enum" value as a parameter. Pin
WREY24-Jul-03 8:51
WREY24-Jul-03 8:51 
AnswerRe: How to pass an "enum" value as a parameter. Pin
David Crow24-Jul-03 9:01
David Crow24-Jul-03 9:01 
GeneralRe: How to pass an "enum" value as a parameter. Pin
WREY24-Jul-03 11:03
WREY24-Jul-03 11:03 
GeneralRe: How to pass an "enum" value as a parameter. Pin
Michael Dunn24-Jul-03 12:41
sitebuilderMichael Dunn24-Jul-03 12:41 
QuestionHow to fill in data in a list box Pin
Deepak Samuel24-Jul-03 8:28
Deepak Samuel24-Jul-03 8:28 
AnswerRe: How to fill in data in a list box Pin
Maximilien24-Jul-03 8:41
Maximilien24-Jul-03 8:41 
AnswerRe: How to fill in data in a list box Pin
Tom Archer24-Jul-03 8:45
Tom Archer24-Jul-03 8:45 
You need to be more specific about your problem? What is the Assert msg? Where is it?

You appear to be mixing different loops in your code here as you have two for loops intertwined where the code refers both to i and j and it's not obvious what you're trying to do.

1. Add a ListBox to the dialog
2. Create a DDX variable by right clicking the control and selecting Add Variable.
3. Variable name = m_List (to match your code) - You'll also need to delete your own manually defined m_List

You should now be able to add and remove items as well as respond to user events.

Cheers,
Tom Archer
Inside C#,
Extending MFC Applications with the .NET Framework
It's better to listen to others than to speak, because I already know what I'm going to say anyway. - friend of Jörgen Sigvardsson
AnswerRe: How to fill in data in a list box Pin
David Crow24-Jul-03 8:51
David Crow24-Jul-03 8:51 
GeneralRe: How to fill in data in a list box Pin
Tom Archer24-Jul-03 9:17
Tom Archer24-Jul-03 9:17 
GeneralRe: How to fill in data in a list box Pin
David Crow24-Jul-03 9:26
David Crow24-Jul-03 9:26 
GeneralRe: How to fill in data in a list box Pin
Tom Archer24-Jul-03 9:36
Tom Archer24-Jul-03 9:36 
AnswerRe: How to fill in data in a list box Pin
keegan24-Jul-03 9:50
keegan24-Jul-03 9:50 
GeneralRe: How to fill in data in a list box Pin
Toni7824-Jul-03 13:18
Toni7824-Jul-03 13:18 
GeneralSetting window Icon Pin
Shay Harel24-Jul-03 7:29
Shay Harel24-Jul-03 7:29 
GeneralRe: Setting window Icon Pin
Alexander M.,24-Jul-03 7:40
Alexander M.,24-Jul-03 7:40 
GeneralRe: Setting window Icon Pin
Shay Harel24-Jul-03 7:53
Shay Harel24-Jul-03 7:53 
GeneralRe: Setting window Icon Pin
Dangleberry25-Jul-03 3:43
sussDangleberry25-Jul-03 3:43 
GeneralRe: Setting window Icon Pin
Beer2624-Jul-03 10:26
Beer2624-Jul-03 10:26 
GeneralSetting menu item as checked Pin
Jay Hova24-Jul-03 7:12
Jay Hova24-Jul-03 7:12 
GeneralRe: Setting menu item as checked Pin
Toni7824-Jul-03 7:37
Toni7824-Jul-03 7:37 
GeneralRe: Setting menu item as checked Pin
Jay Hova24-Jul-03 7:43
Jay Hova24-Jul-03 7:43 
GeneralRe: Setting menu item as checked Pin
Toni7824-Jul-03 12:37
Toni7824-Jul-03 12:37 
GeneralRe: Setting menu item as checked Pin
Beer2624-Jul-03 10:40
Beer2624-Jul-03 10:40 
GeneralRe: Setting menu item as checked Pin
Jay Hova25-Jul-03 1:54
Jay Hova25-Jul-03 1:54 

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.