Microsoft's docs say that WS_CHILD and WS_POPUP is an illegal combination, but they exist nonetheless. The resulting window is as if WS_CHILD wasn't set.