Use SetWindowLongPtr instead of SetWindowLong