Canvas bounds and Figure bounds [message #157648] |
Thu, 11 November 2004 11:50 |
Eclipse User |
|
|
|
Originally posted by: daniel.yahoo.com
Hi
In my application I create two controls: a canvas(A) and a
FigureCanvas(B). In A I created a lightweightsystem with a figure(C). B is
below A and B can scroll. when B scrolls the C figure and A control will
set their bounds to display some information about A. But I met some
problems:
The biggest bounds of A is 32767. So the C figure bounds is 32767 and
when the value I display is bigger than some value. The A control and c
Figure is not painted normally.
I don't know if the SWT control's bounds is 32767.
Can you give me some suggestions?
3x
Daniel
|
|
|
Re: Canvas bounds and Figure bounds [message #157696 is a reply to message #157648] |
Thu, 11 November 2004 15:21 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
I think that windows combines width and height into a single 32-bit value,
so 16-bits for each == 32K
"daniel" <daniel@yahoo.com> wrote in message
news:cmvjlf$l3q$1@eclipse.org...
> Hi
> In my application I create two controls: a canvas(A) and a
> FigureCanvas(B). In A I created a lightweightsystem with a figure(C). B is
> below A and B can scroll. when B scrolls the C figure and A control will
> set their bounds to display some information about A. But I met some
> problems:
> The biggest bounds of A is 32767. So the C figure bounds is 32767 and
> when the value I display is bigger than some value. The A control and c
> Figure is not painted normally.
> I don't know if the SWT control's bounds is 32767.
> Can you give me some suggestions?
> 3x
> Daniel
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05956 seconds