Is it possible to have a ScrolledComposite with width>32767 on Windows 2000 [message #460460] |
Sun, 28 August 2005 14:06 |
Eclipse User |
|
|
|
Originally posted by: bodo.weiss.NOSPAM.acm.org
I created a ScolledComposite with
ScrolledComposite scrolledComposite = new ScrolledComposite(parent,
SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
scrolledComposite.setContent(getOtherComposite());
scrolledComposite.setExpandVertical(true);
scrolledComposite.setExpandHorizontal(true);
scrolledComposite.setAlwaysShowScrollBars(true);
and then I set its size
scrolledComposite.setSize(50000,500);
Debuging SWT source code I can see, that the native method
org.eclipse.swt.internal.win32.OS.DefWindowProcW(int,int,int ,int)
that is indirectly called by
scrolledComposite.setSize(50000,500);
lowers the first parameter to 32767. Everything right of pixel 32767
isn't shown. Is this a platform limit of W2K, a bug or is it possible to
go behind 32767?
|
|
|
|
Powered by
FUDForum. Page generated in 0.02525 seconds