Fixed issue #1633: Pull windows layout problem

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Rearrange resource control style flags

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>