You should have your window frames cleaned as often as you have your windows washed because your window frames are just as exposed to the elements as your windows are. A few times a year should be enough in most circumstances.
Dirt can happen at anytime, whether it is the dry dust of summer, or the wet grime of the winter. If your windows are dirty, they need a thorough window washing.