Hamming window is very similar to the Hanning window but has a higher side lobe and a lower fall off rate and is best used when the dynamic range is about 50 dB.
Hanning window is most commonly used for unkown signal, provide good compromises between amplitude and frequency accuracy.
there is a good Simcenter TEST Knowledge base article on windows: https://community.plm.automation.siemens.com/t5/Testing-Knowledge-Base/Window-Types-Hanning-Flattop-...
The Hamming window is not specifically addressed there but if you look at the Spectral Processing theory document installed with Test.Lab (go to Testlab, Documentation, Theory Documents the windows are defined there and there are some use cases. In rev 17 and 18 you can use the Search Documentation tool to find this pretty quickly.
Section 220.127.116.11 Hanning
This window is most commonly applied for general purpose analysis of random signals with discrete frequency components. It has the effect of applying a round topped filter. The ability to distinguish between adjacent frequencies of similar amplitude is low so it is not suitable for accurate measurements of small signals.
Section 18.104.22.168 Hamming
This window has a higher side lobe than the Hanning but a lower fall off rate and is best used when the dynamic range is about 50dB.