creating dialogs on startup?

Hi, I noticed it takes some time for dialog to show, at first the FileChooser dialog was slow, but now even my own dialogs (those as "complex" as FileChooser) take time to show them self...
So I come to an idea to create a dialog on the heap in Main Windows's construtor, so that dialog will be ready to show it self without the need to construct it self, *But* here another problem appeared because now on Main Window's start up both the dialog and Windows show their faces lol..

So I have 2 questions:
1. Why does dialog shows on it's own during application startup when Top window holds a pointer to the dialog and initializes a pointer in constructor?
2. What can I do to make dialogs show them self faster?

Thank you!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]