Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] HIDE BUTTON CLOSE (X) WM2003 & WM5


Try this line of code if you want a title bar:
        new Shell(display, SWT.TITLE);

and try this line of code if you want no decorations at all:
        new Shell(display, SWT.NO_TRIM);

You can try this line, but some OS's don't let you have minimize and/or maximize buttons without a close button:
        new Shell(display, SWT.TITLE | SWT.MIN | SWT.MAX);

I'm not sure what the Shell decorations policy is on WM2003 and WM5.

Hope this helps,
Carolyn





From: Santiago.Calderon.Perez@xxxxxxxxxx
To: platform-swt-dev@xxxxxxxxxxx
Date: 04/22/2008 12:41 PM
Subject: [platform-swt-dev] HIDE BUTTON CLOSE (X) WM2003 & WM5






Hi Friends!

I need to hide the button (x) in shells swt on my PDA.

I use a Symbol devices with WM2003 and WM5.

Thanks in advance.

Regards.


Santiago Calderón Pérez.

everis Spain.




_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top