Replacing a non-UCLASS?

I know you can replace UCLASS’s as described here:

But can you replace other classes? I want to extend the Window functionality so I thought i’d inherit it in my plugin and try to replace the appropriate class in the ini, but it doesn’t seem to work. Do I have to change the actual source code for things like this?