[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: SWT ProgressBar issue when upgrading from RAD 6 to RAD7
|
Hi Nimish,
I think what you're seeing is the XP theme being automatically used in RAD7
instead of the old Windows theme that may have been used in RAD6 (depending
on the presence/absense of a java.exe.manifest file). As of swt 3.2 the XP
theme is automatically used regardless of whether this file was present or
not. You can try defining system property
org.eclipse.swt.internal.win32.OS.NO_MANIFEST at startup time to force the
old Windows theme to be used. In eclipse this would be done by launching
with
"eclipse.exe -vmargs -Dorg.eclipse.swt.internal.win32.OS.NO_MANIFEST=1",
presumably the RAD launcher has a similar syntax.
If this proves to be the cause then I would suggest just leaving it as it
is, because apps running on XP should generally have the XP theme. If it
makes your ProgressBar look very out-of-place then maybe it's the wrong
control to be using in your context (?).
Grant
"Nimish" <nimish50@xxxxxxxxxxx> wrote in message
news:61555a4473361313b5377e917a688c8c$1@xxxxxxxxxxxxxxxxxx
> I recently moved one of my SWT projects from RAD6 to RAD7, and the
> majority of the application seems to work correcly except for the progress
> bar.
>
> I am using the WIN32 libraries for SWT.
> RAD6: org.eclipse.swt.win32_3.0.2.2
> RAD7: org.eclipse.swt.win32.win32.x86_3.2.3.v3236c.jar
>
> In RAD6, the progress bar had the standard windows grey default
> background, and the color of the bar was blue. I had created the progress
> bar with an option of SWT.SMOOTH, so it didn't have any breaks in it. In
> RAD6, I was using
>
> However, after updating to RAD7, the progress bar has a black background,
> and regardless of the settings I choose, it always displays a green bar
> that is not smooth.
>
> How can I make the shell in RAD7 behave the same as it did in RAD 6?
>
> Any help would be appreciated.
>
> Thanks,
>
> Nimish
>