I don't quite understand you, can you be more specific?? Possibly posting some minimal yet complete code? [please see my signature below....]
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009 In theory, there is no difference between theory and paractice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
The code is too complex to paste, but here is the problem:
I created a dialog Project. In the main dialog I placed a ListBox control.
I want to add a varaiable to the control so I can update the information displayed in it. I tried using the class wizard, which creates the control variable. But I can't access the variable from within my main dialog even though it is a member of that dialog.
I was thinking that if I declare the CListBox m_listBox in the public section of the main dialog, and then attach is to the visual control, it might work. At least, it would help me understand it a little more if it doesn't work.