summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java
diff options
context:
space:
mode:
authorSteve Northover <steve>2004-12-08 18:57:07 +0000
committerSteve Northover <steve>2004-12-08 18:57:07 +0000
commita281499d8873bd9607aed91d940442fee735d769 (patch)
treee1b67a0810e8f65f9498607309d1d5181f63db5e /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java
parent12ece00abae016986e462d684584d1e2d896e24f (diff)
downloadeclipse.platform.swt-a281499d8873bd9607aed91d940442fee735d769.tar.gz
eclipse.platform.swt-a281499d8873bd9607aed91d940442fee735d769.tar.xz
eclipse.platform.swt-a281499d8873bd9607aed91d940442fee735d769.zip
topHandle changes
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java
index 49790ed4dc..366c2530b0 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java
@@ -203,7 +203,7 @@ Rectangle getBounds () {
// checkWidget ();
parent.forceResize ();
RECT rect = new RECT ();
- OS.GetClientRect (parent.handle, rect);
+ OS.GetClientRect (parent.scrolledHandle (), rect);
int x = 0, y = 0, width, height;
if ((style & SWT.HORIZONTAL) != 0) {
y = rect.bottom - rect.top;
@@ -366,7 +366,7 @@ public Point getSize () {
checkWidget();
parent.forceResize ();
RECT rect = new RECT ();
- OS.GetClientRect (parent.handle, rect);
+ OS.GetClientRect (parent.scrolledHandle (), rect);
int width, height;
if ((style & SWT.HORIZONTAL) != 0) {
width = rect.right - rect.left;
@@ -426,7 +426,7 @@ public boolean getVisible () {
}
int hwndScrollBar () {
- return parent.handle;
+ return parent.scrolledHandle ();
}
/**