Here's a simple GDI example that clears a window, and draws a line and text, with no flickering when the window is resized.
It does flicker on my machine... Not as bad as many other GDI apps, but it's definitely visible in the line and very noticable in the dropdown box when I resize it.
(XP Pro SP2, X1650XT)