|
|
|
Re: Restore minimized application or shell [message #7306 is a reply to message #7249] |
Wed, 14 March 2007 13:45  |
Eclipse User |
|
|
|
Originally posted by: roberto.sanchez.autonomind.com
Hi,
If you add RWT.TITLE appears the Title (obviously ;-) ) but the menu is
positioned correctly and, of course, The Window can't be minimized.
configurer.setShellStyle( RWT.NONE | RWT.TITLE);
Bye.
Roberto.
Rüdiger Herrmann wrote:
> when using the workbench you can run it maximized without a title bar by
> implementing preWindowOpen of WorkbenchWindowAdvisor like this
>
> public void preWindowOpen() {
> IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
> configurer.setShellStyle( RWT.NONE );
> Rectangle bounds = Display.getCurrent().getBounds();
> configurer.setInitialSize( new Point( bounds.width,
> bounds.height ) );
> configurer.setShowCoolBar( true );
> configurer.setTitle( "Workbench Demo" );
> }
>
> There is still a small problem with the positioning of the menu.
>
> Cheers,
> Rüdiger
>
>
>
> Markus Krüger wrote:
>> Hello,
>>
>> how do I restore a minimized application or shell? The window just
>> disappears with no option to restore it.
>>
>> Best regards,
>>
>> Markus
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03836 seconds