A little update.
GetMem : your solution don't work well if you have other aligned components, such as panels.
So I contiuned on my first solution and used yours partially. I simply fill the areas that is not painted in the
WM_ERASEBKGND message. It's not perfect, but it will work for now.
I attached the new version.