Resize Plugin UI

I have a plugin that will expand vertically, toggle between two heights.   I can make the height change on button click it goes large on one button but won't go back small on the other which may be related to my question.

When it goes large the background image doesn't redraw, it just shows an empty background.  I can't figure out how to make the background image redraw and I assumed it would redraw or refresh by istself when the forum resizes.

Any tips?  Thanks.

You might want to ask about these things in the General Discussion and Audio Plugins subforums instead, since these are not really Windows specific issues. Anyway, stuff generally should already redraw itself when a resize happens. It's hard to say without seeing some code why things don't already redraw for you when resized.