I am using cListCtrl in my application. While switching from Large Icon to small icon and vice versa using SetWindowLong(), I am facing this problem:

My list control has 7 entries. When I start the application, the gap between icons is normal. However, when I switch to large icon and switch back to small icons, the gap between icons gets reduced. When I redraw the screen, the gap becomes normal.