C++ Builder MDI question (not game related)
I am new to using Borlands C++ Builder but I am forced to for a class since our school does not have licenses for MSVC++.
My problem is this: I have an MDI application with a child window that has a list box in it. There is also a dialog that pops up and has you enter some text. When you click the OK button on the dialog I need to reference the listbox. I cannot figure out how to get a reference to the listbox on the mdi child window.
after some snooping through headers i thought that something like this would work...
TForm *Blah = App->MainForm->ActiveMDIChild;
Blah->LstBox->Items->whateverblahblahblah;
this creates an error between types on the first line... However ActiveMDIChild should be a TForm*????
is there something i''m missing here?
Thanks
Jason
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement