🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

OWL Programming Problems

Started by
-1 comments, last by TheMummy 24 years, 7 months ago
I have some Problems with Object Windows under Borland C++ 5.01. I'm writing an OWL application which brings up a Dialog where you can activate Sound , Music and choose a resolution. The settings should be loaded at the begining , and saved at the end of the application.
At first I create a TApplication class.
In the method InitMainWindow() I create a TFramewindow which displays a TDialogobject.
I have also a pointer onto my TDialogobject.

In the constructor of the class TSetup (public of TDialog) I define the TCheckboxes and TRadiobuttons and the pointers onto them.
And I also load the data from a file,where the settings are saved.
But in the constructor of TDialog I can't change the state of the TCheckboxobjects.

So here comes my question: how can I set the state of these buttons ?

At the moment I solve this problem by using another Button which loads the settings , when clicked.

This topic is closed to new replies.

Advertisement