summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorSteve Northover <steve>2004-03-22 22:50:26 +0000
committerSteve Northover <steve>2004-03-22 22:50:26 +0000
commite0dc8253e1a2f538ba12abc80f47deb2a68e0f0c (patch)
tree7f94903f1e21ebbb7a8f1295b2a01e49c6a89942 /bundles
parent96bc7115016ceace051f1b14f360217e460b0799 (diff)
downloadeclipse.platform.swt-e0dc8253e1a2f538ba12abc80f47deb2a68e0f0c.tar.gz
eclipse.platform.swt-e0dc8253e1a2f538ba12abc80f47deb2a68e0f0c.tar.xz
eclipse.platform.swt-e0dc8253e1a2f538ba12abc80f47deb2a68e0f0c.zip
*** empty log message ***
Diffstat (limited to 'bundles')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java3
1 files changed, 2 insertions, 1 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 8a712c4b36..31a6046d26 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
@@ -2194,7 +2194,8 @@ public void setItemCount (int count) {
setRedraw (false);
removeAll ();
if (isVirtual) {
- OS.SendMessage (handle, OS.LVM_SETITEMCOUNT, count, 0);
+ int flags = OS.LVSICF_NOINVALIDATEALL | OS.LVSICF_NOSCROLL;
+ OS.SendMessage (handle, OS.LVM_SETITEMCOUNT, count, flags);
count = OS.SendMessage (handle, OS.LVM_GETITEMCOUNT, 0, 0);
/*
* Bug in Windows. When LVM_SETITEMCOUNT is sent to a table