Window-type lasers, i.e. with a region of non-absorbing material between the active region and the reflecting surface {with window regions comprising semiconductor material with a wider bandgap than the active layer}