ListView disappearing on resize!?

This is a discussion on ListView disappearing on resize!? within the Windows Programming forums, part of the Platform Specific Boards category; SetWindowPos and MoveWindow make it disappear. What do I have to do to make it redraw/paint/whatever?
Code:
//WM_SIZE in a ...

Well, in the MoveWindow, you have the parameters mixed up. As it is, you're resizing the window to 0, 0.

should be Handle, posx, posy, sizex, sizey, true); Or something to that effect -

*Edit: actually, I think you're not moving the window and I haven't a clue as to what the size of the window is. Now I'm confused! In any event, I'm almost positive the parameters I mentioned as correctly sequenced -

Doh. I should've tried with actual values. My calculations are off somehow. It works if I substitute other values for the 2 vars in the MoveWindow. Now I gotta figure out where I'm screwing up the values.