Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Heidrich2006-08-15 16:13:06 +0000
committerFelipe Heidrich2006-08-15 16:13:06 +0000
commit024d0120d0f8131e2e7626829f6723fee0ad2af0 (patch)
tree74ef8c7c34349518e237be98907dd40ef4db4910
parentcd00ee85ed437899e6853e97e986799e30350280 (diff)
downloadeclipse.platform.swt-024d0120d0f8131e2e7626829f6723fee0ad2af0.tar.gz
eclipse.platform.swt-024d0120d0f8131e2e7626829f6723fee0ad2af0.tar.xz
eclipse.platform.swt-024d0120d0f8131e2e7626829f6723fee0ad2af0.zip
backport Bug 146402
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
index 5d38be21fe..651d38f24c 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
@@ -326,6 +326,19 @@ int callWindowProc (int hwnd, int msg, int wParam, int lParam, boolean forceSele
static int checkStyle (int style) {
/*
+ * But in Windows. For some reason, when a table
+ * has the LVS_OWNERDATA style and does not have
+ * the LVS_EX_FULLROWSELECT extended style, Windows
+ * clips the selected item and shows '...'. The
+ * fix is to force LVS_EX_FULLROWSELECT.
+ *
+ * NOTE: This only happens on Vista.
+ */
+ //TEMPORARY CODE
+ if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
+ if ((style & SWT.VIRTUAL) != 0) style |= SWT.FULL_SELECTION;
+ }
+ /*
* Feature in Windows. It is not possible to create
* a table that does not have scroll bars. Therefore,
* no matter what style bits are specified, set the

Back to the top