The mechanism brakes the movement of the sash, in the final stage of closing/opening, and then gently guides it into the frame, thus preventing the risk of slamming and at the same time protecting the windows from the consequences of improper operation.