Skip to main content

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


Hi Martin,

I believe this bug is already fixed (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=224941) but it is possible that you are seeing something else.  If not already fixed, please enter a new bug report with a snippet that shows the problem.

Steve


Martin Spurek <Martin.Spurek@xxxxxxxxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

12/18/2008 04:23 AM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[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_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top