Device for closing a construction opening, produced by means of profile elements, comprising: - a frame - a casement opened by application of pressure, or casement by lifting, connected to the frame by a pivoting connection, - a system for latching and unlatching of the casement on the frame, comprising at least one latch means and at least one bolt means suitable for interacting with the latch means, such as to latch the casement to the frame, one of the said latch means or bolt means being associated with the casement and the other being associated with the frame, - means for controlling the latching and unlatching system, comprising: - a rotary electrical actuator arranged in the interior of a profile element of the casement and connected to it, - a connection of the screw-and-nut type, arranged in the interior of a profile element of the casement, such as to transform the rotary movement of the electrical actuator into a translatory movement of one of the said latch means or bolt means of the latching and unlatching system which is associated with the casement, - means for controlling the electrical actuator, characterised in that it further comprises: - a system for immobilising the casement in relation to the frame in a pre-latching position, the casement being located flush against the frame and not latched, actuated in such a way that the said latch means and the said bolt means are configured such as to interact with one another under the effect of the rotary electrical actuator, starting from this pre-latching position, and - a system for moving the casement, causing it to move from its pre-latching position to a chink opening position, releasing the casement from the said immobilisation system in relation to the frame in the said pre-latching position, which makes use of the displacement of the latch means or the said bolt means at the unlatching of the casement. - a frame - a casement opened by application of pressure, or casement by lifting, connected to the frame by a pivoting connection, - a system for latching and unlatching of the casement on the frame, comprising at least one latch means and at least one bolt means suitable for interacting with the latch means, such as to latch the casement to the frame, one of the said latch means or bolt means being associated with the casement and the other being associated with the frame, - means for controlling the latching and unlatching system, comprising: - a rotary electrical actuator arranged in the interior of a profile element of the casement and connected to it, - a connection of the screw-and-nut type, arranged in the interior of a profile element of the casement, such as to transform the rotary movement of the electrical actuator into a translatory movement of one of the said latch means or bolt means of the latching and unlatching system which is associated with the casement, - means for controlling the electrical actuator, - a system for immobilising the casement in relation to the frame in a pre-latching position, the casement being located flush against the frame and not latched, actuated in such a way that the said latch means and the said bolt means are configured such as to interact with one another under the effect of the rotary electrical actuator, starting from this pre-latching position, and - a system for moving the casement, causing it to move from its pre-latching position to a chink opening position, releasing the casement from the said immobilisation system in relation to the frame in the said pre-latching position, which makes use of the displacement of the latch means or the said bolt means at the unlatching of the casement.