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.
Bookmarks