Abstract: A controller is provided for vehicle sunroofs and the like, of the type having a retractable closure. The controller comprises two tracks mounted on opposite sides of a main frame. Guides project laterally outwardly from the sides of the closure, and are received in mating channels in the tracks to slidingly support the closure for fore-to-aft translation between fully open and fully closed positions. A seal is positioned between the closure and the frame to form a weathertight seal therebetween. A pair of cam mechanisms are positioned in mating grooves in the tracks, and are shaped so that rotation of the cam mechanisms raises the closure into a fully closed and locked position. The controller also includes a first lock to releasably retain the closure in one of a plurality of different partially open positions, and a second lock to releasably retain the closure in the fully open position.