From koffice Fri Jan 29 18:55:43 1999 From: Simon Hausmann Date: Fri, 29 Jan 1999 18:55:43 +0000 To: koffice Subject: Re: resize main window X-MARC-Message: https://marc.info/?l=koffice&m=92516339527341 On Fri, 29 Jan 1999, Reginald Stadlbauer wrote: >Am Fri, 29 Jan 1999 schrieb Christian Bucher: >>Does someone know a possibility to resize >>the MainWindow from within a View? > >I looked fo such a methode a long time ago too :-) Torben is this now possible? It's as easy as possible: Every View is a Part, and every Part is registered to a MainWindow (usually). And since m_vMainWindow gives you access to the OPMainWindow-Interface you can easily do m_vMainWindow->setSize( width, height ); (and all the other stuff like setPosition, Show, etc. ) :-) Greetings, Simon >Ciao, Reggie > >-- >************************************* >Reginald Stadlbauer >Pfarrweg 8c, A-8010 Graz, >Austria (Europe) > >E-Mail: reggie@kde.org > >Homepage: http://htualpha.tu-graz.ac.at/reggie > >Telematik Student an der TU-Graz >EDV-Sachbearbeiter an der HTU-Graz >KDE fan and developer :-) -- Simon Hausmann - Tronical^Colorfast - - IRCNet #colorfast Life's not fair. But the root password helps. :-)