Here is a picture of a rear window section that came off a car that someone filled the roof on. They welded the panel over the top of the stock roof.
I don't have this rear window section any more because I sold it, but if you look closely at the top left part of the image, you can see the holes and the flange. This will be on all 4 sides of the hole. The front being on the visor.