PDA

View Full Version : Find non child dialog



moh.gup@gmail.com
2nd April 2010, 18:31
Can any body suggest me to find non child dialog of a class open with main window

squidge
2nd April 2010, 18:39
I don't understand. Please rephrase.

moh.gup@gmail.com
3rd April 2010, 14:20
Hi,
I am using
void Mainwindow::newdilog()
{obj =new dialog();
obj->show()
}
and
obj is declared as public in .h file
dialog *obj;

I am calling above function many time.

but i want to know addreess or pointer of dialog class which are currently non visible

Do you get information

axeljaeger
3rd April 2010, 16:08
Why should it make any difference whether a dialog is visible or not? What kinds of dialog are you thinking about? What is your big plan that you want to archive?

moh.gup@gmail.com
4th April 2010, 18:57
I want to make sticky type application.so i want archive all information of visible dialog when user close mainwindow.

axeljaeger
4th April 2010, 18:59
So why not saving a pointer to that dialog when creating it first?

moh.gup@gmail.com
5th April 2010, 06:48
Thanks ,
My problem get solved