Why shouldn't I inherit from SWindow?

I’ve seen some advice to avoid inheriting from SWindow and I did have issues when trying to set up a custom class that does.

I’m happy with the conclusion to avoid doing so and have since developed another solution. I would like to know why this should be avoided?

Would anyone be able to provide more insights into why this is best practice? TIA