Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] how to repaint a container in SWT


You should use layout() to cause the shell to size and position the children.



"Paul, Sudipta (Cognizant)" <Sudipta.Paul@xxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

11/02/2005 01:05 AM

Please respond to
"Eclipse Platform SWT component developers list."

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] how to repaint a container in SWT






Actually I have developed a small application using SWT …. Where I have a Shell which in turn has a sashform with two Composite (say left & right) … in left Composite I have added a tree dynamically …. But the problem is that …. By the first appearance when the tree is added … it is not seen … when I resize the shell then only it shows the tree …. My question is why should I resize the shell to see the new adding ? …. I have used the redraw() function but it does not work … please help me …
 
Thanks Sudipta
 

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.

Visit us at http://www.cognizant.com

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top