Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2006-12-06 20:43:05 +0000
committerSteve Northover2006-12-06 20:43:05 +0000
commitef2fa373aae222527f98d9dbad620cb889784738 (patch)
tree1bb0503f36d40a9d491489c9c311ab1556c35cae /bundles
parentc72fdbd7fafc18281b7b514fcf1db452a8bdfc80 (diff)
downloadeclipse.platform.swt-ef2fa373aae222527f98d9dbad620cb889784738.tar.gz
eclipse.platform.swt-ef2fa373aae222527f98d9dbad620cb889784738.tar.xz
eclipse.platform.swt-ef2fa373aae222527f98d9dbad620cb889784738.zip
implement rich tool tips
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
index 9f369d68cd..02b6dd2bbf 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
@@ -1655,7 +1655,7 @@ void createHandle () {
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
explorerTheme = true;
OS.SetWindowTheme (handle, Display.EXPLORER, null);
- int bits = OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS;
+ int bits = OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS | OS.TVS_EX_RICHTOOLTIP;
if ((style & SWT.FULL_SELECTION) == 0) bits |= OS.TVS_EX_AUTOHSCROLL;
OS.SendMessage (handle, OS.TVM_SETEXTENDEDSTYLE, 0, bits);
}
@@ -3999,15 +3999,16 @@ void setExplorerTheme (boolean explorerTheme) {
OS.SetWindowTheme (handle, Display.EXPLORER, null);
bits1 |= OS.TVS_TRACKSELECT;
bits1 &= ~OS.TVS_HASLINES;
- bits2 |= OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS;
+ bits2 |= OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS | OS.TVS_EX_RICHTOOLTIP;
if ((style & SWT.FULL_SELECTION) == 0) {
bits2 |= OS.TVS_EX_AUTOHSCROLL;
}
} else {
OS.SetWindowTheme (handle, null, null);
bits1 &= ~OS.TVS_TRACKSELECT;
- bits2 &= ~(OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS | OS.TVS_EX_AUTOHSCROLL);
+ bits2 &= ~(OS.TVS_EX_DOUBLEBUFFER | OS.TVS_EX_FADEINOUTEXPANDOS | OS.TVS_EX_RICHTOOLTIP);
if ((style & SWT.FULL_SELECTION) == 0) {
+ bits2 &= ~OS.TVS_EX_AUTOHSCROLL;
bits1 |= OS.TVS_HASLINES;
}
}

Back to the top