i have the same problem: when i want to resize my form with my custom drawn panel it does not refresh the border at all, even when i use me.clientrectangle instead of dim rct as new...