Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] shell with SWT.TOOL sends on dispose the parent app to back

Hello

I was trying to search over the mailing lists and  look into the bits of source codes, however  I am not sure what I am doing wrong.

I would like to get small dialog window with the fancy shadow ‘round  it (at least at win32 platform it appears so). I do it this way:

shell = new Shell ( parent.getShell() , (SWT.NO_TRIM | SWT.APPLICATION_MODAL | SWT.TOOL) );

However if this shell is disposed the parent application is moved to background (behind all the applications running in the system).

I made several combinations of the styles and (SWT.SYTEM_MODAL, SWT.ON_TOP), however this strange behavior appears only with the shadow = with the style SWT.TOOL.

Thanks for any advice.

Martin


Back to the top