change window style in different display model