I have to call GetWindowLongPtr() with GWLP_USERDATA to redraw my tabcontrols.

"Retrieves the user data associated with the window. This data is intended for use by the application that created the window. Its value is initially zero."

What exactly is "user data associated with the window" ?