I have a re sizable panel which i am adding over 100 buttons to. to do it i have a timer which detects any change in the height or width. then clears the panel and re draws all 100 buttons on. however i am encountering issues with flashing (where the buttons are gone for a split second before being repainted)

and also speed issues. it seems to be slowing down the users ability to re size the window.

i was thinking by adding the buttons through its own thread it might combat the main (speed) issue.

any suggestions?
sorry if my problem is not clear!
thanks Tim