Re: [Fxruby-users] show(PLACEMENT_MAXIMIZED) > maximized?
Status: Inactive
Brought to you by:
lyle
From: jeroen <je...@fo...> - 2004-06-23 01:23:01
|
On Tuesday 22 June 2004 07:39 pm, Joseph wrote: > Hi. > > If I use PLACEMENT_SCREEN as the argument for show and then click on the > window's maximize button, then I get a normal MS Windows maximized > window. But if I use PLACEMENT_MAXIMIZED instead, then the client area > of the window occupies the full screen (i.e. as though I was in a > full-screen mode), and the window's border (including the system menu > and the minimize, maximize/restore, and close button are hidden (i.e. > there is no screen real estate left to display them). Can I use some > other PLACEMENT_xxx constant to programmatically have the window start > up in the normal MS Windows maximized mode? The call: mainwindow->maximize() is supposed to do the job. I found that calling setDecor(DECOR_NONE) prior to this call has the desired effect, but this may be window-manager dependent. Regards, Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 21:20 06/22/2004 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |