Fittings for doors and windows of buildings