window refresh

Hi,

If a post a pop-up menu on my drawing window, it gets
refreshed once the menu is unmanaged. How can I refresh only the area covered by the menu or do something which will make the menu posting fast?

Now if I keep posting the menus it takes a lot of time because of the window refresh.

TIA

regards
satya