Windex contains alcohol, which can damage the finish of your flute and may cause the pads to swell and become unplayable.
It's best to use a cloth dampened with water or a mild dishwashing liquid to clean your flute.