Path: news.daimi.aau.dk!not-for-mail From: "Lennert Sloth" Newsgroups: comp.lang.beta Subject: Re: Is it possible to maximize windows? Date: Wed, 1 Jul 1998 17:08:13 +0200 Organization: Aarhus University Lines: 29 Message-ID: <6ndji4$9sb$1@nf.aau.dk> References: <199807011138.NAA02572@noatun.mjolner.dk> NNTP-Posting-Host: oban.daimi.aau.dk X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Xref: news.daimi.aau.dk comp.lang.beta:11644 Webmaster wrote in message <199807011138.NAA02572@noatun.mjolner.dk>... > >I am using BETA Professional 4.1 under Microsoft Windows 98 and I would like to >know how to maximize a window from within my BETA GUIenv-program. >So I mean really maximizing the window so that it automatically fits to the taskbar >etc. Is it possible to implement this in a BETA-program? GUIEnv does currently not support this. But it is possible if you include some of the private implementation in your program. include '~beta/guienv/v1.6/private/winnt/guienv_ntiprivate' mainwindow: @window(# ... #); do ..... (mainwindow.interfaceObjectID,SW_MAXIMIZE) -> ShowWindow; You cannot call ShowWindow in mainwindow.open. Hope this helps. -- Lennert Sloth