Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


C++ Builder MDI question (not game related)

This topic is 6497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!