Vent Window Operation

I am to young to really remember Vent Windows but I do not think mine are working correctly. When I open the vent window it does not lock in place it just free swings back and forth. Can someone give me some insight into the proper operation and any suggestions for fixing them?