Thank you, ucomesdag! Is there way to make it disappear completely?
Thank you, ucomesdag! Is there way to make it disappear completely?
You can set same maximum and minimum size As.
MainForm *MainFormObj=new MainForm(0);
MainFormObj->show();
MainFormObj->setMaximumSize (849,626);
MainFormObj->setMinimumSize (849,626);
I think it will work.I m using this on my mac using qt 4.2.2.
Tried it. It doesn't work on WinXP.
what is Happening when you r doing this.
Is there is an error?
Actually I am running it correctly and donot know why it is not working in XP.
check one thing that U also set the geometry of main window as
MainForm *MainFormObj=new MainForm(0);
MainFormObj->show();
MainFormObj->setMaximumSize (849,626);
MainFormObj->setMinimumSize (849,626);
MainFormObj->setGeometry(5,42,849,626); //add this line
Try this.
Last edited by vishal.chauhan; 10th January 2007 at 12:52. Reason: updated contents
Bookmarks