Hi everyone ,
progressDlg = new ProgressDialog("Connection", wxString((progressMessagePrefix + "Verbindung wird aufgebaut...").c_str()),
100, this, wxPD_APP_MODAL);
progressDlg->SetSize(550, -1); // Need to do this, otherwise dialog blows up (why?)
progressMessagePrefix is predefined string text in the header file.
Does anyone know why Progress dialog blows up and adjust its size according to the given size in the SetSize method??
thanks
Why Progress Dialog Blows up ???
-
- Experienced Solver
- Posts: 96
- Joined: Fri Jun 17, 2005 1:53 pm
- Location: Germany
- Contact:
- Ryan Norton
- wxWorld Domination!
- Posts: 1319
- Joined: Mon Aug 30, 2004 6:01 pm
Re: Why Progress Dialog Blows up ???
By "blow up" I assume you mean it takes up a large portion of the screen?Muhammad Sohail wrote:Hi everyone ,
progressDlg = new ProgressDialog("Connection", wxString((progressMessagePrefix + "Verbindung wird aufgebaut...").c_str()),
100, this, wxPD_APP_MODAL);
progressDlg->SetSize(550, -1); // Need to do this, otherwise dialog blows up (why?)
progressMessagePrefix is predefined string text in the header file.
Does anyone know why Progress dialog blows up and adjust its size according to the given size in the SetSize method??
thanks
Bonehead question, but is it because progressMessagePrefix is so big that it causes it to blow up?
[Mostly retired moderator, still check in to clean up some stuff]