Maximize window event [message #178387] |
Tue, 19 April 2005 23:43  |
Eclipse User |
|
|
|
Hi all!
My LayoutManager layout figures depends on window client area. And when I
resize the window, all figures are repaint correctly. But when I
maximize/minimize window with max/min window button, layout() method,
which repaint figures, does not call. So, how can I handle maximize event?
|
|
|
Re: Maximize window event [message #178480 is a reply to message #178387] |
Wed, 20 April 2005 11:53  |
Eclipse User |
|
|
|
Maximizing also fires resize and is handled the same way as manual resize.
The figures will be revalidated (which may or may not cause a repaint).
Look at LightweightSystem#controlResized().
"Dashaa" <dashaa@inbox.ru> wrote in message
news:4823dd64b69c1c8392f35ff0e04c7bd5$1@www.eclipse.org...
> Hi all!
> My LayoutManager layout figures depends on window client area. And when I
> resize the window, all figures are repaint correctly. But when I
> maximize/minimize window with max/min window button, layout() method,
> which repaint figures, does not call. So, how can I handle maximize event?
>
|
|
|
Powered by
FUDForum. Page generated in 0.07049 seconds