[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: How to add a Minimize button for a MessageDialog

You could use the style SWT.DIALOG_TRIM along with the SWT.MIN style.

ex.:  new Shell ( myParentShell, SWT.DIALOG_TRIM | SWT.MIN ) ;


Thanks
Dave


"Syed Rizvi" <sma_r@xxxxxxxxxxx> wrote in message
news:b7osgf$t9d$1@xxxxxxxxxxxxxxxx
> Hi all,
>
> I like to know how can I add a minimize button to a MesasgeDialog.I have
> searched the archives and found out that createShell has the method
> setShellStyle but I am not sure if that is what I should use for this.
> I would appreciate any help.
>
> Syed
>
>
>
>