OK - I have installed this MS VS thing and I am having a look at ms development starting with vb (dont let any of my friends know) initially with a simple win32 application.
I want to have a settings form which holds the options. So I have my two forms - main form with a menu, second form with the options on it.
I want to create the settings form the first time that 'options' is clicked from the menu, then use hide() and showDialog() so that I dont get multiple instances. I dont seem to be able to check that an object exists or compare it to null to know if the form has already been instatiated. Can that possibly be right ? What have I not understood ?
As a second Q - does the visual designer bit work for C++ ? Because I cannot get it do do more that trivial stuff - cannot define contents of a list box for example in designer. Do you all just use it to set up the basic app and then hand code everything else ?
Thanks
Mark
I want to have a settings form which holds the options. So I have my two forms - main form with a menu, second form with the options on it.
I want to create the settings form the first time that 'options' is clicked from the menu, then use hide() and showDialog() so that I dont get multiple instances. I dont seem to be able to check that an object exists or compare it to null to know if the form has already been instatiated. Can that possibly be right ? What have I not understood ?
As a second Q - does the visual designer bit work for C++ ? Because I cannot get it do do more that trivial stuff - cannot define contents of a list box for example in designer. Do you all just use it to set up the basic app and then hand code everything else ?
Thanks
Mark
Comment